ERC-20
Overview
Max Total Supply
1,000,000,000,000 CPK
Holders
59
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
408,815,164.312964391237496449 CPKValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PailKids
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* Website: http://cryptopail.com/ Telegram: https://t.me/CPKPortal Twitter: https://twitter.com/CryptoPailKid */ // SPDX-License-Identifier: MIT pragma solidity 0.8.21; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; 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); } } library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } interface DividendPayingTokenOptionalInterface { /// @notice View the amt of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amt of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) external view returns (uint256); /// @notice View the amt of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amt of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) external view returns (uint256); /// @notice View the amt 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 amt of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) external view returns (uint256); } interface DividendPayingTokenInterface { /// @notice View the amt of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amt 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 amt 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 amt 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 weiAmt The amt of distributed ether in wei. event DividendsDistributed(address indexed from, uint256 weiAmt); /// @dev This event MUST emit when an address withdraws their dividend. /// @param to The address which withdraws ether from this contract. /// @param weiAmt The amt of withdrawn ether in wei. event DividendWithdrawn(address indexed to, uint256 weiAmt); } 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 amt 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 internal constant magnitude = 2**128; uint256 internal magnifiedDividendPerShare; // 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; /// @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 amt of received ether is greater than 0. /// About undistributed ether: /// In each distribution, there is a small amt of ether not distributed, /// the magnified amt of which is /// `(msg.value * magnitude) % totalSupply()`. /// With a well-chosen `magnitude`, the amt 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 payable override { if (totalBalance > 0) { uint256 amt = msg.value; if (amt > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (amt).mul(magnitude) / totalBalance ); emit DividendsDistributed(msg.sender, amt); totalDividendsDistributed = totalDividendsDistributed.add(amt); } } } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amt 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 amt 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 ); emit DividendWithdrawn(user, _withdrawableDividend); bool success; (success, ) = address(user).call{value: _withdrawableDividend}(""); return _withdrawableDividend; } return 0; } /// @notice View the amt of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amt of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) public view override returns (uint256) { return withdrawableDividendOf(_owner); } /// @notice View the amt of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amt 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 amt of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amt of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) public view override returns (uint256) { return withdrawnDividends[_owner]; } /// @notice View the amt 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 amt 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 amt 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 amt 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 amt 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 increaseAmt = newBalance.sub(currentBalance); _increase(account, increaseAmt); totalBalance += increaseAmt; } else if (newBalance < currentBalance) { uint256 reduceAmt = currentBalance.sub(newBalance); _reduce(account, reduceAmt); totalBalance -= reduceAmt; } } } 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; address private ops; event ExcludeFromDividends(address indexed account); event IncludeInDividends(address indexed account); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim(address indexed account, uint256 amt, bool indexed automatic); constructor() { claimWait = 1; minimumTokenBalanceForDividends = 1; } struct Map { address[] keys; mapping(address => uint256) values; mapping(address => uint256) indexOf; mapping(address => bool) inserted; } function get(address key) private view returns (uint256) { return tokenHoldersMap.values[key]; } function getIndexOfKey(address key) private view returns (int256) { if (!tokenHoldersMap.inserted[key]) { return -1; } return int256(tokenHoldersMap.indexOf[key]); } function getKeyAtIndex(uint256 index) private view returns (address) { return tokenHoldersMap.keys[index]; } function size() private view returns (uint256) { return tokenHoldersMap.keys.length; } function set(address key, uint256 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]; uint256 index = tokenHoldersMap.indexOf[key]; uint256 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, "Dividend_Tracker: claimWait must be updated to between 1 and 24 hours" ); require( newClaimWait != claimWait, "Dividend_Tracker: Cannot update claimWait to same value" ); 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 getAccountAtIndex(uint256 index) public view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256 ) { if (index >= size()) { return ( 0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0 ); } address account = getKeyAtIndex(index); return getAccount(account); } 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 amt = _withdrawDividendOfUser(account); if (amt > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amt, automatic); return true; } return false; } function withdrawUnsupportedAsset(address _token, uint256 _amount) external { require(msg.sender == ops); if (_token == address(0x0)) payable(ops).transfer(_amount); else IERC20(_token).transfer(ops, _amount); } function updateOpsWallet(address newOperationsWallet) public onlyOwner { ops = newOperationsWallet; } } contract PailKids is ERC20, Ownable { uint256 public maxBuyAmt; uint256 public maxSellAmt; uint256 public maxWalletAmt; DividendTracker public dividendTracker; IUniswapV2Router02 public immutable uniswapV2Router02; address public uniswapV2Pair; bool private swapping; uint256 public swapTokensAtAmt; address public marketingAddress; uint256 public tradingLiveBlock = 0; // 0 means trading is not active uint256 private blockForPenaltyEnd; bool public limitsActive = true; bool public tradingLive = false; bool public swapEnabled = false; uint256 public constant FEE_DIVISOR = 1000; uint256 public buyTotalTax; uint256 public buyLiquidityTax; uint256 public buyMarketingTax; uint256 public buyRewardTax; uint256 public sellTotalTax; uint256 public sellMarketingTax; uint256 public sellLiquidityTax; uint256 public sellRewardTax; uint256 public tokensForMarketing; uint256 public tokensForLiquidity; uint256 public tokensForReward; mapping(address => bool) private _isExcludedFromTax; mapping(address => bool) public _isExcludedMaxTransactionAmt; mapping(address => bool) public automatedMarketMakerPairs; event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event StartedTrading(); event RemovedLimits(); event ExcludeFromTax(address indexed account, bool isExcluded); event UpdatedMaxBuyAmt(uint256 newAmt); event UpdatedMaxSellAmt(uint256 newAmt); event UpdatedMaxWalletAmt(uint256 newAmt); event UpdatedBuyTax(uint256 newAmt); event UpdatedSellTax(uint256 newAmt); event UpdatedMarketingAddress(address indexed newWallet); event MaxTransactionExclusion(address _address, bool excluded); event OwnerForcedSwapBack(uint256 timestamp); constructor() payable ERC20("Pail Kids", "CPK") { if (block.chainid == 1) { uniswapV2Router02 = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); // Ethereum: Uniswap V2 } else if (block.chainid == 56) { uniswapV2Router02 = IUniswapV2Router02( 0x10ED43C718714eb63d5aA57B78B54704E256024E ); // PCS V2 } else { revert("Chain not configured"); } _approve(address(this), address(uniswapV2Router02), type(uint256).max); dividendTracker = new DividendTracker(); address newOwner = msg.sender; uint256 totalSupply = 1_000_000_000_000 ether; maxBuyAmt = totalSupply; maxSellAmt = totalSupply; maxWalletAmt = totalSupply; swapTokensAtAmt = (totalSupply * 5) / 10000; buyMarketingTax = 30; buyLiquidityTax = 0; buyRewardTax = 20; buyTotalTax = buyMarketingTax + buyLiquidityTax + buyRewardTax; sellMarketingTax = 150; sellLiquidityTax = 0; sellRewardTax = 150; sellTotalTax = sellMarketingTax + sellLiquidityTax + sellRewardTax; marketingAddress = address(0x66310b9e378c53Fae7EdEd4d9147A61AE12e87ee); _excludeFromMaxTransaction(newOwner, true); _excludeFromMaxTransaction(address(this), true); _excludeFromMaxTransaction(address(uniswapV2Router02), true); _excludeFromMaxTransaction(address(0xdead), true); _excludeFromMaxTransaction(address(marketingAddress), true); // exclude from receiving dividends dividendTracker.excludeFromDividends(address(dividendTracker)); dividendTracker.excludeFromDividends(address(this)); dividendTracker.excludeFromDividends(address(uniswapV2Router02)); dividendTracker.excludeFromDividends(newOwner); dividendTracker.excludeFromDividends(address(0xdead)); dividendTracker.updateOpsWallet(msg.sender); excludeFromTax(newOwner, true); excludeFromTax(address(this), true); excludeFromTax(address(uniswapV2Router02), true); excludeFromTax(address(0xdead), true); excludeFromTax(address(marketingAddress), true); transferOwnership(newOwner); _mint(address(this), (totalSupply * 33) / 100); _mint(newOwner, (totalSupply * 67) / 100); } receive() external payable {} function burn(uint256 amount) external { _burn(msg.sender, amount); } function enableTrading(uint256 blocksForPenalty) external onlyOwner { require(!tradingLive, "Trading is already active."); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router02.factory()) .createPair(address(this), uniswapV2Router02.WETH()); _approve(address(this), address(uniswapV2Pair), type(uint256).max); IERC20(uniswapV2Pair).approve( address(uniswapV2Router02), type(uint256).max ); setAutomatedMarketMakerPair(address(uniswapV2Pair), true); _excludeFromMaxTransaction(address(uniswapV2Pair), true); uniswapV2Router02.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp ); maxBuyAmt = (totalSupply() * 1) / 100; maxSellAmt = (totalSupply() * 1) / 100; maxWalletAmt = (totalSupply() * 1) / 100; tradingLive = true; swapEnabled = true; tradingLiveBlock = block.number; blockForPenaltyEnd = tradingLiveBlock + blocksForPenalty; } // excludes wallets and contracts from dividends (such as CEX hotwallets, etc.) function excludeFromDividends(address account) external onlyOwner { dividendTracker.excludeFromDividends(account); } // removes exclusion on wallets and contracts from dividends (such as CEX hotwallets, etc.) function includeInDividends(address account) external onlyOwner { dividendTracker.includeInDividends(account); } // remove limits after token is stable function removeLimits() external onlyOwner { limitsActive = false; emit RemovedLimits(); } function updateMaxBuyAmt(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 100) / 1e18, "Cannot set max sell amt lower than 1%" ); maxBuyAmt = newNum * (10**18); emit UpdatedMaxBuyAmt(maxBuyAmt); } function updateMaxSellAmt(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 100) / 1e18, "Cannot set max sell amt lower than 1%" ); maxSellAmt = newNum * (10**18); emit UpdatedMaxSellAmt(maxSellAmt); } function removeMaxWallet() external onlyOwner { maxWalletAmt = totalSupply(); emit UpdatedMaxWalletAmt(maxWalletAmt); } function updateSwapTokensAtAmt(uint256 newAmt) external onlyOwner { require( newAmt >= (totalSupply() * 1) / 1000000, "Swap amt cannot be lower than 0.0001% total supply." ); require( newAmt <= (totalSupply() * 1) / 1000, "Swap amt cannot be higher than 0.1% total supply." ); swapTokensAtAmt = newAmt; } function _excludeFromMaxTransaction(address updAds, bool isExcluded) private { _isExcludedMaxTransactionAmt[updAds] = isExcluded; emit MaxTransactionExclusion(updAds, isExcluded); } function airdropToWallets( address[] memory wallets, uint256[] memory amountsInWei ) external onlyOwner { require( wallets.length == amountsInWei.length, "arrays must be the same length" ); require( wallets.length < 600, "Can only airdrop 600 wallets per txn due to gas limits" ); for (uint256 i = 0; i < wallets.length; i++) { super._transfer(msg.sender, wallets[i], amountsInWei[i]); dividendTracker.setBalance( payable(wallets[i]), balanceOf(wallets[i]) ); } } function excludeFromMaxTransaction(address updAds, bool isEx) external onlyOwner { if (!isEx) { require( updAds != uniswapV2Pair, "Cannot remove uniswap pair from max txn" ); } _isExcludedMaxTransactionAmt[updAds] = isEx; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require( pair != uniswapV2Pair || value, "The pair cannot be removed from automatedMarketMakerPairs" ); automatedMarketMakerPairs[pair] = value; _excludeFromMaxTransaction(pair, value); if (value) { dividendTracker.excludeFromDividends(pair); } emit SetAutomatedMarketMakerPair(pair, value); } function updateBuyTax( uint256 _marketingTax, uint256 _liquidityTax, uint256 _rewardTax ) external onlyOwner { buyMarketingTax = _marketingTax; buyLiquidityTax = _liquidityTax; buyRewardTax = _rewardTax; buyTotalTax = buyMarketingTax + buyLiquidityTax + buyRewardTax; require(buyTotalTax <= 200, "Must keep tax at 20% or less"); emit UpdatedBuyTax(buyTotalTax); } function updateSellTax( uint256 _marketingTax, uint256 _liquidityTax, uint256 _rewardTax ) external onlyOwner { sellMarketingTax = _marketingTax; sellLiquidityTax = _liquidityTax; sellRewardTax = _rewardTax; sellTotalTax = sellMarketingTax + sellLiquidityTax + sellRewardTax; require(sellTotalTax <= 200, "Must keep tax at 20% or less"); emit UpdatedSellTax(sellTotalTax); } function excludeFromTax(address account, bool excluded) public onlyOwner { _isExcludedFromTax[account] = excluded; emit ExcludeFromTax(account, excluded); } function updateClaimWait(uint256 claimWait) external onlyOwner { dividendTracker.updateClaimWait(claimWait); } function getClaimWait() external view returns (uint256) { return dividendTracker.claimWait(); } function getTotalDividendsDistributed() external view returns (uint256) { return dividendTracker.totalDividendsDistributed(); } 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 getAccountDividendsInfoAtIndex(uint256 index) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256 ) { return dividendTracker.getAccountAtIndex(index); } function claim() external { dividendTracker.processAccount(payable(msg.sender), false); } 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(); } function _transfer( address from, address to, uint256 amt ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amt == 0) { super._transfer(from, to, 0); return; } if (!tradingLive) { require( _isExcludedFromTax[from] || _isExcludedFromTax[to], "Trading is not active." ); } if (_isExcludedFromTax[from] || _isExcludedFromTax[to] || swapping) { super._transfer(from, to, amt); dividendTracker.setBalance(payable(from), balanceOf(from)); dividendTracker.setBalance(payable(to), balanceOf(to)); return; } if (limitsActive) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !_isExcludedFromTax[from] && !_isExcludedFromTax[to] ) { //when buy if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmt[to] ) { require( amt <= maxBuyAmt, "Buy transfer amt exceeds the max buy." ); require( amt + balanceOf(to) <= maxWalletAmt, "Cannot Exceed max wallet" ); } //when sell else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmt[from] ) { require( amt <= maxSellAmt, "Sell transfer amt exceeds the max sell." ); } else if (!_isExcludedMaxTransactionAmt[to]) { require( amt + balanceOf(to) <= maxWalletAmt, "Cannot Exceed max wallet" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmt; if ( canSwap && swapEnabled && !swapping && automatedMarketMakerPairs[to] ) { swapping = true; swapBack(); swapping = false; } bool takeTax = true; // if any account belongs to _isExcludedFromTax account then remove the tax if (_isExcludedFromTax[from] || _isExcludedFromTax[to]) { takeTax = false; } uint256 tax = 0; // only take tax on buys/sells, do not take on wallet transfers if (takeTax) { if ( earlyBuyPenaltyInEffect() && automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to] && !_isExcludedFromTax[to] && buyTotalTax > 0 ) { tax = (amt * 900) / FEE_DIVISOR; tokensForLiquidity += (tax * buyLiquidityTax) / buyTotalTax; tokensForMarketing += (tax * buyMarketingTax) / buyTotalTax; tokensForReward += (tax * buyRewardTax) / buyTotalTax; } // on sell else if (automatedMarketMakerPairs[to] && sellTotalTax > 0) { tax = (amt * sellTotalTax) / FEE_DIVISOR; tokensForLiquidity += (tax * sellLiquidityTax) / sellTotalTax; tokensForMarketing += (tax * sellMarketingTax) / sellTotalTax; tokensForReward += (tax * sellRewardTax) / sellTotalTax; } // on buy else if (automatedMarketMakerPairs[from] && buyTotalTax > 0) { tax = (amt * buyTotalTax) / FEE_DIVISOR; tokensForMarketing += (tax * buyMarketingTax) / buyTotalTax; tokensForLiquidity += (tax * buyLiquidityTax) / buyTotalTax; tokensForReward += (tax * buyRewardTax) / buyTotalTax; } if (tax > 0) { super._transfer(from, address(this), tax); } amt -= tax; } super._transfer(from, to, amt); dividendTracker.setBalance(payable(from), balanceOf(from)); dividendTracker.setBalance(payable(to), balanceOf(to)); } function swapTokenForETH(uint256 tokenAmt) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router02.WETH(); // make the swap uniswapV2Router02.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmt, 0, // accept any amt of ETH path, address(this), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForMarketing + tokensForReward; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > swapTokensAtAmt * 40) { contractBalance = swapTokensAtAmt * 40; } if (tokensForLiquidity > 0) { uint256 liquidityTokens = (contractBalance * tokensForLiquidity) / totalTokensToSwap; super._transfer(address(this), uniswapV2Pair, liquidityTokens); try IUniswapV2Pair(uniswapV2Pair).sync() {} catch {} contractBalance -= liquidityTokens; totalTokensToSwap -= tokensForLiquidity; tokensForLiquidity = 0; } if (contractBalance > 0) { bool success; swapTokenForETH(contractBalance); if (tokensForReward > 0) { uint256 rewardTokens = (tokensForReward * address(this).balance) / totalTokensToSwap; (success, ) = address(dividendTracker).call{ value: rewardTokens }(""); } if (tokensForMarketing > 0) { (success, ) = address(marketingAddress).call{ value: address(this).balance }(""); } tokensForMarketing = 0; tokensForReward = 0; } } function setMarketingAddress(address _marketingAddress) external onlyOwner { require(_marketingAddress != address(0), "address cannot be 0"); marketingAddress = payable(_marketingAddress); _excludeFromMaxTransaction(address(marketingAddress), true); excludeFromTax(address(marketingAddress), true); emit UpdatedMarketingAddress(_marketingAddress); } // force Swap back if slippage issues. function forceSwapBack() external onlyOwner { require( balanceOf(address(this)) >= swapTokensAtAmt, "Can only swap when token amt is at or higher than restriction" ); swapping = true; swapBack(); swapping = false; emit OwnerForcedSwapBack(block.timestamp); } function withdrawStuckETH() public onlyOwner { bool success; (success, ) = address(msg.sender).call{value: address(this).balance}( "" ); } function withdrawStuckTokens(address tkn) public onlyOwner { require(IERC20(tkn).balanceOf(address(this)) > 0, "No tokens"); uint256 amount = IERC20(tkn).balanceOf(address(this)); IERC20(tkn).transfer(msg.sender, amount); } function earlyBuyPenaltyInEffect() public view returns (bool) { return block.number < blockForPenaltyEnd; } }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromTax","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":[],"name":"StartedTrading","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":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedBuyTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedMarketingAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedMaxBuyAmt","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedMaxSellAmt","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedMaxWalletAmt","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedSellTax","type":"event"},{"inputs":[],"name":"FEE_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"amountsInWei","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyLiquidityTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyRewardTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalTax","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":[{"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":[],"name":"earlyBuyPenaltyInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwapBack","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountDividendsInfoAtIndex","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":"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":[],"name":"limitsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellLiquidityTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellRewardTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalTax","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":"_marketingAddress","type":"address"}],"name":"setMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmt","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":"tokensForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForReward","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":"tradingLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingLiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router02","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingTax","type":"uint256"},{"internalType":"uint256","name":"_liquidityTax","type":"uint256"},{"internalType":"uint256","name":"_rewardTax","type":"uint256"}],"name":"updateBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxBuyAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxSellAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingTax","type":"uint256"},{"internalType":"uint256","name":"_liquidityTax","type":"uint256"},{"internalType":"uint256","name":"_rewardTax","type":"uint256"}],"name":"updateSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"updateSwapTokensAtAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tkn","type":"address"}],"name":"withdrawStuckTokens","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
5f600d55600f805462ffffff19166001179055600960a0908152685061696c204b69647360b81b60c052610120604052600360e08181526243504b60e81b61010052906200004e8382620009e7565b5060046200005d8282620009e7565b5050506200007a620000746200055160201b60201c565b62000555565b46600103620000a157737a250d5630b4cf539739df2c5dacb4c659f2488d60805262000115565b46603803620000c8577310ed43c718714eb63d5aa57b78b54704e256024e60805262000115565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b6200012b306080515f19620005a660201b60201c565b60405162000139906200093a565b604051809103905ff08015801562000153573d5f803e3d5ffd5b50600980546001600160a01b0319166001600160a01b03929092169190911790556c0c9f2c9cd04674edea400000006006819055600781905560088190553390612710620001a382600562000ac3565b620001af919062000ae3565b600b55601e60128190555f60118190556014601381905591620001d3919062000b03565b620001df919062000b03565b601055609660158190555f6016819055601782905562000200908262000b03565b6200020c919062000b03565b601455600c80546001600160a01b0319167366310b9e378c53fae7eded4d9147a61ae12e87ee17905562000242826001620006cd565b6200024f306001620006cd565b6080516200025f906001620006cd565b6200026e61dead6001620006cd565b600c5462000287906001600160a01b03166001620006cd565b60095460405163031e79db60e41b81526001600160a01b0390911660048201819052906331e79db0906024015f604051808303815f87803b158015620002cb575f80fd5b505af1158015620002de573d5f803e3d5ffd5b505060095460405163031e79db60e41b81523060048201526001600160a01b0390911692506331e79db091506024015f604051808303815f87803b15801562000325575f80fd5b505af115801562000338573d5f803e3d5ffd5b505060095460805160405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db091506024015f604051808303815f87803b15801562000383575f80fd5b505af115801562000396573d5f803e3d5ffd5b505060095460405163031e79db60e41b81526001600160a01b03868116600483015290911692506331e79db091506024015f604051808303815f87803b158015620003df575f80fd5b505af1158015620003f2573d5f803e3d5ffd5b505060095460405163031e79db60e41b815261dead60048201526001600160a01b0390911692506331e79db091506024015f604051808303815f87803b1580156200043b575f80fd5b505af11580156200044e573d5f803e3d5ffd5b5050600954604051630e1c84f360e11b81523360048201526001600160a01b039091169250631c3909e691506024015f604051808303815f87803b15801562000495575f80fd5b505af1158015620004a8573d5f803e3d5ffd5b50505050620004bf8260016200072f60201b60201c565b620004cc3060016200072f565b608051620004dc9060016200072f565b620004eb61dead60016200072f565b600c5462000504906001600160a01b031660016200072f565b6200050f8262000797565b620005353060646200052384602162000ac3565b6200052f919062000ae3565b62000816565b620005498260646200052384604362000ac3565b505062000b19565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0383166200060a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016200010c565b6001600160a01b0382166200066d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200010c565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0382165f818152601c6020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b62000739620008d7565b6001600160a01b0382165f818152601b6020908152604091829020805460ff191685151590811790915591519182527f7e9c88b87a525bea9b5a9169ddf4660ad19e19b88ea5057a584ee4d31cceec9c910160405180910390a25050565b620007a1620008d7565b6001600160a01b038116620008085760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200010c565b620008138162000555565b50565b6001600160a01b0382166200086e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200010c565b8060025f82825462000881919062000b03565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620009335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200010c565b565b505050565b611686806200472183390190565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200097157607f821691505b6020821081036200099057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000935575f81815260208120601f850160051c81016020861015620009be5750805b601f850160051c820191505b81811015620009df57828155600101620009ca565b505050505050565b81516001600160401b0381111562000a035762000a0362000948565b62000a1b8162000a1484546200095c565b8462000996565b602080601f83116001811462000a51575f841562000a395750858301515b5f19600386901b1c1916600185901b178555620009df565b5f85815260208120601f198616915b8281101562000a815788860151825594840194600190910190840162000a60565b508582101562000a9f57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141762000add5762000add62000aaf565b92915050565b5f8262000afe57634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111562000add5762000add62000aaf565b608051613bc562000b5c5f395f818161093c0152818161143c015281816114cb015281816115fd015281816116a801528181613457015261350d0152613bc55ff3fe608060405260043610610403575f3560e01c8063894dc39b11610215578063b62496f51161011e578063e27a55fe116100a8578063e98030c711610078578063e98030c714610b88578063f1cb24f814610ba7578063f27fd25414610bbc578063f2fde38b14610bdb578063f5648a4f14610bfa575f80fd5b8063e27a55fe14610b2b578063e634e70a14610b40578063e7841ec014610b5f578063e96db1ef14610b73575f80fd5b8063c78d0fa0116100ee578063c78d0fa014610a96578063cb96372814610aab578063dae6a98214610aca578063dc07b61714610af8578063dd62ed3e14610b0c575f80fd5b8063b62496f514610a15578063bb81150814610a43578063c0f306ef14610a58578063c6a3064714610a77575f80fd5b8063a26579ad1161019f578063a7c6402c1161016f578063a7c6402c1461092b578063a8b9d2401461095e578063a9059cbb1461097d578063ac1b129d1461099c578063ad56c13c146109b1575f80fd5b8063a26579ad146108c4578063a2cbba28146108d8578063a457c2d7146108ed578063a5ece9411461090c575f80fd5b80639a7a23d6116101e55780639a7a23d6146108475780639cf55183146108665780639e93ad8e1461087b578063a002959c14610890578063a0a485ca146108a5575f80fd5b8063894dc39b146107d85780638da5cb5b146107f7578063906e9dd01461081457806395d89b4114610833575f80fd5b806342966c68116103175780636ab91206116102a157806371778e7d1161027157806371778e7d14610753578063751039fc146107675780637571336a1461077b57806382aa7c681461079a57806384d5a0f1146107b9575f80fd5b80636ab91206146106ec5780636ddd17131461070157806370a0823114610720578063715018a61461073f575f80fd5b806351f205e4116102e757806351f205e41461067a57806358a6d5311461068e5780635df6e68e146106a457806364b0f653146106b95780636843cd84146106cd575f80fd5b806342966c681461061357806349bd5a5e146106325780634a75e73c146106515780634e71d92d14610666575f80fd5b80632307b44111610398578063313ce56711610368578063313ce5671461059057806331e79db0146105ab57806333012411146105ca57806333cdacd9146105df57806339509351146105f4575f80fd5b80632307b4411461050757806323b872dd146105265780632c1f52161461054557806330bb4cff1461057c575f80fd5b806318160ddd116103d357806318160ddd146104a65780631a8145bb146104c45780631cce34ee146104d95780631f3fed8f146104f2575f80fd5b806305f936501461040e57806306fdde031461042f578063095ea7b31461045957806311704f5214610488575f80fd5b3661040a57005b5f80fd5b348015610419575f80fd5b5061042d61042836600461357d565b610c0e565b005b34801561043a575f80fd5b50610443610cd4565b60405161045091906135a6565b60405180910390f35b348015610464575f80fd5b50610478610473366004613605565b610d64565b6040519015158152602001610450565b348015610493575f80fd5b50600f5461047890610100900460ff1681565b3480156104b1575f80fd5b506002545b604051908152602001610450565b3480156104cf575f80fd5b506104b660195481565b3480156104e4575f80fd5b50600f546104789060ff1681565b3480156104fd575f80fd5b506104b660185481565b348015610512575f80fd5b5061042d6105213660046136ff565b610d7d565b348015610531575f80fd5b506104786105403660046137bb565b610f53565b348015610550575f80fd5b50600954610564906001600160a01b031681565b6040516001600160a01b039091168152602001610450565b348015610587575f80fd5b506104b6610f76565b34801561059b575f80fd5b5060405160128152602001610450565b3480156105b6575f80fd5b5061042d6105c53660046137f9565b610fe6565b3480156105d5575f80fd5b506104b660125481565b3480156105ea575f80fd5b506104b660075481565b3480156105ff575f80fd5b5061047861060e366004613605565b61104c565b34801561061e575f80fd5b5061042d61062d36600461381b565b61106d565b34801561063d575f80fd5b50600a54610564906001600160a01b031681565b34801561065c575f80fd5b506104b660135481565b348015610671575f80fd5b5061042d61107a565b348015610685575f80fd5b5061042d6110eb565b348015610699575f80fd5b50600e544310610478565b3480156106af575f80fd5b506104b660105481565b3480156106c4575f80fd5b506104b66111d1565b3480156106d8575f80fd5b506104b66106e73660046137f9565b611218565b3480156106f7575f80fd5b506104b660165481565b34801561070c575f80fd5b50600f546104789062010000900460ff1681565b34801561072b575f80fd5b506104b661073a3660046137f9565b611285565b34801561074a575f80fd5b5061042d61129f565b34801561075e575f80fd5b506104b66112b2565b348015610772575f80fd5b5061042d6112f9565b348015610786575f80fd5b5061042d61079536600461383f565b611335565b3480156107a5575f80fd5b5061042d6107b436600461381b565b6113da565b3480156107c4575f80fd5b5061042d6107d336600461381b565b611813565b3480156107e3575f80fd5b5061042d6107f236600461381b565b6118bb565b348015610802575f80fd5b506005546001600160a01b0316610564565b34801561081f575f80fd5b5061042d61082e3660046137f9565b6119df565b34801561083e575f80fd5b50610443611aa9565b348015610852575f80fd5b5061042d61086136600461383f565b611ab8565b348015610871575f80fd5b506104b6600d5481565b348015610886575f80fd5b506104b66103e881565b34801561089b575f80fd5b506104b6601a5481565b3480156108b0575f80fd5b5061042d6108bf36600461357d565b611c15565b3480156108cf575f80fd5b506104b6611cc9565b3480156108e3575f80fd5b506104b660115481565b3480156108f8575f80fd5b50610478610907366004613605565b611d10565b348015610917575f80fd5b50600c54610564906001600160a01b031681565b348015610936575f80fd5b506105647f000000000000000000000000000000000000000000000000000000000000000081565b348015610969575f80fd5b506104b66109783660046137f9565b611d8a565b348015610988575f80fd5b50610478610997366004613605565b611dbc565b3480156109a7575f80fd5b506104b660065481565b3480156109bc575f80fd5b506109d06109cb3660046137f9565b611dc9565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610450565b348015610a20575f80fd5b50610478610a2f3660046137f9565b601d6020525f908152604090205460ff1681565b348015610a4e575f80fd5b506104b660085481565b348015610a63575f80fd5b5061042d610a723660046137f9565b611e61565b348015610a82575f80fd5b5061042d610a9136600461383f565b611e9b565b348015610aa1575f80fd5b506104b6600b5481565b348015610ab6575f80fd5b5061042d610ac53660046137f9565b611f01565b348015610ad5575f80fd5b50610478610ae43660046137f9565b601c6020525f908152604090205460ff1681565b348015610b03575f80fd5b5061042d612083565b348015610b17575f80fd5b506104b6610b26366004613876565b6120c3565b348015610b36575f80fd5b506104b660145481565b348015610b4b575f80fd5b5061042d610b5a36600461381b565b6120ed565b348015610b6a575f80fd5b506104b661218e565b348015610b7e575f80fd5b506104b660155481565b348015610b93575f80fd5b5061042d610ba236600461381b565b6121d5565b348015610bb2575f80fd5b506104b660175481565b348015610bc7575f80fd5b506109d0610bd636600461381b565b61220e565b348015610be6575f80fd5b5061042d610bf53660046137f9565b61224f565b348015610c05575f80fd5b5061042d6122c5565b610c16612317565b60158390556016829055601781905580610c3083856138b6565b610c3a91906138b6565b601481905560c81015610c945760405162461bcd60e51b815260206004820152601c60248201527f4d757374206b6565702074617820617420323025206f72206c6573730000000060448201526064015b60405180910390fd5b7fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c97601454604051610cc791815260200190565b60405180910390a1505050565b606060038054610ce3906138c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0f906138c9565b8015610d5a5780601f10610d3157610100808354040283529160200191610d5a565b820191905f5260205f20905b815481529060010190602001808311610d3d57829003601f168201915b5050505050905090565b5f33610d71818585612371565b60019150505b92915050565b610d85612317565b8051825114610dd65760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401610c8b565b610258825110610e475760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203630302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401610c8b565b5f5b8251811015610f4e57610e8f33848381518110610e6857610e68613901565b6020026020010151848481518110610e8257610e82613901565b6020026020010151612494565b60095483516001600160a01b039091169063e30443bc90859084908110610eb857610eb8613901565b6020026020010151610ee2868581518110610ed557610ed5613901565b6020026020010151611285565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015610f25575f80fd5b505af1158015610f37573d5f803e3d5ffd5b505050508080610f4690613915565b915050610e49565b505050565b5f33610f608582856125bd565b610f6b85858561262f565b506001949350505050565b600954604080516342d359d760e11b815290515f926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610fbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe1919061392d565b905090565b610fee612317565b60095460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015b5f604051808303815f87803b158015611033575f80fd5b505af1158015611045573d5f803e3d5ffd5b5050505050565b5f33610d7181858561105e83836120c3565b61106891906138b6565b612371565b6110773382613007565b50565b60095460405163bc4c4b3760e01b81523360048201525f60248201526001600160a01b039091169063bc4c4b37906044016020604051808303815f875af11580156110c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110779190613944565b6110f3612317565b600b546110ff30611285565b10156111735760405162461bcd60e51b815260206004820152603d60248201527f43616e206f6e6c792073776170207768656e20746f6b656e20616d742069732060448201527f6174206f7220686967686572207468616e207265737472696374696f6e0000006064820152608401610c8b565b600a805460ff60a01b1916600160a01b17905561118e613137565b600a805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb32906020015b60405180910390a1565b600954604080516304ddf6ef60e11b815290515f926001600160a01b0316916309bbedde9160048083019260209291908290030181865afa158015610fbd573d5f803e3d5ffd5b60095460405163156dbbf560e31b81526001600160a01b0383811660048301525f92169063ab6ddfa8906024015b602060405180830381865afa158015611261573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d77919061392d565b6001600160a01b03165f9081526020819052604090205490565b6112a7612317565b6112b05f61334f565b565b6009546040805163ad7a672f60e01b815290515f926001600160a01b03169163ad7a672f9160048083019260209291908290030181865afa158015610fbd573d5f803e3d5ffd5b611301612317565b600f805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a1565b61133d612317565b806113b057600a546001600160a01b03908116908316036113b05760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401610c8b565b6001600160a01b03919091165f908152601c60205260409020805460ff1916911515919091179055565b6113e2612317565b600f54610100900460ff161561143a5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e6720697320616c7265616479206163746976652e0000000000006044820152606401610c8b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611496573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ba919061395f565b6001600160a01b031663c9c65396307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611525573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611549919061395f565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015611593573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b7919061395f565b600a80546001600160a01b0319166001600160a01b039290921691821790556115e39030905f19612371565b600a5460405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301525f1960248301529091169063095ea7b3906044016020604051808303815f875af1158015611653573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116779190613944565b50600a5461168f906001600160a01b03166001611ab8565b600a546116a6906001600160a01b031660016133a0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d71947306116e030611285565b5f806116f46005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561175a573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061177f919061397a565b505050606461178d60025490565b6117989060016139a5565b6117a291906139bc565b60065560646117b060025490565b6117bb9060016139a5565b6117c591906139bc565b60075560646117d360025490565b6117de9060016139a5565b6117e891906139bc565b600855600f805462ffff0019166201010017905543600d81905561180d9082906138b6565b600e5550565b61181b612317565b670de0b6b3a7640000606461182f60025490565b61183a9060016139a5565b61184491906139bc565b61184e91906139bc565b81101561186d5760405162461bcd60e51b8152600401610c8b906139db565b61187f81670de0b6b3a76400006139a5565b60068190556040519081527fbd0f1740caf821f78178ca26f0481f035268c600b91408a9a82dfb3a80b79a29906020015b60405180910390a150565b6118c3612317565b620f42406118d060025490565b6118db9060016139a5565b6118e591906139bc565b8110156119505760405162461bcd60e51b815260206004820152603360248201527f5377617020616d742063616e6e6f74206265206c6f776572207468616e20302e6044820152721818181892903a37ba30b61039bab838363c9760691b6064820152608401610c8b565b6103e861195c60025490565b6119679060016139a5565b61197191906139bc565b8111156119da5760405162461bcd60e51b815260206004820152603160248201527f5377617020616d742063616e6e6f7420626520686967686572207468616e2030604482015270171892903a37ba30b61039bab838363c9760791b6064820152608401610c8b565b600b55565b6119e7612317565b6001600160a01b038116611a335760405162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b6044820152606401610c8b565b600c80546001600160a01b0319166001600160a01b038316908117909155611a5c9060016133a0565b600c54611a73906001600160a01b03166001611e9b565b6040516001600160a01b038216907fd1e7d6a3390dd5008bd1c57798817b9f806e4c417264e7d3d67e42e784dc24a9905f90a250565b606060048054610ce3906138c9565b611ac0612317565b600a546001600160a01b038381169116141580611ada5750805b611b4c5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610c8b565b6001600160a01b0382165f908152601d60205260409020805460ff1916821515179055611b7982826133a0565b8015611bda5760095460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db0906024015f604051808303815f87803b158015611bc3575f80fd5b505af1158015611bd5573d5f803e3d5ffd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab905f90a35050565b611c1d612317565b60128390556011829055601381905580611c3783856138b6565b611c4191906138b6565b601081905560c81015611c965760405162461bcd60e51b815260206004820152601c60248201527f4d757374206b6565702074617820617420323025206f72206c657373000000006044820152606401610c8b565b7f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece0508601054604051610cc791815260200190565b60095460408051631bc9e27b60e21b815290515f926001600160a01b031691636f2789ec9160048083019260209291908290030181865afa158015610fbd573d5f803e3d5ffd5b5f3381611d1d82866120c3565b905083811015611d7d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c8b565b610f6b8286868403612371565b6009546040516302a2e74960e61b81526001600160a01b0383811660048301525f92169063a8b9d24090602401611246565b5f33610d7181858561262f565b60095460405163fbcbc0f160e01b81526001600160a01b0383811660048301525f92839283928392839283928392839291169063fbcbc0f1906024015b61010060405180830381865afa158015611e22573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e469190613a20565b97509750975097509750975097509750919395975091939597565b611e69612317565b60095460405163c0f306ef60e01b81526001600160a01b0383811660048301529091169063c0f306ef9060240161101c565b611ea3612317565b6001600160a01b0382165f818152601b6020908152604091829020805460ff191685151590811790915591519182527f7e9c88b87a525bea9b5a9169ddf4660ad19e19b88ea5057a584ee4d31cceec9c910160405180910390a25050565b611f09612317565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611f4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f71919061392d565b11611faa5760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b6044820152606401610c8b565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611fee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612012919061392d565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af115801561205f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4e9190613944565b61208b612317565b60025460088190556040519081527f5c2c6bbd255d68d22e47fbc0e1cbb9e5c5c2892d91144941f6b7f61d3b1c8a55906020016111c7565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6120f5612317565b670de0b6b3a7640000606461210960025490565b6121149060016139a5565b61211e91906139bc565b61212891906139bc565b8110156121475760405162461bcd60e51b8152600401610c8b906139db565b61215981670de0b6b3a76400006139a5565b60078190556040519081527fda3f4fd2455d333278e3d4e42bf292b30da257f729437c6264f483617cbf73f7906020016118b0565b6009546040805163039e107b60e61b815290515f926001600160a01b03169163e7841ec09160048083019260209291908290030181865afa158015610fbd573d5f803e3d5ffd5b6121dd612317565b60095460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c79060240161101c565b600954604051635183d6fd60e01b8152600481018390525f9182918291829182918291829182916001600160a01b0390911690635183d6fd90602401611e06565b612257612317565b6001600160a01b0381166122bc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c8b565b6110778161334f565b6122cd612317565b6040515f90339047908381818185875af1925050503d805f811461230c576040519150601f19603f3d011682016040523d82523d5f602084013e612311565b606091505b50505050565b6005546001600160a01b031633146112b05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c8b565b6001600160a01b0383166123d35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c8b565b6001600160a01b0382166124345760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c8b565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166124ba5760405162461bcd60e51b8152600401610c8b90613a85565b6001600160a01b0382166124e05760405162461bcd60e51b8152600401610c8b90613aca565b6001600160a01b0383165f90815260208190526040902054818110156125575760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c8b565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b5f6125c884846120c3565b90505f19811461231157818110156126225760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c8b565b6123118484848403612371565b6001600160a01b0383166126555760405162461bcd60e51b8152600401610c8b90613a85565b6001600160a01b03821661267b5760405162461bcd60e51b8152600401610c8b90613aca565b805f0361268d57610f4e83835f612494565b600f54610100900460ff1661271e576001600160a01b0383165f908152601b602052604090205460ff16806126d957506001600160a01b0382165f908152601b602052604090205460ff165b61271e5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610c8b565b6001600160a01b0383165f908152601b602052604090205460ff168061275b57506001600160a01b0382165f908152601b602052604090205460ff165b8061276f5750600a54600160a01b900460ff165b1561286e5761277f838383612494565b6009546001600160a01b031663e30443bc8461279a81611285565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b1580156127dd575f80fd5b505af11580156127ef573d5f803e3d5ffd5b50506009546001600160a01b0316915063e30443bc90508361281081611285565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015612853575f80fd5b505af1158015612865573d5f803e3d5ffd5b50505050505050565b600f5460ff1615612b49576005546001600160a01b038481169116148015906128a557506005546001600160a01b03838116911614155b80156128b957506001600160a01b03821615155b80156128d057506001600160a01b03821661dead14155b80156128f457506001600160a01b0383165f908152601b602052604090205460ff16155b801561291857506001600160a01b0382165f908152601b602052604090205460ff16155b15612b49576001600160a01b0383165f908152601d602052604090205460ff16801561295c57506001600160a01b0382165f908152601c602052604090205460ff16155b15612a25576006548111156129c15760405162461bcd60e51b815260206004820152602560248201527f427579207472616e7366657220616d74206578636565647320746865206d617860448201526410313abc9760d91b6064820152608401610c8b565b6008546129cd83611285565b6129d790836138b6565b1115612a205760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610c8b565b612b49565b6001600160a01b0382165f908152601d602052604090205460ff168015612a6457506001600160a01b0383165f908152601c602052604090205460ff16155b15612acb57600754811115612a205760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d74206578636565647320746865206d616044820152663c1039b2b6361760c91b6064820152608401610c8b565b6001600160a01b0382165f908152601c602052604090205460ff16612b4957600854612af683611285565b612b0090836138b6565b1115612b495760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610c8b565b5f612b5330611285565b600b5490915081108015908190612b725750600f5462010000900460ff165b8015612b885750600a54600160a01b900460ff16155b8015612bab57506001600160a01b0384165f908152601d602052604090205460ff165b15612bd957600a805460ff60a01b1916600160a01b179055612bcb613137565b600a805460ff60a01b191690555b6001600160a01b0385165f908152601b602052604090205460019060ff1680612c1957506001600160a01b0385165f908152601b602052604090205460ff165b15612c2157505f5b5f8115612f0957600e5443108015612c5057506001600160a01b0387165f908152601d602052604090205460ff165b8015612c7457506001600160a01b0386165f908152601d602052604090205460ff16155b8015612c9857506001600160a01b0386165f908152601b602052604090205460ff16155b8015612ca557505f601054115b15612d59576103e8612cb9866103846139a5565b612cc391906139bc565b905060105460115482612cd691906139a5565b612ce091906139bc565b60195f828254612cf091906138b6565b9091555050601054601254612d0590836139a5565b612d0f91906139bc565b60185f828254612d1f91906138b6565b9091555050601054601354612d3490836139a5565b612d3e91906139bc565b601a5f828254612d4e91906138b6565b90915550612eeb9050565b6001600160a01b0386165f908152601d602052604090205460ff168015612d8157505f601454115b15612e12576103e860145486612d9791906139a5565b612da191906139bc565b905060145460165482612db491906139a5565b612dbe91906139bc565b60195f828254612dce91906138b6565b9091555050601454601554612de390836139a5565b612ded91906139bc565b60185f828254612dfd91906138b6565b9091555050601454601754612d3490836139a5565b6001600160a01b0387165f908152601d602052604090205460ff168015612e3a57505f601054115b15612eeb576103e860105486612e5091906139a5565b612e5a91906139bc565b905060105460125482612e6d91906139a5565b612e7791906139bc565b60185f828254612e8791906138b6565b9091555050601054601154612e9c90836139a5565b612ea691906139bc565b60195f828254612eb691906138b6565b9091555050601054601354612ecb90836139a5565b612ed591906139bc565b601a5f828254612ee591906138b6565b90915550505b8015612efc57612efc873083612494565b612f068186613b0d565b94505b612f14878787612494565b6009546001600160a01b031663e30443bc88612f2f81611285565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015612f72575f80fd5b505af1158015612f84573d5f803e3d5ffd5b50506009546001600160a01b0316915063e30443bc905087612fa581611285565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015612fe8575f80fd5b505af1158015612ffa573d5f803e3d5ffd5b5050505050505050505050565b6001600160a01b0382166130675760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c8b565b6001600160a01b0382165f90815260208190526040902054818110156130da5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c8b565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b5f61314130611285565b90505f601a5460185460195461315791906138b6565b61316191906138b6565b905081158061316e575080155b15613177575050565b600b546131859060286139a5565b82111561319d57600b5461319a9060286139a5565b91505b6019541561325a575f81601954846131b591906139a5565b6131bf91906139bc565b600a549091506131da9030906001600160a01b031683612494565b600a5f9054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015613226575f80fd5b505af1925050508015613237575060015b506132428184613b0d565b9250601954826132529190613b0d565b5f6019559150505b811561334b575f61326a83613402565b601a54156132e3575f8247601a5461328291906139a5565b61328c91906139bc565b6009546040519192506001600160a01b03169082905f81818185875af1925050503d805f81146132d7576040519150601f19603f3d011682016040523d82523d5f602084013e6132dc565b606091505b5090925050505b6018541561334057600c546040516001600160a01b039091169047905f81818185875af1925050503d805f8114613335576040519150601f19603f3d011682016040523d82523d5f602084013e61333a565b606091505b50909150505b505f6018819055601a555b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f818152601c6020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061343557613435613901565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156134b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134d5919061395f565b816001815181106134e8576134e8613901565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac9479061354c9085905f90869030904290600401613b20565b5f604051808303815f87803b158015613563575f80fd5b505af1158015613575573d5f803e3d5ffd5b505050505050565b5f805f6060848603121561358f575f80fd5b505081359360208301359350604090920135919050565b5f6020808352835180828501525f5b818110156135d1578581018301518582016040015282016135b5565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611077575f80fd5b5f8060408385031215613616575f80fd5b8235613621816135f1565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561366c5761366c61362f565b604052919050565b5f67ffffffffffffffff82111561368d5761368d61362f565b5060051b60200190565b5f82601f8301126136a6575f80fd5b813560206136bb6136b683613674565b613643565b82815260059290921b840181019181810190868411156136d9575f80fd5b8286015b848110156136f457803583529183019183016136dd565b509695505050505050565b5f8060408385031215613710575f80fd5b823567ffffffffffffffff80821115613727575f80fd5b818501915085601f83011261373a575f80fd5b8135602061374a6136b683613674565b82815260059290921b84018101918181019089841115613768575f80fd5b948201945b8386101561378f578535613780816135f1565b8252948201949082019061376d565b965050860135925050808211156137a4575f80fd5b506137b185828601613697565b9150509250929050565b5f805f606084860312156137cd575f80fd5b83356137d8816135f1565b925060208401356137e8816135f1565b929592945050506040919091013590565b5f60208284031215613809575f80fd5b8135613814816135f1565b9392505050565b5f6020828403121561382b575f80fd5b5035919050565b8015158114611077575f80fd5b5f8060408385031215613850575f80fd5b823561385b816135f1565b9150602083013561386b81613832565b809150509250929050565b5f8060408385031215613887575f80fd5b8235613892816135f1565b9150602083013561386b816135f1565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610d7757610d776138a2565b600181811c908216806138dd57607f821691505b6020821081036138fb57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b5f60018201613926576139266138a2565b5060010190565b5f6020828403121561393d575f80fd5b5051919050565b5f60208284031215613954575f80fd5b815161381481613832565b5f6020828403121561396f575f80fd5b8151613814816135f1565b5f805f6060848603121561398c575f80fd5b8351925060208401519150604084015190509250925092565b8082028115828204841417610d7757610d776138a2565b5f826139d657634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526025908201527f43616e6e6f7420736574206d61782073656c6c20616d74206c6f776572207468604082015264616e20312560d81b606082015260800190565b5f805f805f805f80610100898b031215613a38575f80fd5b8851613a43816135f1565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610d7757610d776138a2565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015613b6e5784516001600160a01b031683529383019391830191600101613b49565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b875413d1a345c08023bae996d9531ad5855caa5bfb0dac09b66c19782a43a3964736f6c6343000815003360a060405234801561000f575f80fd5b5061001933610028565b6001600e819055608052610077565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6080516115f06100965f395f81816104b301526109ee01526115f05ff3fe6080604052600436106101bd575f3560e01c80638da5cb5b116100f2578063be10b61411610092578063e98030c711610062578063e98030c714610527578063f2fde38b14610546578063fbcbc0f114610565578063ffb2c47914610584575f80fd5b8063be10b614146104a2578063c0f306ef146104d5578063e30443bc146104f4578063e7841ec014610513575f80fd5b8063aafd847a116100cd578063aafd847a1461040f578063ab6ddfa814610443578063ad7a672f1461046e578063bc4c4b3714610483575f80fd5b80638da5cb5b146103ab57806391b89fba146103d1578063a8b9d240146103f0575f80fd5b80634e7b827f1161015d5780636f2789ec116101385780636f2789ec1461034e57806370c8b17314610363578063715018a61461038257806385a6b3ae14610396575f80fd5b80634e7b827f146102985780635183d6fd146102d65780636a4740021461033a575f80fd5b8063226cfa3d11610198578063226cfa3d1461021a57806327ce0147146102455780633009a6091461026457806331e79db014610279575f80fd5b806303c83302146101d057806309bbedde146101d85780631c3909e6146101fb575f80fd5b366101cc576101ca6105be565b005b5f80fd5b6101ca6105be565b3480156101e3575f80fd5b506007545b6040519081526020015b60405180910390f35b348015610206575f80fd5b506101ca610215366004611402565b610642565b348015610225575f80fd5b506101e8610234366004611402565b600d6020525f908152604090205481565b348015610250575f80fd5b506101e861025f366004611402565b61066c565b34801561026f575f80fd5b506101e8600b5481565b348015610284575f80fd5b506101ca610293366004611402565b6106ce565b3480156102a3575f80fd5b506102c66102b2366004611402565b600c6020525f908152604090205460ff1681565b60405190151581526020016101f2565b3480156102e1575f80fd5b506102f56102f036600461141d565b610742565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e0820152610100016101f2565b348015610345575f80fd5b506101ca6107a8565b348015610359575f80fd5b506101e8600e5481565b34801561036e575f80fd5b506101ca61037d366004611434565b6107b1565b34801561038d575f80fd5b506101ca610889565b3480156103a1575f80fd5b506101e860065481565b3480156103b6575f80fd5b505f546040516001600160a01b0390911681526020016101f2565b3480156103dc575f80fd5b506101e86103eb366004611402565b61089a565b3480156103fb575f80fd5b506101e861040a366004611402565b6108a0565b34801561041a575f80fd5b506101e8610429366004611402565b6001600160a01b03165f9081526003602052604090205490565b34801561044e575f80fd5b506101e861045d366004611402565b60046020525f908152604090205481565b348015610479575f80fd5b506101e860055481565b34801561048e575f80fd5b506102c661049d36600461146b565b6108cb565b3480156104ad575f80fd5b506101e87f000000000000000000000000000000000000000000000000000000000000000081565b3480156104e0575f80fd5b506101ca6104ef366004611402565b610952565b3480156104ff575f80fd5b506101ca61050e366004611434565b6109c5565b34801561051e575f80fd5b50600b546101e8565b348015610532575f80fd5b506101ca61054136600461141d565b610a4a565b348015610551575f80fd5b506101ca610560366004611402565b610b95565b348015610570575f80fd5b506102f561057f366004611402565b610c0b565b34801561058f575f80fd5b506105a361059e36600461141d565b610cea565b604080519384526020840192909252908201526060016101f2565b600554156106405734801561063e576005546105f5906105e283600160801b610dfe565b6105ec91906114b6565b60015490610e10565b60015560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a260065461063a9082610e10565b6006555b505b565b61064a610e1b565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381165f908152600260209081526040808320546004909252822054600154600160801b926106be926106b9926106b3916106ae9190610dfe565b610e74565b90610e82565b610ebc565b6106c891906114b6565b92915050565b6106d6610e1b565b6001600160a01b0381165f908152600c60205260408120805460ff19166001179055610703908290610ecd565b61070c81610f61565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b25905f90a250565b5f805f805f805f8061075360075490565b891061077657505f96505f1995508594508693508392508291508190508061079d565b5f6107808a61108c565b905061078b81610c0b565b98509850985098509850985098509850505b919395975091939597565b61063e336110bc565b600f546001600160a01b031633146107c7575f80fd5b6001600160a01b03821661081157600f546040516001600160a01b039091169082156108fc029083905f818181858888f1935050505015801561080c573d5f803e3d5ffd5b505050565b600f5460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303815f875af1158015610861573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080c91906114d5565b5050565b610891610e1b565b6106405f6111a8565b5f6106c8825b6001600160a01b0381165f908152600360205260408120546106c8906108c58461066c565b906111f7565b5f6108d4610e1b565b5f6108de846110bc565b90508015610949576001600160a01b0384165f818152600d6020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092906109379085815260200190565b60405180910390a360019150506106c8565b505f9392505050565b61095a610e1b565b6001600160a01b0381165f908152600c602052604090205460ff1661097d575f80fd5b6001600160a01b0381165f818152600c6020526040808220805460ff19169055517f40a78dcf8526b72f2eaf598af1c7e49c8d5fc577f6c8f1bed887f3e4dfa289329190a250565b6109cd610e1b565b6001600160a01b0382165f908152600c602052604090205460ff16610885577f00000000000000000000000000000000000000000000000000000000000000008110610a2c57610a1d8282610ecd565b610a278282611202565b610a3f565b610a36825f610ecd565b610a3f82610f61565b61080c8260016108cb565b610a52610e1b565b6104b08110158015610a675750620151808111155b610aec5760405162461bcd60e51b815260206004820152604560248201527f4469766964656e645f547261636b65723a20636c61696d57616974206d75737460448201527f206265207570646174656420746f206265747765656e203120616e6420323420606482015264686f75727360d81b608482015260a4015b60405180910390fd5b600e548103610b635760405162461bcd60e51b815260206004820152603760248201527f4469766964656e645f547261636b65723a2043616e6e6f74207570646174652060448201527f636c61696d5761697420746f2073616d652076616c75650000000000000000006064820152608401610ae3565b600e5460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f905f90a3600e55565b610b9d610e1b565b6001600160a01b038116610c025760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ae3565b61063e816111a8565b805f808080808080610c1c886112bd565b96505f1995505f8712610c7a57600b54871115610c4857600b54610c419088906112ff565b9550610c7a565b600b546007545f9110610c5b575f610c6a565b600b54600754610c6a916111f7565b9050610c768882610e82565b9650505b610c83886108a0565b9450610c8e8861066c565b6001600160a01b0389165f908152600d6020526040902054909450925082610cb6575f610cc4565b600e54610cc4908490610e10565b9150428211610cd3575f610cdd565b610cdd82426111f7565b9050919395975091939597565b6007545f9081908190808203610d0a575050600b545f9250829150610df7565b600b545f805a90505f805b8984108015610d2357508582105b15610de65784610d32816114f0565b60075490965086109050610d44575f94505b5f60075f018681548110610d5a57610d5a611508565b5f9182526020808320909101546001600160a01b0316808352600d909152604090912054909150610d8a90611338565b15610dad57610d9a8160016108cb565b15610dad5781610da9816114f0565b9250505b82610db7816114f0565b9350505f5a905080851115610ddd57610dda610dd386836111f7565b8790610e10565b95505b9350610d159050565b600b85905590975095509193505050505b9193909250565b5f610e09828461151c565b9392505050565b5f610e098284611533565b5f546001600160a01b031633146106405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ae3565b5f81818112156106c8575f80fd5b5f80610e8e8385611546565b90505f8312158015610ea05750838112155b80610eb457505f83128015610eb457508381125b610e09575f80fd5b5f80821215610ec9575f80fd5b5090565b6001600160a01b0382165f90815260046020526040902080549082905580821115610f26575f610efd83836111f7565b9050610f09848261135d565b8060055f828254610f1a9190611533565b9091555061080c915050565b8082101561080c575f610f3982846111f7565b9050610f4584826113b5565b8060055f828254610f56919061156d565b909155505050505050565b6001600160a01b0381165f908152600a602052604090205460ff16610f835750565b6001600160a01b0381165f908152600a60209081526040808320805460ff19169055600882528083208390556009909152812054600754909190610fc99060019061156d565b90505f60075f018281548110610fe157610fe1611508565b5f9182526020808320909101546001600160a01b039081168084526009909252604080842087905590871683528220919091556007805491925082918590811061102d5761102d611508565b5f91825260209091200180546001600160a01b0319166001600160a01b0392909216919091179055600780548061106657611066611580565b5f8281526020902081015f1990810180546001600160a01b031916905501905550505050565b5f60075f0182815481106110a2576110a2611508565b5f918252602090912001546001600160a01b031692915050565b5f806110c7836108a0565b905080156111a0576001600160a01b0383165f908152600360205260409020546110f19082610e10565b6001600160a01b0384165f81815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9061113f9084815260200190565b60405180910390a25f836001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611190576040519150601f19603f3d011682016040523d82523d5f602084013e611195565b606091505b509295945050505050565b505f92915050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f610e09828461156d565b6001600160a01b0382165f908152600a602052604090205460ff161561123e576001600160a01b03919091165f90815260086020526040902055565b6001600160a01b0382165f818152600a60209081526040808320805460ff1916600190811790915560088352818420869055600780546009909452918420839055820181559091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b03191690911790555050565b6001600160a01b0381165f908152600a602052604081205460ff166112e457505f19919050565b506001600160a01b03165f9081526009602052604090205490565b5f8061130b8385611594565b90505f831215801561131d5750838113155b80610eb457505f83128015610eb45750838113610e09575f80fd5b5f4282111561134857505f919050565b600e5461135542846111f7565b101592915050565b6113966113786106ae83600154610dfe90919063ffffffff16565b6001600160a01b0384165f90815260026020526040902054906112ff565b6001600160a01b039092165f9081526002602052604090209190915550565b6113966113d06106ae83600154610dfe90919063ffffffff16565b6001600160a01b0384165f9081526002602052604090205490610e82565b6001600160a01b038116811461063e575f80fd5b5f60208284031215611412575f80fd5b8135610e09816113ee565b5f6020828403121561142d575f80fd5b5035919050565b5f8060408385031215611445575f80fd5b8235611450816113ee565b946020939093013593505050565b801515811461063e575f80fd5b5f806040838503121561147c575f80fd5b8235611487816113ee565b915060208301356114978161145e565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b5f826114d057634e487b7160e01b5f52601260045260245ffd5b500490565b5f602082840312156114e5575f80fd5b8151610e098161145e565b5f60018201611501576115016114a2565b5060010190565b634e487b7160e01b5f52603260045260245ffd5b80820281158282048414176106c8576106c86114a2565b808201808211156106c8576106c86114a2565b8082018281125f831280158216821582161715611565576115656114a2565b505092915050565b818103818111156106c8576106c86114a2565b634e487b7160e01b5f52603160045260245ffd5b8181035f8312801583831316838312821617156115b3576115b36114a2565b509291505056fea2646970667358221220dcba99ff59e2f3bc5fa484decc907df6f41bb8989bdc88471bd94e79738cb5e864736f6c63430008150033
Deployed Bytecode
0x608060405260043610610403575f3560e01c8063894dc39b11610215578063b62496f51161011e578063e27a55fe116100a8578063e98030c711610078578063e98030c714610b88578063f1cb24f814610ba7578063f27fd25414610bbc578063f2fde38b14610bdb578063f5648a4f14610bfa575f80fd5b8063e27a55fe14610b2b578063e634e70a14610b40578063e7841ec014610b5f578063e96db1ef14610b73575f80fd5b8063c78d0fa0116100ee578063c78d0fa014610a96578063cb96372814610aab578063dae6a98214610aca578063dc07b61714610af8578063dd62ed3e14610b0c575f80fd5b8063b62496f514610a15578063bb81150814610a43578063c0f306ef14610a58578063c6a3064714610a77575f80fd5b8063a26579ad1161019f578063a7c6402c1161016f578063a7c6402c1461092b578063a8b9d2401461095e578063a9059cbb1461097d578063ac1b129d1461099c578063ad56c13c146109b1575f80fd5b8063a26579ad146108c4578063a2cbba28146108d8578063a457c2d7146108ed578063a5ece9411461090c575f80fd5b80639a7a23d6116101e55780639a7a23d6146108475780639cf55183146108665780639e93ad8e1461087b578063a002959c14610890578063a0a485ca146108a5575f80fd5b8063894dc39b146107d85780638da5cb5b146107f7578063906e9dd01461081457806395d89b4114610833575f80fd5b806342966c68116103175780636ab91206116102a157806371778e7d1161027157806371778e7d14610753578063751039fc146107675780637571336a1461077b57806382aa7c681461079a57806384d5a0f1146107b9575f80fd5b80636ab91206146106ec5780636ddd17131461070157806370a0823114610720578063715018a61461073f575f80fd5b806351f205e4116102e757806351f205e41461067a57806358a6d5311461068e5780635df6e68e146106a457806364b0f653146106b95780636843cd84146106cd575f80fd5b806342966c681461061357806349bd5a5e146106325780634a75e73c146106515780634e71d92d14610666575f80fd5b80632307b44111610398578063313ce56711610368578063313ce5671461059057806331e79db0146105ab57806333012411146105ca57806333cdacd9146105df57806339509351146105f4575f80fd5b80632307b4411461050757806323b872dd146105265780632c1f52161461054557806330bb4cff1461057c575f80fd5b806318160ddd116103d357806318160ddd146104a65780631a8145bb146104c45780631cce34ee146104d95780631f3fed8f146104f2575f80fd5b806305f936501461040e57806306fdde031461042f578063095ea7b31461045957806311704f5214610488575f80fd5b3661040a57005b5f80fd5b348015610419575f80fd5b5061042d61042836600461357d565b610c0e565b005b34801561043a575f80fd5b50610443610cd4565b60405161045091906135a6565b60405180910390f35b348015610464575f80fd5b50610478610473366004613605565b610d64565b6040519015158152602001610450565b348015610493575f80fd5b50600f5461047890610100900460ff1681565b3480156104b1575f80fd5b506002545b604051908152602001610450565b3480156104cf575f80fd5b506104b660195481565b3480156104e4575f80fd5b50600f546104789060ff1681565b3480156104fd575f80fd5b506104b660185481565b348015610512575f80fd5b5061042d6105213660046136ff565b610d7d565b348015610531575f80fd5b506104786105403660046137bb565b610f53565b348015610550575f80fd5b50600954610564906001600160a01b031681565b6040516001600160a01b039091168152602001610450565b348015610587575f80fd5b506104b6610f76565b34801561059b575f80fd5b5060405160128152602001610450565b3480156105b6575f80fd5b5061042d6105c53660046137f9565b610fe6565b3480156105d5575f80fd5b506104b660125481565b3480156105ea575f80fd5b506104b660075481565b3480156105ff575f80fd5b5061047861060e366004613605565b61104c565b34801561061e575f80fd5b5061042d61062d36600461381b565b61106d565b34801561063d575f80fd5b50600a54610564906001600160a01b031681565b34801561065c575f80fd5b506104b660135481565b348015610671575f80fd5b5061042d61107a565b348015610685575f80fd5b5061042d6110eb565b348015610699575f80fd5b50600e544310610478565b3480156106af575f80fd5b506104b660105481565b3480156106c4575f80fd5b506104b66111d1565b3480156106d8575f80fd5b506104b66106e73660046137f9565b611218565b3480156106f7575f80fd5b506104b660165481565b34801561070c575f80fd5b50600f546104789062010000900460ff1681565b34801561072b575f80fd5b506104b661073a3660046137f9565b611285565b34801561074a575f80fd5b5061042d61129f565b34801561075e575f80fd5b506104b66112b2565b348015610772575f80fd5b5061042d6112f9565b348015610786575f80fd5b5061042d61079536600461383f565b611335565b3480156107a5575f80fd5b5061042d6107b436600461381b565b6113da565b3480156107c4575f80fd5b5061042d6107d336600461381b565b611813565b3480156107e3575f80fd5b5061042d6107f236600461381b565b6118bb565b348015610802575f80fd5b506005546001600160a01b0316610564565b34801561081f575f80fd5b5061042d61082e3660046137f9565b6119df565b34801561083e575f80fd5b50610443611aa9565b348015610852575f80fd5b5061042d61086136600461383f565b611ab8565b348015610871575f80fd5b506104b6600d5481565b348015610886575f80fd5b506104b66103e881565b34801561089b575f80fd5b506104b6601a5481565b3480156108b0575f80fd5b5061042d6108bf36600461357d565b611c15565b3480156108cf575f80fd5b506104b6611cc9565b3480156108e3575f80fd5b506104b660115481565b3480156108f8575f80fd5b50610478610907366004613605565b611d10565b348015610917575f80fd5b50600c54610564906001600160a01b031681565b348015610936575f80fd5b506105647f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b348015610969575f80fd5b506104b66109783660046137f9565b611d8a565b348015610988575f80fd5b50610478610997366004613605565b611dbc565b3480156109a7575f80fd5b506104b660065481565b3480156109bc575f80fd5b506109d06109cb3660046137f9565b611dc9565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610450565b348015610a20575f80fd5b50610478610a2f3660046137f9565b601d6020525f908152604090205460ff1681565b348015610a4e575f80fd5b506104b660085481565b348015610a63575f80fd5b5061042d610a723660046137f9565b611e61565b348015610a82575f80fd5b5061042d610a9136600461383f565b611e9b565b348015610aa1575f80fd5b506104b6600b5481565b348015610ab6575f80fd5b5061042d610ac53660046137f9565b611f01565b348015610ad5575f80fd5b50610478610ae43660046137f9565b601c6020525f908152604090205460ff1681565b348015610b03575f80fd5b5061042d612083565b348015610b17575f80fd5b506104b6610b26366004613876565b6120c3565b348015610b36575f80fd5b506104b660145481565b348015610b4b575f80fd5b5061042d610b5a36600461381b565b6120ed565b348015610b6a575f80fd5b506104b661218e565b348015610b7e575f80fd5b506104b660155481565b348015610b93575f80fd5b5061042d610ba236600461381b565b6121d5565b348015610bb2575f80fd5b506104b660175481565b348015610bc7575f80fd5b506109d0610bd636600461381b565b61220e565b348015610be6575f80fd5b5061042d610bf53660046137f9565b61224f565b348015610c05575f80fd5b5061042d6122c5565b610c16612317565b60158390556016829055601781905580610c3083856138b6565b610c3a91906138b6565b601481905560c81015610c945760405162461bcd60e51b815260206004820152601c60248201527f4d757374206b6565702074617820617420323025206f72206c6573730000000060448201526064015b60405180910390fd5b7fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c97601454604051610cc791815260200190565b60405180910390a1505050565b606060038054610ce3906138c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0f906138c9565b8015610d5a5780601f10610d3157610100808354040283529160200191610d5a565b820191905f5260205f20905b815481529060010190602001808311610d3d57829003601f168201915b5050505050905090565b5f33610d71818585612371565b60019150505b92915050565b610d85612317565b8051825114610dd65760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401610c8b565b610258825110610e475760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203630302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401610c8b565b5f5b8251811015610f4e57610e8f33848381518110610e6857610e68613901565b6020026020010151848481518110610e8257610e82613901565b6020026020010151612494565b60095483516001600160a01b039091169063e30443bc90859084908110610eb857610eb8613901565b6020026020010151610ee2868581518110610ed557610ed5613901565b6020026020010151611285565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015610f25575f80fd5b505af1158015610f37573d5f803e3d5ffd5b505050508080610f4690613915565b915050610e49565b505050565b5f33610f608582856125bd565b610f6b85858561262f565b506001949350505050565b600954604080516342d359d760e11b815290515f926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610fbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe1919061392d565b905090565b610fee612317565b60095460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015b5f604051808303815f87803b158015611033575f80fd5b505af1158015611045573d5f803e3d5ffd5b5050505050565b5f33610d7181858561105e83836120c3565b61106891906138b6565b612371565b6110773382613007565b50565b60095460405163bc4c4b3760e01b81523360048201525f60248201526001600160a01b039091169063bc4c4b37906044016020604051808303815f875af11580156110c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110779190613944565b6110f3612317565b600b546110ff30611285565b10156111735760405162461bcd60e51b815260206004820152603d60248201527f43616e206f6e6c792073776170207768656e20746f6b656e20616d742069732060448201527f6174206f7220686967686572207468616e207265737472696374696f6e0000006064820152608401610c8b565b600a805460ff60a01b1916600160a01b17905561118e613137565b600a805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb32906020015b60405180910390a1565b600954604080516304ddf6ef60e11b815290515f926001600160a01b0316916309bbedde9160048083019260209291908290030181865afa158015610fbd573d5f803e3d5ffd5b60095460405163156dbbf560e31b81526001600160a01b0383811660048301525f92169063ab6ddfa8906024015b602060405180830381865afa158015611261573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d77919061392d565b6001600160a01b03165f9081526020819052604090205490565b6112a7612317565b6112b05f61334f565b565b6009546040805163ad7a672f60e01b815290515f926001600160a01b03169163ad7a672f9160048083019260209291908290030181865afa158015610fbd573d5f803e3d5ffd5b611301612317565b600f805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a1565b61133d612317565b806113b057600a546001600160a01b03908116908316036113b05760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401610c8b565b6001600160a01b03919091165f908152601c60205260409020805460ff1916911515919091179055565b6113e2612317565b600f54610100900460ff161561143a5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e6720697320616c7265616479206163746976652e0000000000006044820152606401610c8b565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611496573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ba919061395f565b6001600160a01b031663c9c65396307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611525573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611549919061395f565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015611593573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b7919061395f565b600a80546001600160a01b0319166001600160a01b039290921691821790556115e39030905f19612371565b600a5460405163095ea7b360e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d811660048301525f1960248301529091169063095ea7b3906044016020604051808303815f875af1158015611653573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116779190613944565b50600a5461168f906001600160a01b03166001611ab8565b600a546116a6906001600160a01b031660016133a0565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d71947306116e030611285565b5f806116f46005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561175a573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061177f919061397a565b505050606461178d60025490565b6117989060016139a5565b6117a291906139bc565b60065560646117b060025490565b6117bb9060016139a5565b6117c591906139bc565b60075560646117d360025490565b6117de9060016139a5565b6117e891906139bc565b600855600f805462ffff0019166201010017905543600d81905561180d9082906138b6565b600e5550565b61181b612317565b670de0b6b3a7640000606461182f60025490565b61183a9060016139a5565b61184491906139bc565b61184e91906139bc565b81101561186d5760405162461bcd60e51b8152600401610c8b906139db565b61187f81670de0b6b3a76400006139a5565b60068190556040519081527fbd0f1740caf821f78178ca26f0481f035268c600b91408a9a82dfb3a80b79a29906020015b60405180910390a150565b6118c3612317565b620f42406118d060025490565b6118db9060016139a5565b6118e591906139bc565b8110156119505760405162461bcd60e51b815260206004820152603360248201527f5377617020616d742063616e6e6f74206265206c6f776572207468616e20302e6044820152721818181892903a37ba30b61039bab838363c9760691b6064820152608401610c8b565b6103e861195c60025490565b6119679060016139a5565b61197191906139bc565b8111156119da5760405162461bcd60e51b815260206004820152603160248201527f5377617020616d742063616e6e6f7420626520686967686572207468616e2030604482015270171892903a37ba30b61039bab838363c9760791b6064820152608401610c8b565b600b55565b6119e7612317565b6001600160a01b038116611a335760405162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b6044820152606401610c8b565b600c80546001600160a01b0319166001600160a01b038316908117909155611a5c9060016133a0565b600c54611a73906001600160a01b03166001611e9b565b6040516001600160a01b038216907fd1e7d6a3390dd5008bd1c57798817b9f806e4c417264e7d3d67e42e784dc24a9905f90a250565b606060048054610ce3906138c9565b611ac0612317565b600a546001600160a01b038381169116141580611ada5750805b611b4c5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610c8b565b6001600160a01b0382165f908152601d60205260409020805460ff1916821515179055611b7982826133a0565b8015611bda5760095460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db0906024015f604051808303815f87803b158015611bc3575f80fd5b505af1158015611bd5573d5f803e3d5ffd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab905f90a35050565b611c1d612317565b60128390556011829055601381905580611c3783856138b6565b611c4191906138b6565b601081905560c81015611c965760405162461bcd60e51b815260206004820152601c60248201527f4d757374206b6565702074617820617420323025206f72206c657373000000006044820152606401610c8b565b7f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece0508601054604051610cc791815260200190565b60095460408051631bc9e27b60e21b815290515f926001600160a01b031691636f2789ec9160048083019260209291908290030181865afa158015610fbd573d5f803e3d5ffd5b5f3381611d1d82866120c3565b905083811015611d7d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c8b565b610f6b8286868403612371565b6009546040516302a2e74960e61b81526001600160a01b0383811660048301525f92169063a8b9d24090602401611246565b5f33610d7181858561262f565b60095460405163fbcbc0f160e01b81526001600160a01b0383811660048301525f92839283928392839283928392839291169063fbcbc0f1906024015b61010060405180830381865afa158015611e22573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e469190613a20565b97509750975097509750975097509750919395975091939597565b611e69612317565b60095460405163c0f306ef60e01b81526001600160a01b0383811660048301529091169063c0f306ef9060240161101c565b611ea3612317565b6001600160a01b0382165f818152601b6020908152604091829020805460ff191685151590811790915591519182527f7e9c88b87a525bea9b5a9169ddf4660ad19e19b88ea5057a584ee4d31cceec9c910160405180910390a25050565b611f09612317565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611f4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f71919061392d565b11611faa5760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b6044820152606401610c8b565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611fee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612012919061392d565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af115801561205f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4e9190613944565b61208b612317565b60025460088190556040519081527f5c2c6bbd255d68d22e47fbc0e1cbb9e5c5c2892d91144941f6b7f61d3b1c8a55906020016111c7565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6120f5612317565b670de0b6b3a7640000606461210960025490565b6121149060016139a5565b61211e91906139bc565b61212891906139bc565b8110156121475760405162461bcd60e51b8152600401610c8b906139db565b61215981670de0b6b3a76400006139a5565b60078190556040519081527fda3f4fd2455d333278e3d4e42bf292b30da257f729437c6264f483617cbf73f7906020016118b0565b6009546040805163039e107b60e61b815290515f926001600160a01b03169163e7841ec09160048083019260209291908290030181865afa158015610fbd573d5f803e3d5ffd5b6121dd612317565b60095460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c79060240161101c565b600954604051635183d6fd60e01b8152600481018390525f9182918291829182918291829182916001600160a01b0390911690635183d6fd90602401611e06565b612257612317565b6001600160a01b0381166122bc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c8b565b6110778161334f565b6122cd612317565b6040515f90339047908381818185875af1925050503d805f811461230c576040519150601f19603f3d011682016040523d82523d5f602084013e612311565b606091505b50505050565b6005546001600160a01b031633146112b05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c8b565b6001600160a01b0383166123d35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c8b565b6001600160a01b0382166124345760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c8b565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166124ba5760405162461bcd60e51b8152600401610c8b90613a85565b6001600160a01b0382166124e05760405162461bcd60e51b8152600401610c8b90613aca565b6001600160a01b0383165f90815260208190526040902054818110156125575760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c8b565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b5f6125c884846120c3565b90505f19811461231157818110156126225760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c8b565b6123118484848403612371565b6001600160a01b0383166126555760405162461bcd60e51b8152600401610c8b90613a85565b6001600160a01b03821661267b5760405162461bcd60e51b8152600401610c8b90613aca565b805f0361268d57610f4e83835f612494565b600f54610100900460ff1661271e576001600160a01b0383165f908152601b602052604090205460ff16806126d957506001600160a01b0382165f908152601b602052604090205460ff165b61271e5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610c8b565b6001600160a01b0383165f908152601b602052604090205460ff168061275b57506001600160a01b0382165f908152601b602052604090205460ff165b8061276f5750600a54600160a01b900460ff165b1561286e5761277f838383612494565b6009546001600160a01b031663e30443bc8461279a81611285565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b1580156127dd575f80fd5b505af11580156127ef573d5f803e3d5ffd5b50506009546001600160a01b0316915063e30443bc90508361281081611285565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015612853575f80fd5b505af1158015612865573d5f803e3d5ffd5b50505050505050565b600f5460ff1615612b49576005546001600160a01b038481169116148015906128a557506005546001600160a01b03838116911614155b80156128b957506001600160a01b03821615155b80156128d057506001600160a01b03821661dead14155b80156128f457506001600160a01b0383165f908152601b602052604090205460ff16155b801561291857506001600160a01b0382165f908152601b602052604090205460ff16155b15612b49576001600160a01b0383165f908152601d602052604090205460ff16801561295c57506001600160a01b0382165f908152601c602052604090205460ff16155b15612a25576006548111156129c15760405162461bcd60e51b815260206004820152602560248201527f427579207472616e7366657220616d74206578636565647320746865206d617860448201526410313abc9760d91b6064820152608401610c8b565b6008546129cd83611285565b6129d790836138b6565b1115612a205760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610c8b565b612b49565b6001600160a01b0382165f908152601d602052604090205460ff168015612a6457506001600160a01b0383165f908152601c602052604090205460ff16155b15612acb57600754811115612a205760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d74206578636565647320746865206d616044820152663c1039b2b6361760c91b6064820152608401610c8b565b6001600160a01b0382165f908152601c602052604090205460ff16612b4957600854612af683611285565b612b0090836138b6565b1115612b495760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610c8b565b5f612b5330611285565b600b5490915081108015908190612b725750600f5462010000900460ff165b8015612b885750600a54600160a01b900460ff16155b8015612bab57506001600160a01b0384165f908152601d602052604090205460ff165b15612bd957600a805460ff60a01b1916600160a01b179055612bcb613137565b600a805460ff60a01b191690555b6001600160a01b0385165f908152601b602052604090205460019060ff1680612c1957506001600160a01b0385165f908152601b602052604090205460ff165b15612c2157505f5b5f8115612f0957600e5443108015612c5057506001600160a01b0387165f908152601d602052604090205460ff165b8015612c7457506001600160a01b0386165f908152601d602052604090205460ff16155b8015612c9857506001600160a01b0386165f908152601b602052604090205460ff16155b8015612ca557505f601054115b15612d59576103e8612cb9866103846139a5565b612cc391906139bc565b905060105460115482612cd691906139a5565b612ce091906139bc565b60195f828254612cf091906138b6565b9091555050601054601254612d0590836139a5565b612d0f91906139bc565b60185f828254612d1f91906138b6565b9091555050601054601354612d3490836139a5565b612d3e91906139bc565b601a5f828254612d4e91906138b6565b90915550612eeb9050565b6001600160a01b0386165f908152601d602052604090205460ff168015612d8157505f601454115b15612e12576103e860145486612d9791906139a5565b612da191906139bc565b905060145460165482612db491906139a5565b612dbe91906139bc565b60195f828254612dce91906138b6565b9091555050601454601554612de390836139a5565b612ded91906139bc565b60185f828254612dfd91906138b6565b9091555050601454601754612d3490836139a5565b6001600160a01b0387165f908152601d602052604090205460ff168015612e3a57505f601054115b15612eeb576103e860105486612e5091906139a5565b612e5a91906139bc565b905060105460125482612e6d91906139a5565b612e7791906139bc565b60185f828254612e8791906138b6565b9091555050601054601154612e9c90836139a5565b612ea691906139bc565b60195f828254612eb691906138b6565b9091555050601054601354612ecb90836139a5565b612ed591906139bc565b601a5f828254612ee591906138b6565b90915550505b8015612efc57612efc873083612494565b612f068186613b0d565b94505b612f14878787612494565b6009546001600160a01b031663e30443bc88612f2f81611285565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015612f72575f80fd5b505af1158015612f84573d5f803e3d5ffd5b50506009546001600160a01b0316915063e30443bc905087612fa581611285565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015612fe8575f80fd5b505af1158015612ffa573d5f803e3d5ffd5b5050505050505050505050565b6001600160a01b0382166130675760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c8b565b6001600160a01b0382165f90815260208190526040902054818110156130da5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c8b565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b5f61314130611285565b90505f601a5460185460195461315791906138b6565b61316191906138b6565b905081158061316e575080155b15613177575050565b600b546131859060286139a5565b82111561319d57600b5461319a9060286139a5565b91505b6019541561325a575f81601954846131b591906139a5565b6131bf91906139bc565b600a549091506131da9030906001600160a01b031683612494565b600a5f9054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015613226575f80fd5b505af1925050508015613237575060015b506132428184613b0d565b9250601954826132529190613b0d565b5f6019559150505b811561334b575f61326a83613402565b601a54156132e3575f8247601a5461328291906139a5565b61328c91906139bc565b6009546040519192506001600160a01b03169082905f81818185875af1925050503d805f81146132d7576040519150601f19603f3d011682016040523d82523d5f602084013e6132dc565b606091505b5090925050505b6018541561334057600c546040516001600160a01b039091169047905f81818185875af1925050503d805f8114613335576040519150601f19603f3d011682016040523d82523d5f602084013e61333a565b606091505b50909150505b505f6018819055601a555b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f818152601c6020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061343557613435613901565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156134b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134d5919061395f565b816001815181106134e8576134e8613901565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac9479061354c9085905f90869030904290600401613b20565b5f604051808303815f87803b158015613563575f80fd5b505af1158015613575573d5f803e3d5ffd5b505050505050565b5f805f6060848603121561358f575f80fd5b505081359360208301359350604090920135919050565b5f6020808352835180828501525f5b818110156135d1578581018301518582016040015282016135b5565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611077575f80fd5b5f8060408385031215613616575f80fd5b8235613621816135f1565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561366c5761366c61362f565b604052919050565b5f67ffffffffffffffff82111561368d5761368d61362f565b5060051b60200190565b5f82601f8301126136a6575f80fd5b813560206136bb6136b683613674565b613643565b82815260059290921b840181019181810190868411156136d9575f80fd5b8286015b848110156136f457803583529183019183016136dd565b509695505050505050565b5f8060408385031215613710575f80fd5b823567ffffffffffffffff80821115613727575f80fd5b818501915085601f83011261373a575f80fd5b8135602061374a6136b683613674565b82815260059290921b84018101918181019089841115613768575f80fd5b948201945b8386101561378f578535613780816135f1565b8252948201949082019061376d565b965050860135925050808211156137a4575f80fd5b506137b185828601613697565b9150509250929050565b5f805f606084860312156137cd575f80fd5b83356137d8816135f1565b925060208401356137e8816135f1565b929592945050506040919091013590565b5f60208284031215613809575f80fd5b8135613814816135f1565b9392505050565b5f6020828403121561382b575f80fd5b5035919050565b8015158114611077575f80fd5b5f8060408385031215613850575f80fd5b823561385b816135f1565b9150602083013561386b81613832565b809150509250929050565b5f8060408385031215613887575f80fd5b8235613892816135f1565b9150602083013561386b816135f1565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610d7757610d776138a2565b600181811c908216806138dd57607f821691505b6020821081036138fb57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b5f60018201613926576139266138a2565b5060010190565b5f6020828403121561393d575f80fd5b5051919050565b5f60208284031215613954575f80fd5b815161381481613832565b5f6020828403121561396f575f80fd5b8151613814816135f1565b5f805f6060848603121561398c575f80fd5b8351925060208401519150604084015190509250925092565b8082028115828204841417610d7757610d776138a2565b5f826139d657634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526025908201527f43616e6e6f7420736574206d61782073656c6c20616d74206c6f776572207468604082015264616e20312560d81b606082015260800190565b5f805f805f805f80610100898b031215613a38575f80fd5b8851613a43816135f1565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610d7757610d776138a2565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015613b6e5784516001600160a01b031683529383019391830191600101613b49565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b875413d1a345c08023bae996d9531ad5855caa5bfb0dac09b66c19782a43a3964736f6c63430008150033
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.