ERC-20
Overview
Max Total Supply
21,000,000 NIROS
Holders
345
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
86,431.506507921375420337 NIROSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract contains unverified libraries: IterableMapping
Contract Name:
Niros
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; import "./DividendPayingToken.sol"; import "./SafeMath.sol"; import "./IterableMapping.sol"; import "./Ownable.sol"; import "./IUniswapV2Pair.sol"; import "./IUniswapV2Factory.sol"; import "./IUniswapV2Router.sol"; import "./IFTPAntiBot.sol"; contract Niros is ERC20, Ownable { using SafeMath for uint256; IFTPAntiBot private antiBot; IUniswapV2Router02 public uniswapV2Router; IERC20 private wbtc; address public uniswapV2Pair; bool private swapping; bool private reinvesting; bool public antibotEnabled = false; bool public maxPurchaseEnabled = true; NirosDividendTracker public dividendTracker; address payable public devAddress = 0x5c627D0eB32a938E975795B24bF78758758ffCB9; address payable public marketingAddress = 0x0f558be7306Ff2e0bA6E058aDAD488EB9D3D1a31; uint256 public maxDailyTransferAmount = 210000 * (10**18); uint256 public swapTokensAtAmount = 4200 * (10**18); uint256 public immutable devFee = 2; uint256 public immutable marketingFee = 2; uint256 public immutable liquidityFee = 1; uint256 public immutable totalEthFee = 9; uint256 public immutable totalFee = 10; uint256 public tradingStartTime = 1657685042; uint256 minimumTokenBalanceForDividends = 100000 * (10**18); // maximum purchase amount for initial launch uint256 maxPurchaseAmount = 525000 * (10**18); // exlcude from fees and max transaction amount mapping (address => bool) private _isExcludedFromFees; // addresses that can make transfers before presale is over mapping (address => bool) public canTransferBeforeTradingIsEnabled; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping (address => bool) public automatedMarketMakerPairs; // store the amount traded for each account every day // to ensure that the account has not exceeded the daily threshold mapping (uint256 => mapping(address => uint256)) public dailyTransfers; // the last time an address transferred // used to detect if an account can be reinvest inactive funds to the vault mapping (address => uint256) public lastTransfer; mapping (address => bool) public isExcludedFromDailyLimit; event UpdateDividendTracker(address indexed newAddress, address indexed oldAddress); event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event SendDividends(uint256 amount); event DividendClaimed(uint256 ethAmount, uint256 tokenAmount, address account); constructor(address uniswapV2RouterAddress, address wbtcAddress) public ERC20("Niros", "NIROS") { IFTPAntiBot _antiBot = IFTPAntiBot(0x590C2B20f7920A2D21eD32A21B616906b4209A43); antiBot = _antiBot; dividendTracker = new NirosDividendTracker(); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(uniswapV2RouterAddress); // Create a uniswap pair for this new token address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; wbtc = IERC20(wbtcAddress); _setAutomatedMarketMakerPair(_uniswapV2Pair, true); // exclude from receiving dividends dividendTracker.excludeFromDividends(address(dividendTracker)); dividendTracker.excludeFromDividends(address(this)); dividendTracker.excludeFromDividends(owner()); dividendTracker.excludeFromDividends(address(_uniswapV2Router)); // exclude from paying fees or having max transaction amount excludeFromFees(address(this), true); excludeFromFees(owner(), true); // enable owner and fixed-sale wallet to send tokens before presales are over canTransferBeforeTradingIsEnabled[owner()] = true; isExcludedFromDailyLimit[address(this)] = true; isExcludedFromDailyLimit[owner()] = true; _mint(owner(), 21000000 * (10**18)); } receive() external payable { } function setTradingStartTime(uint256 newStartTime) public onlyOwner { require(tradingStartTime > block.timestamp, "Trading has already started"); require(newStartTime > block.timestamp, "Start time must be in the future"); tradingStartTime = newStartTime; } function updateDividendTracker(address newAddress) public onlyOwner { require(newAddress != address(dividendTracker), "Niros: The dividend tracker already has that address"); NirosDividendTracker newDividendTracker = NirosDividendTracker(payable(newAddress)); require(newDividendTracker.owner() == address(this), "Niros: The new dividend tracker must be owned by the Niros token contract"); newDividendTracker.excludeFromDividends(address(newDividendTracker)); newDividendTracker.excludeFromDividends(address(this)); newDividendTracker.excludeFromDividends(owner()); newDividendTracker.excludeFromDividends(address(uniswapV2Router)); emit UpdateDividendTracker(newAddress, address(dividendTracker)); dividendTracker = newDividendTracker; } function updateUniswapV2Router(address newAddress) public onlyOwner { require(newAddress != address(uniswapV2Router), "Niros: The router already has that address"); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); } function excludeFromFees(address account, bool excluded) public onlyOwner { require(_isExcludedFromFees[account] != excluded, "Niros: Account is already the value of 'excluded'"); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) public onlyOwner { for(uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; } emit ExcludeMultipleAccountsFromFees(accounts, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "Niros: The UniSwap pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require(automatedMarketMakerPairs[pair] != value, "Niros: Automated market maker pair is already set to that value"); automatedMarketMakerPairs[pair] = value; if(value) { dividendTracker.excludeFromDividends(pair); } emit SetAutomatedMarketMakerPair(pair, value); } function excludeFromDailyLimit(address account, bool excluded) public onlyOwner { require(isExcludedFromDailyLimit[account] != excluded, "Niros: Daily limit exclusion is already the value of 'excluded'"); isExcludedFromDailyLimit[account] = excluded; } function allowPreTrading(address account, bool allowed) public onlyOwner { // used for owner and pre sale addresses require(canTransferBeforeTradingIsEnabled[account] != allowed, "Niros: Pre trading is already the value of 'excluded'"); canTransferBeforeTradingIsEnabled[account] = allowed; } function setMaxPurchaseEnabled(bool enabled) public onlyOwner { require(maxPurchaseEnabled != enabled, "Niros: Max purchase enabled is already the value of 'enabled'"); maxPurchaseEnabled = enabled; } function setMaxPurchaseAmount(uint256 newAmount) public onlyOwner { maxPurchaseAmount = newAmount; } function updateDevAddress(address payable newAddress) public onlyOwner { devAddress = newAddress; } function updateMarketingAddress(address payable newAddress) public onlyOwner { marketingAddress = newAddress; } function getTotalDividendsDistributed() external view returns (uint256) { return dividendTracker.totalDividendsDistributed(); } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } function withdrawableDividendOf(address account) public view returns(uint256) { return dividendTracker.withdrawableDividendOf(account); } function dividendTokenBalanceOf(address account) public view returns (uint256) { return dividendTracker.balanceOf(account); } function reinvestInactive(address payable account) public onlyOwner { uint256 tokenBalance = dividendTracker.balanceOf(account); require(tokenBalance <= minimumTokenBalanceForDividends, "Niros: Account balance must be less then minimum token balance for dividends"); uint256 _lastTransfer = lastTransfer[account]; require(block.timestamp.sub(_lastTransfer) > 12 weeks, "Niros: Account must have been inactive for at least 12 weeks"); dividendTracker.processAccount(account, address(this)); uint256 dividends = address(this).balance; (bool success,) = address(dividendTracker).call{value: dividends}(""); if(success) { emit SendDividends(dividends); try dividendTracker.setBalance(account, 0) {} catch {} } } function claim(bool reinvest, uint256 minTokens) external { _claim(msg.sender, reinvest, minTokens); } function _claim(address payable account, bool reinvest, uint256 minTokens) private { uint256 withdrawableAmount = dividendTracker.withdrawableDividendOf(account); require(withdrawableAmount > 0, "Niros: Claimer has no withdrawable dividend"); if (!reinvest) { uint256 ethAmount = dividendTracker.processAccount(account, address(this)); if (ethAmount > 0) { uint256 ethAmountToSwap = ethAmount.div(2); uint256 wbtcAmount = swapEthForWBTC(ethAmountToSwap, 0, account); if (wbtcAmount != 0) { ethAmount = ethAmount.sub(ethAmountToSwap); } (bool success,) = account.call{value: ethAmount}(""); emit DividendClaimed(ethAmount, 0, account); } return; } uint256 ethAmount = dividendTracker.processAccount(account, address(this)); if (ethAmount > 0) { reinvesting = true; uint256 tokenAmount = swapEthForTokens(ethAmount, minTokens, account); reinvesting = false; emit DividendClaimed(ethAmount, tokenAmount, account); } } function getNumberOfDividendTokenHolders() external view returns(uint256) { return dividendTracker.getNumberOfTokenHolders(); } function getAccount(address _account) public view returns ( uint256 withdrawableDividends, uint256 withdrawnDividends, uint256 balance ) { (withdrawableDividends, withdrawnDividends) = dividendTracker.getAccount(_account); return (withdrawableDividends, withdrawnDividends, balanceOf(_account)); } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); // address must be permitted to transfer before tradingStartTime if(tradingStartTime > block.timestamp) { require(canTransferBeforeTradingIsEnabled[from], "Niros: This account cannot send tokens until trading is enabled"); } if(amount == 0) { super._transfer(from, to, 0); return; } if(antibotEnabled) { if(automatedMarketMakerPairs[from]){ require(!antiBot.scanAddress(to, from, tx.origin), "Beep Beep Boop, You're a piece of poop"); } if(automatedMarketMakerPairs[to]){ require(!antiBot.scanAddress(from, to, tx.origin), "Beep Beep Boop, You're a piece of poop"); } } // make sure that the sender has not exceeded their daily transfer limit // automated market pairs do not have a daily transfer limit if (!isExcludedFromDailyLimit[from] && !automatedMarketMakerPairs[from]) { require(dailyTransfers[getDay()][from].add(amount) <= maxDailyTransferAmount, "Niros: This account has exceeded max daily limit"); } dailyTransfers[getDay()][from] = dailyTransfers[getDay()][from].add(amount); // make sure amount does not exceed max on a purchase if (maxPurchaseEnabled && !isExcludedFromDailyLimit[to] && automatedMarketMakerPairs[from]) { require(amount <= maxPurchaseAmount, "Niros: Exceeds max purchase amount"); } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if( canSwap && !swapping && !reinvesting && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapAndDistribute(); swapping = false; } bool takeFee = !swapping && !reinvesting; // if any account belongs to _isExcludedFromFee account then remove the fee // don't take a fee unless it's a buy / sell if((_isExcludedFromFees[from] || _isExcludedFromFees[to]) || (!automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to])) { takeFee = false; } if(takeFee) { uint256 fees = amount.mul(totalFee).div(100); amount = amount.sub(fees); super._transfer(from, address(this), fees); } super._transfer(from, to, amount); try dividendTracker.setBalance(payable(from), balanceOf(from)) {} catch {} try dividendTracker.setBalance(payable(to), balanceOf(to)) {} catch {} if(antibotEnabled) { try antiBot.registerBlock(from, to) {} catch {} } lastTransfer[from] = block.timestamp; lastTransfer[to] = block.timestamp; } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function swapEthForTokens(uint256 ethAmount, uint256 minTokens, address account) internal returns(uint256) { address[] memory path = new address[](2); path[0] = uniswapV2Router.WETH(); path[1] = address(this); uint256 balanceBefore = balanceOf(account); uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}( minTokens, path, account, block.timestamp ); uint256 tokenAmount = balanceOf(account).sub(balanceBefore); return tokenAmount; } function swapEthForWBTC(uint256 ethAmount, uint256 minTokens, address account) internal returns(uint256) { address[] memory path = new address[](2); path[0] = uniswapV2Router.WETH(); path[1] = address(wbtc); uint256 balanceBefore = wbtc.balanceOf(account); uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}( minTokens, path, account, block.timestamp ); uint256 tokenAmount = wbtc.balanceOf(account).sub(balanceBefore); return tokenAmount; } function swapAndDistribute() private { uint256 tokenBalance = balanceOf(address(this)); uint256 tokenToSwapEth = tokenBalance.mul(totalEthFee).div(totalFee); uint256 tokenToLiquidify = tokenBalance.sub(tokenToSwapEth); swapTokensForEth(tokenToSwapEth); uint256 ethBalance = address(this).balance; uint256 devPortion = ethBalance.mul(devFee).div(totalEthFee); devAddress.transfer(devPortion); uint256 marketingPortion = ethBalance.mul(marketingFee).div(totalEthFee); marketingAddress.transfer(marketingPortion); uint liquidityPortion = ethBalance.mul(liquidityFee).div(totalEthFee); addEthLiquidity(tokenToLiquidify, liquidityPortion); uint256 dividends = address(this).balance; (bool success,) = address(dividendTracker).call{value: dividends}(""); if(success) { emit SendDividends(dividends); } } function addEthLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } function assignAntiBot(address _address) external onlyOwner() { IFTPAntiBot _antiBot = IFTPAntiBot(_address); antiBot = _antiBot; } function toggleAntiBot() external onlyOwner() { if(antibotEnabled){ antibotEnabled = false; } else{ antibotEnabled = true; } } function getDay() internal view returns(uint256){ return block.timestamp.div(1 days); } } contract NirosDividendTracker is DividendPayingToken, Ownable { using SafeMath for uint256; using SafeMathInt for int256; using IterableMapping for IterableMapping.Map; IterableMapping.Map private tokenHoldersMap; mapping (address => bool) public excludedFromDividends; uint256 public immutable minimumTokenBalanceForDividends; event ExcludeFromDividends(address indexed account); constructor() public DividendPayingToken("Niros_Dividend_Tracker", "Niros_Dividend_Tracker") { minimumTokenBalanceForDividends = 10000 * (10**18); //must hold 10000+ tokens } function _approve(address, address, uint256) internal override { require(false, "Niros_Dividend_Tracker: No approvals allowed"); } function _transfer(address, address, uint256) internal override { require(false, "Niros_Dividend_Tracker: No transfers allowed"); } function withdrawDividend() public override { require(false, "Niros_Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main Niros contract."); } function excludeFromDividends(address account) external onlyOwner { require(!excludedFromDividends[account]); excludedFromDividends[account] = true; _setBalance(account, 0); tokenHoldersMap.remove(account); emit ExcludeFromDividends(account); } function getNumberOfTokenHolders() external view returns(uint256) { return tokenHoldersMap.keys.length; } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if(excludedFromDividends[account]) { return; } if(newBalance >= minimumTokenBalanceForDividends) { _setBalance(account, newBalance); tokenHoldersMap.set(account, newBalance); } else { _setBalance(account, 0); tokenHoldersMap.remove(account); } } function processAccount(address payable account, address payable toAccount) public onlyOwner returns (uint256) { uint256 amount = _withdrawDividendOfUser(account, toAccount); return amount; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; import "./ERC20.sol"; import "./SafeMath.sol"; import "./SafeMathUint.sol"; import "./SafeMathInt.sol"; import "./DividendPayingTokenInterface.sol"; import "./DividendPayingTokenOptionalInterface.sol"; /// @title Dividend-Paying Token /// @author Roger Wu (https://github.com/roger-wu) /// @dev A mintable ERC20 token that allows anyone to pay and distribute ether /// to token holders as dividends and allows token holders to withdraw their dividends. /// Reference: the source code of PoWH3D: https://etherscan.io/address/0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe#code contract DividendPayingToken is ERC20, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small. // For more discussion about choosing the value of `magnitude`, // see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728 uint256 constant internal magnitude = 2**128; uint256 internal magnifiedDividendPerShare; // 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; uint256 public totalDividendsDistributed; constructor(string memory _name, string memory _symbol) public ERC20(_name, _symbol) { } /// @dev Distributes dividends whenever ether is paid to this contract. receive() external payable { distributeDividends(); } /// @notice Distributes ether to token holders as dividends. /// @dev It reverts if the total supply of tokens is 0. /// It emits the `DividendsDistributed` event if the amount of received ether is greater than 0. /// About undistributed ether: /// In each distribution, there is a small amount of ether not distributed, /// the magnified amount of which is /// `(msg.value * magnitude) % totalSupply()`. /// With a well-chosen `magnitude`, the amount of undistributed ether /// (de-magnified) in a distribution can be less than 1 wei. /// We can actually keep track of the undistributed ether in a distribution /// and try to distribute it in the next distribution, /// but keeping track of such data on-chain costs much more than /// the saved ether, so we don't do that. function distributeDividends() public override payable { require(totalSupply() > 0); if (msg.value > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (msg.value).mul(magnitude) / totalSupply() ); emit DividendsDistributed(msg.sender, msg.value); totalDividendsDistributed = totalDividendsDistributed.add(msg.value); } } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function withdrawDividend() public virtual override { _withdrawDividendOfUser(msg.sender, msg.sender); } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function _withdrawDividendOfUser(address payable user, address payable to) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend); emit DividendWithdrawn(user, _withdrawableDividend, to); (bool success,) = to.call{value: _withdrawableDividend}(""); if(!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } return _withdrawableDividend; } return 0; } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) public view override returns(uint256) { return withdrawableDividendOf(_owner); } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) public view override returns(uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) public view override returns(uint256) { return withdrawnDividends[_owner]; } /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) public view override returns(uint256) { return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe() .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude; } /// @dev Internal function that mints tokens to an account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account that will receive the created tokens. /// @param value The amount that will be created. function _mint(address account, uint256 value) internal override { super._mint(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } /// @dev Internal function that burns an amount of the token of a given account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account whose tokens will be burnt. /// @param value The amount that will be burnt. function _burn(address account, uint256 value) internal override { super._burn(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .add((magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = balanceOf(account); if(newBalance > currentBalance) { uint256 mintAmount = newBalance.sub(currentBalance); _mint(account, mintAmount); } else if(newBalance < currentBalance) { uint256 burnAmount = currentBalance.sub(newBalance); _burn(account, burnAmount); } } function getAccount(address _account) public view returns ( uint256 _withdrawableDividends, uint256 _withdrawnDividends ) { _withdrawableDividends = withdrawableDividendOf(_account); _withdrawnDividends = withdrawnDividends[_account]; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; library IterableMapping { // Iterable mapping from address to uint; struct Map { address[] keys; mapping(address => uint) values; mapping(address => uint) indexOf; mapping(address => bool) inserted; } function get(Map storage map, address key) public view returns (uint) { return map.values[key]; } function getIndexOfKey(Map storage map, address key) public view returns (int) { if(!map.inserted[key]) { return -1; } return int(map.indexOf[key]); } function getKeyAtIndex(Map storage map, uint index) public view returns (address) { return map.keys[index]; } function size(Map storage map) public view returns (uint) { return map.keys.length; } function set(Map storage map, address key, uint val) public { if (map.inserted[key]) { map.values[key] = val; } else { map.inserted[key] = true; map.values[key] = val; map.indexOf[key] = map.keys.length; map.keys.push(key); } } function remove(Map storage map, address key) public { if (!map.inserted[key]) { return; } delete map.inserted[key]; delete map.values[key]; uint index = map.indexOf[key]; uint lastIndex = map.keys.length - 1; address lastKey = map.keys[lastIndex]; map.indexOf[lastKey] = index; delete map.indexOf[key]; map.keys[index] = lastKey; map.keys.pop(); } }
pragma solidity ^0.6.2; // SPDX-License-Identifier: MIT License import "./Context.sol"; 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 () public { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; 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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; 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 pragma solidity ^0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // pragma solidity >=0.6.2; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity ^0.6.2; interface IFTPAntiBot { // Here we create the interface to interact with AntiBot function scanAddress(address _address, address _safeAddress, address _origin) external returns (bool); function registerBlock(address _recipient, address _sender) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; import "./IERC20.sol"; import "./IERC20Metadata.sol"; import "./Context.sol"; import "./SafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of 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 { using SafeMath for uint256; 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_) public { _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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, 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 = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(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); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(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 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 to 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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /** * @title SafeMathUint * @dev Math operations with safety checks that revert on error */ library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } }
// SPDX-License-Identifier: MIT /* MIT License Copyright (c) 2018 requestnetwork Copyright (c) 2018 Fragments, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ pragma solidity ^0.6.2; /** * @title SafeMathInt * @dev Math operations for int256 with overflow safety checks. */ library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /// @title Dividend-Paying Token Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev An interface for a dividend-paying token contract. interface DividendPayingTokenInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) external view returns(uint256); /// @notice Distributes ether to token holders as dividends. /// @dev SHOULD distribute the paid ether to token holders as dividends. /// SHOULD NOT directly transfer ether to token holders in this function. /// MUST emit a `DividendsDistributed` event when the amount of distributed ether is greater than 0. function distributeDividends() external payable; /// @notice Withdraws the ether distributed to the sender. /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer. /// MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0. function withdrawDividend() external; /// @dev This event MUST emit when ether is distributed to token holders. /// @param from The address which sends ether to this contract. /// @param weiAmount The amount of distributed ether in wei. event DividendsDistributed( address indexed from, uint256 weiAmount ); /// @dev This event MUST emit when an address withdraws their dividend. /// @param to The address which withdraws ether from this contract. /// @param weiAmount The amount of withdrawn ether in wei. event DividendWithdrawn( address indexed to, uint256 weiAmount, address received ); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /// @title Dividend-Paying Token Optional Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev OPTIONAL functions for a dividend-paying token contract. interface DividendPayingTokenOptionalInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) external view returns(uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; import "./IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": { "contracts/IterableMapping.sol": { "IterableMapping": "0x766E62DBba776Db5595bc586410277649DA8fb49" } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"uniswapV2RouterAddress","type":"address"},{"internalType":"address","name":"wbtcAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"DividendClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"allowPreTrading","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":[],"name":"antibotEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_address","type":"address"}],"name":"assignAntiBot","outputs":[],"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":"address","name":"","type":"address"}],"name":"canTransferBeforeTradingIsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"reinvest","type":"bool"},{"internalType":"uint256","name":"minTokens","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"dailyTransfers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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 NirosDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromDailyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAccount","outputs":[{"internalType":"uint256","name":"withdrawableDividends","type":"uint256"},{"internalType":"uint256","name":"withdrawnDividends","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromDailyLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDailyTransferAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPurchaseEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"reinvestInactive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setMaxPurchaseAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setMaxPurchaseEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTime","type":"uint256"}],"name":"setTradingStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleAntiBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalEthFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFee","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":"tradingStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"newAddress","type":"address"}],"name":"updateDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newAddress","type":"address"}],"name":"updateMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","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
6101206040526009805461ffff60b01b1916600160b81b178155600b80546001600160a01b0319908116735c627d0eb32a938e975795b24bf78758758ffcb917909155600c8054909116730f558be7306ff2e0ba6e058adad488eb9d3d1a31179055692c781f708c509f400000600d5568e3aeb5737240a00000600e556002608081905260a052600160c05260e052600a610100526362ce4432600f5569152d02c7e14af6800000601055696f2c4e995ec98e200000601155348015620000c557600080fd5b5060405162006d0738038062006d0783398181016040526040811015620000eb57600080fd5b5080516020918201516040805180820182526005808252644e69726f7360d81b8287019081528351808501909452908352644e49524f5360d81b95830195909552805193949293909262000143916003919062000a5d565b5080516200015990600490602084019062000a5d565b50505060006200016e6200067460201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600680546001600160a01b03191673590c2b20f7920a2d21ed32a21b616906b4209a43908117909155604051620001f39062000ae2565b604051809103906000f08015801562000210573d6000803e3d6000fd5b50600a60006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060008390506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200027857600080fd5b505afa1580156200028d573d6000803e3d6000fd5b505050506040513d6020811015620002a457600080fd5b5051604080516315ab88c960e31b815290516001600160a01b039283169263c9c653969230929187169163ad5c464891600480820192602092909190829003018186803b158015620002f557600080fd5b505afa1580156200030a573d6000803e3d6000fd5b505050506040513d60208110156200032157600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b1580156200037457600080fd5b505af115801562000389573d6000803e3d6000fd5b505050506040513d6020811015620003a057600080fd5b5051600780546001600160a01b038086166001600160a01b0319928316179092556009805483851690831617905560088054928816929091169190911790559050620003ee81600162000678565b600a546040805163031e79db60e41b81526001600160a01b0390921660048301819052905190916331e79db091602480830192600092919082900301818387803b1580156200043c57600080fd5b505af115801562000451573d6000803e3d6000fd5b5050600a546040805163031e79db60e41b815230600482015290516001600160a01b0390921693506331e79db0925060248082019260009290919082900301818387803b158015620004a257600080fd5b505af1158015620004b7573d6000803e3d6000fd5b5050600a546001600160a01b031691506331e79db09050620004d8620007ab565b6040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b1580156200051857600080fd5b505af11580156200052d573d6000803e3d6000fd5b5050600a546040805163031e79db60e41b81526001600160a01b03878116600483015291519190921693506331e79db09250602480830192600092919082900301818387803b1580156200058057600080fd5b505af115801562000595573d6000803e3d6000fd5b50505050620005ac306001620007ba60201b60201c565b620005c2620005ba620007ab565b6001620007ba565b600160136000620005d2620007ab565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526017928390529081208054909316600190811790935562000621620007ab565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556200066962000657620007ab565b6a115eec47f6cf7e35000000620008e7565b505050505062000b07565b3390565b6001600160a01b03821660009081526014602052604090205460ff1615158115151415620006d85760405162461bcd60e51b815260040180806020018281038252603f81526020018062006c97603f913960400191505060405180910390fd5b6001600160a01b0382166000908152601460205260409020805460ff191682158015919091179091556200076f57600a546040805163031e79db60e41b81526001600160a01b038581166004830152915191909216916331e79db091602480830192600092919082900301818387803b1580156200075557600080fd5b505af11580156200076a573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b031690565b620007c462000674565b6005546001600160a01b0390811691161462000827576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03821660009081526012602052604090205460ff1615158115151415620008875760405162461bcd60e51b815260040180806020018281038252603181526020018062006cd66031913960400191505060405180910390fd5b6001600160a01b038216600081815260126020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b6001600160a01b03821662000943576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200095160008383620009f6565b6200096d81600254620009fb60201b620025cb1790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620009a0918390620025cb620009fb821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b60008282018381101562000a56576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000aa057805160ff191683800117855562000ad0565b8280016001018555821562000ad0579182015b8281111562000ad057825182559160200191906001019062000ab3565b5062000ade92915062000af0565b5090565b611b70806200512783390190565b5b8082111562000ade576000815560010162000af1565b60805160a05160c05160e051610100516145b362000b7460003980610e135280612d7752806136165250806123f5528061363b5280613680528061370c5280613798525080611eb552806137bd52508061196252806137315250806118bb52806136a552506145b36000f3fe60806040526004361061036f5760003560e01c806370b7b80c116101c6578063a5fa12f0116100f7578063d505a36411610095578063e2f456051161006f578063e2f4560514610c7c578063f2fde38b14610c91578063f3f647fc14610cc4578063fbcbc0f114610cf757610376565b8063d505a36414610bfa578063dd62ed3e14610c2c578063e14342c014610c6757610376565b8063af74ff5b116100d1578063af74ff5b14610af8578063b62496f514610b0d578063c024666814610b40578063c492f04614610b7b57610376565b8063a5fa12f014610a62578063a8b9d24014610a8c578063a9059cbb14610abf57610376565b80638db038f51161016457806398982ccf1161013e57806398982ccf146109a05780639a7a23d6146109d9578063a457c2d714610a14578063a5ece94114610a4d57610376565b80638db038f51461096157806395d89b411461097657806398118cb41461098b57610376565b806385033762116101a057806385033762146108d15780638873cd531461090457806388bdd9be146109195780638da5cb5b1461094c57610376565b806370b7b80c14610874578063715018a6146108895780637e0e155c1461089e57610376565b80633ad10ef6116102a057806363c6ad761161023e5780636827e764116102185780636827e764146107e45780636843cd84146107f95780636b67c4df1461082c57806370a082311461084157610376565b806363c6ad761461076957806364b0f6531461079c57806365b8dbc0146107b157610376565b80634ef901dc1161027a5780634ef901dc146106a65780634fbee193146106d05780635b6612ad1461070357806362caa7041461073657610376565b80633ad10ef61461066757806341bf9fdc1461067c57806349bd5a5e1461069157610376565b806323b872dd1161030d57806330bb4cff116102e757806330bb4cff146105b3578063313ce567146105c857806337f7c6f9146105f3578063395093511461062e57610376565b806323b872dd146105205780632c1f5216146105635780632f9c45691461057857610376565b806318160ddd1161034957806318160ddd146104835780631df4ccfc146104aa5780632354a17c146104bf5780632369bf83146104ed57610376565b806306fdde031461037b578063095ea7b3146104055780631694505e1461045257610376565b3661037657005b600080fd5b34801561038757600080fd5b50610390610d48565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103ca5781810151838201526020016103b2565b50505050905090810190601f1680156103f75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561041157600080fd5b5061043e6004803603604081101561042857600080fd5b506001600160a01b038135169060200135610dde565b604080519115158252519081900360200190f35b34801561045e57600080fd5b50610467610dfc565b604080516001600160a01b039092168252519081900360200190f35b34801561048f57600080fd5b50610498610e0b565b60408051918252519081900360200190f35b3480156104b657600080fd5b50610498610e11565b3480156104cb57600080fd5b506104eb600480360360208110156104e257600080fd5b50351515610e35565b005b3480156104f957600080fd5b506104eb6004803603602081101561051057600080fd5b50356001600160a01b0316610efb565b34801561052c57600080fd5b5061043e6004803603606081101561054357600080fd5b506001600160a01b03813581169160208101359091169060400135610f75565b34801561056f57600080fd5b50610467610ffc565b34801561058457600080fd5b506104eb6004803603604081101561059b57600080fd5b506001600160a01b038135169060200135151561100b565b3480156105bf57600080fd5b506104986110ec565b3480156105d457600080fd5b506105dd611162565b6040805160ff9092168252519081900360200190f35b3480156105ff57600080fd5b506104eb6004803603604081101561061657600080fd5b506001600160a01b0381351690602001351515611167565b34801561063a57600080fd5b5061043e6004803603604081101561065157600080fd5b506001600160a01b038135169060200135611248565b34801561067357600080fd5b50610467611296565b34801561068857600080fd5b5061043e6112a5565b34801561069d57600080fd5b506104676112b5565b3480156106b257600080fd5b506104eb600480360360208110156106c957600080fd5b50356112c4565b3480156106dc57600080fd5b5061043e600480360360208110156106f357600080fd5b50356001600160a01b03166113cb565b34801561070f57600080fd5b506104986004803603602081101561072657600080fd5b50356001600160a01b03166113e9565b34801561074257600080fd5b506104eb6004803603602081101561075957600080fd5b50356001600160a01b03166113fb565b34801561077557600080fd5b506104eb6004803603602081101561078c57600080fd5b50356001600160a01b0316611475565b3480156107a857600080fd5b50610498611772565b3480156107bd57600080fd5b506104eb600480360360208110156107d457600080fd5b50356001600160a01b03166117b7565b3480156107f057600080fd5b506104986118b9565b34801561080557600080fd5b506104986004803603602081101561081c57600080fd5b50356001600160a01b03166118dd565b34801561083857600080fd5b50610498611960565b34801561084d57600080fd5b506104986004803603602081101561086457600080fd5b50356001600160a01b0316611984565b34801561088057600080fd5b5061049861199f565b34801561089557600080fd5b506104eb6119a5565b3480156108aa57600080fd5b5061043e600480360360208110156108c157600080fd5b50356001600160a01b0316611a47565b3480156108dd57600080fd5b506104eb600480360360208110156108f457600080fd5b50356001600160a01b0316611a5c565b34801561091057600080fd5b50610498611ad6565b34801561092557600080fd5b506104eb6004803603602081101561093c57600080fd5b50356001600160a01b0316611adc565b34801561095857600080fd5b50610467611e33565b34801561096d57600080fd5b5061043e611e42565b34801561098257600080fd5b50610390611e52565b34801561099757600080fd5b50610498611eb3565b3480156109ac57600080fd5b50610498600480360360408110156109c357600080fd5b50803590602001356001600160a01b0316611ed7565b3480156109e557600080fd5b506104eb600480360360408110156109fc57600080fd5b506001600160a01b0381351690602001351515611ef4565b348015610a2057600080fd5b5061043e60048036036040811015610a3757600080fd5b506001600160a01b038135169060200135611fa7565b348015610a5957600080fd5b5061046761200f565b348015610a6e57600080fd5b506104eb60048036036020811015610a8557600080fd5b503561201e565b348015610a9857600080fd5b5061049860048036036020811015610aaf57600080fd5b50356001600160a01b031661207b565b348015610acb57600080fd5b5061043e60048036036040811015610ae257600080fd5b506001600160a01b0381351690602001356120cc565b348015610b0457600080fd5b506104eb6120e0565b348015610b1957600080fd5b5061043e60048036036020811015610b3057600080fd5b50356001600160a01b0316612172565b348015610b4c57600080fd5b506104eb60048036036040811015610b6357600080fd5b506001600160a01b0381351690602001351515612187565b348015610b8757600080fd5b506104eb60048036036040811015610b9e57600080fd5b810190602081018135640100000000811115610bb957600080fd5b820183602082011115610bcb57600080fd5b80359060200191846020830284011164010000000083111715610bed57600080fd5b919350915035151561229d565b348015610c0657600080fd5b506104eb60048036036040811015610c1d57600080fd5b508035151590602001356123bd565b348015610c3857600080fd5b5061049860048036036040811015610c4f57600080fd5b506001600160a01b03813581169160200135166123c8565b348015610c7357600080fd5b506104986123f3565b348015610c8857600080fd5b50610498612417565b348015610c9d57600080fd5b506104eb60048036036020811015610cb457600080fd5b50356001600160a01b031661241d565b348015610cd057600080fd5b5061043e60048036036020811015610ce757600080fd5b50356001600160a01b0316612516565b348015610d0357600080fd5b50610d2a60048036036020811015610d1a57600080fd5b50356001600160a01b031661252b565b60408051938452602084019290925282820152519081900360600190f35b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610dd45780601f10610da957610100808354040283529160200191610dd4565b820191906000526020600020905b815481529060010190602001808311610db757829003601f168201915b5050505050905090565b6000610df2610deb61262c565b8484612630565b5060015b92915050565b6007546001600160a01b031681565b60025490565b7f000000000000000000000000000000000000000000000000000000000000000081565b610e3d61262c565b6005546001600160a01b03908116911614610e8d576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b60095460ff600160b81b9091041615158115151415610edd5760405162461bcd60e51b815260040180806020018281038252603d8152602001806142f8603d913960400191505060405180910390fd5b60098054911515600160b81b0260ff60b81b19909216919091179055565b610f0361262c565b6005546001600160a01b03908116911614610f53576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610f8284848461271c565b610ff284610f8e61262c565b610fed85604051806060016040528060288152602001614356602891396001600160a01b038a16600090815260016020526040812090610fcc61262c565b6001600160a01b031681526020810191909152604001600020549190612f58565b612630565b5060019392505050565b600a546001600160a01b031681565b61101361262c565b6005546001600160a01b03908116911614611063576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526013602052604090205460ff16151581151514156110c15760405162461bcd60e51b81526004018080602001828103825260358152602001806144516035913960400191505060405180910390fd5b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b600a54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b15801561113157600080fd5b505afa158015611145573d6000803e3d6000fd5b505050506040513d602081101561115b57600080fd5b5051905090565b601290565b61116f61262c565b6005546001600160a01b039081169116146111bf576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526017602052604090205460ff161515811515141561121d5760405162461bcd60e51b815260040180806020018281038252603f815260200180614206603f913960400191505060405180910390fd5b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6000610df261125561262c565b84610fed856001600061126661262c565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906125cb565b600b546001600160a01b031681565b600954600160b01b900460ff1681565b6009546001600160a01b031681565b6112cc61262c565b6005546001600160a01b0390811691161461131c576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b42600f5411611372576040805162461bcd60e51b815260206004820152601b60248201527f54726164696e672068617320616c726561647920737461727465640000000000604482015290519081900360640190fd5b4281116113c6576040805162461bcd60e51b815260206004820181905260248201527f53746172742074696d65206d75737420626520696e2074686520667574757265604482015290519081900360640190fd5b600f55565b6001600160a01b031660009081526012602052604090205460ff1690565b60166020526000908152604090205481565b61140361262c565b6005546001600160a01b03908116911614611453576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b61147d61262c565b6005546001600160a01b039081169116146114cd576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b600a54604080516370a0823160e01b81526001600160a01b038481166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b15801561151e57600080fd5b505afa158015611532573d6000803e3d6000fd5b505050506040513d602081101561154857600080fd5b505160105490915081111561158e5760405162461bcd60e51b815260040180806020018281038252604c81526020018061450d604c913960600191505060405180910390fd5b6001600160a01b038216600090815260166020526040902054626ebe006115b54283612fef565b116115f15760405162461bcd60e51b815260040180806020018281038252603c8152602001806140bf603c913960400191505060405180910390fd5b600a54604080516352b5f81d60e01b81526001600160a01b038681166004830152306024830152915191909216916352b5f81d9160448083019260209291908290030181600087803b15801561164657600080fd5b505af115801561165a573d6000803e3d6000fd5b505050506040513d602081101561167057600080fd5b5050600a5460405147916000916001600160a01b039091169083908381818185875af1925050503d80600081146116c3576040519150601f19603f3d011682016040523d82523d6000602084013e6116c8565b606091505b50509050801561176b576040805183815290517fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19181900360200190a1600a54604080516338c110ef60e21b81526001600160a01b038881166004830152600060248301819052925193169263e30443bc9260448084019391929182900301818387803b15801561175857600080fd5b505af1925050508015611769575060015b505b5050505050565b600a54604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b15801561113157600080fd5b6117bf61262c565b6005546001600160a01b0390811691161461180f576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6007546001600160a01b038281169116141561185c5760405162461bcd60e51b815260040180806020018281038252602a8152602001806141b6602a913960400191505060405180910390fd5b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b600a54604080516370a0823160e01b81526001600160a01b038481166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b15801561192e57600080fd5b505afa158015611942573d6000803e3d6000fd5b505050506040513d602081101561195857600080fd5b505192915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b031660009081526020819052604090205490565b600f5481565b6119ad61262c565b6005546001600160a01b039081169116146119fd576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b60136020526000908152604090205460ff1681565b611a6461262c565b6005546001600160a01b03908116911614611ab4576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600d5481565b611ae461262c565b6005546001600160a01b03908116911614611b34576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b600a546001600160a01b0382811691161415611b815760405162461bcd60e51b81526004018080602001828103825260348152602001806141826034913960400191505060405180910390fd5b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611bc957600080fd5b505afa158015611bdd573d6000803e3d6000fd5b505050506040513d6020811015611bf357600080fd5b50516001600160a01b031614611c3a5760405162461bcd60e51b81526004018080602001828103825260498152602001806142456049913960600191505060405180910390fd5b806001600160a01b03166331e79db0826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015611c8957600080fd5b505af1158015611c9d573d6000803e3d6000fd5b50506040805163031e79db60e41b815230600482015290516001600160a01b03851693506331e79db09250602480830192600092919082900301818387803b158015611ce857600080fd5b505af1158015611cfc573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db0611d17611e33565b6040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015611d5657600080fd5b505af1158015611d6a573d6000803e3d6000fd5b50506007546040805163031e79db60e41b81526001600160a01b039283166004820152905191851693506331e79db0925060248082019260009290919082900301818387803b158015611dbc57600080fd5b505af1158015611dd0573d6000803e3d6000fd5b5050600a546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600a80546001600160a01b0319166001600160a01b039290921691909117905550565b6005546001600160a01b031690565b600954600160b81b900460ff1681565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610dd45780601f10610da957610100808354040283529160200191610dd4565b7f000000000000000000000000000000000000000000000000000000000000000081565b601560209081526000928352604080842090915290825290205481565b611efc61262c565b6005546001600160a01b03908116911614611f4c576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6009546001600160a01b0383811691161415611f995760405162461bcd60e51b815260040180806020018281038252604881526020018061428e6048913960600191505060405180910390fd5b611fa38282613031565b5050565b6000610df2611fb461262c565b84610fed856040518060600160405280602581526020016145596025913960016000611fde61262c565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612f58565b600c546001600160a01b031681565b61202661262c565b6005546001600160a01b03908116911614612076576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b601155565b600a54604080516302a2e74960e61b81526001600160a01b0384811660048301529151600093929092169163a8b9d24091602480820192602092909190829003018186803b15801561192e57600080fd5b6000610df26120d961262c565b848461271c565b6120e861262c565b6005546001600160a01b03908116911614612138576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b600954600160b01b900460ff161561215c576009805460ff60b01b19169055612170565b6009805460ff60b01b1916600160b01b1790555b565b60146020526000908152604090205460ff1681565b61218f61262c565b6005546001600160a01b039081169116146121df576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526012602052604090205460ff161515811515141561223d5760405162461bcd60e51b81526004018080602001828103825260318152602001806144b66031913960400191505060405180910390fd5b6001600160a01b038216600081815260126020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b6122a561262c565b6005546001600160a01b039081169116146122f5576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b60005b8281101561234a57816012600086868581811061231157fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff19169115159190911790556001016122f8565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051808060200183151581526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a1505050565b611fa333838361315f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7f000000000000000000000000000000000000000000000000000000000000000081565b600e5481565b61242561262c565b6005546001600160a01b03908116911614612475576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6001600160a01b0381166124ba5760405162461bcd60e51b815260040180806020018281038252602681526020018061413a6026913960400191505060405180910390fd5b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b60176020526000908152604090205460ff1681565b600a546040805163fbcbc0f160e01b81526001600160a01b038481166004830152825160009485948594939091169263fbcbc0f19260248083019392829003018186803b15801561257b57600080fd5b505afa15801561258f573d6000803e3d6000fd5b505050506040513d60408110156125a557600080fd5b508051602090910151909350915082826125be86611984565b9250925092509193909250565b600082820183811015612625576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166126755760405162461bcd60e51b81526004018080602001828103825260248152602001806143c36024913960400191505060405180910390fd5b6001600160a01b0382166126ba5760405162461bcd60e51b81526004018080602001828103825260228152602001806141606022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166127615760405162461bcd60e51b815260040180806020018281038252602581526020018061439e6025913960400191505060405180910390fd5b6001600160a01b0382166127a65760405162461bcd60e51b815260040180806020018281038252602381526020018061409c6023913960400191505060405180910390fd5b42600f541115612807576001600160a01b03831660009081526013602052604090205460ff166128075760405162461bcd60e51b815260040180806020018281038252603f815260200180614412603f913960400191505060405180910390fd5b8061281d5761281883836000613493565b612f53565b600954600160b01b900460ff16156129fb576001600160a01b03831660009081526014602052604090205460ff161561291557600654604080516312bdf42360e01b81526001600160a01b0385811660048301528681166024830152326044830152915191909216916312bdf4239160648083019260209291908290030181600087803b1580156128ad57600080fd5b505af11580156128c1573d6000803e3d6000fd5b505050506040513d60208110156128d757600080fd5b5051156129155760405162461bcd60e51b81526004018080602001828103825260268152602001806144e76026913960400191505060405180910390fd5b6001600160a01b03821660009081526014602052604090205460ff16156129fb57600654604080516312bdf42360e01b81526001600160a01b0386811660048301528581166024830152326044830152915191909216916312bdf4239160648083019260209291908290030181600087803b15801561299357600080fd5b505af11580156129a7573d6000803e3d6000fd5b505050506040513d60208110156129bd57600080fd5b5051156129fb5760405162461bcd60e51b81526004018080602001828103825260268152602001806144e76026913960400191505060405180910390fd5b6001600160a01b03831660009081526017602052604090205460ff16158015612a3d57506001600160a01b03831660009081526014602052604090205460ff16155b15612abf57600d54612a828260156000612a556135ee565b8152602080820192909252604090810160009081206001600160a01b038a168252909252902054906125cb565b1115612abf5760405162461bcd60e51b81526004018080602001828103825260308152602001806144866030913960400191505060405180910390fd5b612afc8160156000612acf6135ee565b8152602080820192909252604090810160009081206001600160a01b0389168252909252902054906125cb565b60156000612b086135ee565b8152602080820192909252604090810160009081206001600160a01b0388168252909252902055600954600160b81b900460ff168015612b6157506001600160a01b03821660009081526017602052604090205460ff16155b8015612b8557506001600160a01b03831660009081526014602052604090205460ff165b15612bcb57601154811115612bcb5760405162461bcd60e51b81526004018080602001828103825260228152602001806142d66022913960400191505060405180910390fd5b6000612bd630611984565b600e5490915081108015908190612bf75750600954600160a01b900460ff16155b8015612c0d5750600954600160a81b900460ff16155b8015612c3257506001600160a01b03851660009081526014602052604090205460ff16155b8015612c5757506001600160a01b03851660009081526012602052604090205460ff16155b8015612c7c57506001600160a01b03841660009081526012602052604090205460ff16155b15612caa576009805460ff60a01b1916600160a01b179055612c9c613602565b6009805460ff60a01b191690555b600954600090600160a01b900460ff16158015612cd15750600954600160a81b900460ff16155b6001600160a01b03871660009081526012602052604090205490915060ff1680612d1357506001600160a01b03851660009081526012602052604090205460ff165b80612d5b57506001600160a01b03861660009081526014602052604090205460ff16158015612d5b57506001600160a01b03851660009081526014602052604090205460ff16155b15612d64575060005b8015612dbc576000612da16064612d9b877f000000000000000000000000000000000000000000000000000000000000000061388c565b906138e5565b9050612dad8582612fef565b9450612dba873083613493565b505b612dc7868686613493565b600a546001600160a01b031663e30443bc87612de281611984565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612e2857600080fd5b505af1925050508015612e39575060015b50600a546001600160a01b031663e30443bc86612e5581611984565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612e9b57600080fd5b505af1925050508015612eac575060015b50600954600160b01b900460ff1615612f28576006546040805163b25d625960e01b81526001600160a01b03898116600483015288811660248301529151919092169163b25d625991604480830192600092919082900301818387803b158015612f1557600080fd5b505af1925050508015612f26575060015b505b5050506001600160a01b03808416600090815260166020526040808220429081905592851682529020555b505050565b60008184841115612fe75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612fac578181015183820152602001612f94565b50505050905090810190601f168015612fd95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061262583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612f58565b6001600160a01b03821660009081526014602052604090205460ff161515811515141561308f5760405162461bcd60e51b815260040180806020018281038252603f8152602001806140fb603f913960400191505060405180910390fd5b6001600160a01b0382166000908152601460205260409020805460ff1916821580159190911790915561312357600a546040805163031e79db60e41b81526001600160a01b038581166004830152915191909216916331e79db091602480830192600092919082900301818387803b15801561310a57600080fd5b505af115801561311e573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b600a54604080516302a2e74960e61b81526001600160a01b0386811660048301529151600093929092169163a8b9d24091602480820192602092909190829003018186803b1580156131b057600080fd5b505afa1580156131c4573d6000803e3d6000fd5b505050506040513d60208110156131da57600080fd5b505190508061321a5760405162461bcd60e51b815260040180806020018281038252602b8152602001806143e7602b913960400191505060405180910390fd5b8261338657600a54604080516352b5f81d60e01b81526001600160a01b038781166004830152306024830152915160009392909216916352b5f81d9160448082019260209290919082900301818787803b15801561327757600080fd5b505af115801561328b573d6000803e3d6000fd5b505050506040513d60208110156132a157600080fd5b50519050801561337f5760006132b88260026138e5565b905060006132c882600089613927565b905080156132dd576132da8383612fef565b92505b6040516000906001600160a01b0389169085908381818185875af1925050503d8060008114613328576040519150601f19603f3d011682016040523d82523d6000602084013e61332d565b606091505b505060408051868152600060208201526001600160a01b038b168183015290519192507f67dd3d116bf53e0ddda53bb148a5fdc129854e1c507c0eeda9190049a9bbc84f919081900360600190a15050505b5050612f53565b600a54604080516352b5f81d60e01b81526001600160a01b038781166004830152306024830152915160009392909216916352b5f81d9160448082019260209290919082900301818787803b1580156133de57600080fd5b505af11580156133f2573d6000803e3d6000fd5b505050506040513d602081101561340857600080fd5b50519050801561176b576009805460ff60a81b1916600160a81b1790556000613432828588613bd7565b6009805460ff60a81b1916905560408051848152602081018390526001600160a01b0389168183015290519192507f67dd3d116bf53e0ddda53bb148a5fdc129854e1c507c0eeda9190049a9bbc84f919081900360600190a1505050505050565b6001600160a01b0383166134d85760405162461bcd60e51b815260040180806020018281038252602581526020018061439e6025913960400191505060405180910390fd5b6001600160a01b03821661351d5760405162461bcd60e51b815260040180806020018281038252602381526020018061409c6023913960400191505060405180910390fd5b613528838383612f53565b613565816040518060600160405280602681526020016141e0602691396001600160a01b0386166000908152602081905260409020549190612f58565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461359490826125cb565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60006135fd42620151806138e5565b905090565b600061360d30611984565b9050600061365f7f0000000000000000000000000000000000000000000000000000000000000000612d9b847f000000000000000000000000000000000000000000000000000000000000000061388c565b9050600061366d8383612fef565b905061367882613dbd565b4760006136c97f0000000000000000000000000000000000000000000000000000000000000000612d9b847f000000000000000000000000000000000000000000000000000000000000000061388c565b600b546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015613704573d6000803e3d6000fd5b5060006137557f0000000000000000000000000000000000000000000000000000000000000000612d9b857f000000000000000000000000000000000000000000000000000000000000000061388c565b600c546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015613790573d6000803e3d6000fd5b5060006137e17f0000000000000000000000000000000000000000000000000000000000000000612d9b867f000000000000000000000000000000000000000000000000000000000000000061388c565b90506137ed8582613f63565b600a5460405147916000916001600160a01b039091169083908381818185875af1925050503d806000811461383e576040519150601f19603f3d011682016040523d82523d6000602084013e613843565b606091505b505090508015613881576040805183815290517fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19181900360200190a15b505050505050505050565b60008261389b57506000610df6565b828202828482816138a857fe5b04146126255760405162461bcd60e51b81526004018080602001828103825260218152602001806143356021913960400191505060405180910390fd5b600061262583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250614036565b60408051600280825260608083018452600093909291906020830190803683375050600754604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561399157600080fd5b505afa1580156139a5573d6000803e3d6000fd5b505050506040513d60208110156139bb57600080fd5b5051815182906000906139ca57fe5b6001600160a01b0392831660209182029290920101526008548251911690829060019081106139f557fe5b6001600160a01b03928316602091820292909201810191909152600854604080516370a0823160e01b81528785166004820152905160009492909216926370a0823192602480840193829003018186803b158015613a5257600080fd5b505afa158015613a66573d6000803e3d6000fd5b505050506040513d6020811015613a7c57600080fd5b505160075460405163b6f9de9560e01b8152600481018881526001600160a01b0388811660448401524260648401819052608060248501908152885160848601528851969750919094169463b6f9de95948c948c948a948d949192909160a4909101906020878101910280838360005b83811015613b04578181015183820152602001613aec565b50505050905001955050505050506000604051808303818588803b158015613b2b57600080fd5b505af1158015613b3f573d6000803e3d6000fd5b5050600854604080516370a0823160e01b81526001600160a01b038a81166004830152915160009650613bcc955087945091909216916370a08231916024808301926020929190829003018186803b158015613b9a57600080fd5b505afa158015613bae573d6000803e3d6000fd5b505050506040513d6020811015613bc457600080fd5b505190612fef565b979650505050505050565b60408051600280825260608083018452600093909291906020830190803683375050600754604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b158015613c4157600080fd5b505afa158015613c55573d6000803e3d6000fd5b505050506040513d6020811015613c6b57600080fd5b505181518290600090613c7a57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110613ca857fe5b60200260200101906001600160a01b031690816001600160a01b0316815250506000613cd384611984565b9050600760009054906101000a90046001600160a01b03166001600160a01b031663b6f9de9587878588426040518663ffffffff1660e01b81526004018085815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015613d68578181015183820152602001613d50565b50505050905001955050505050506000604051808303818588803b158015613d8f57600080fd5b505af1158015613da3573d6000803e3d6000fd5b50505050506000613bcc82613db787611984565b90612fef565b60408051600280825260608083018452926020830190803683370190505090503081600081518110613deb57fe5b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015613e3f57600080fd5b505afa158015613e53573d6000803e3d6000fd5b505050506040513d6020811015613e6957600080fd5b5051815182906001908110613e7a57fe5b6001600160a01b039283166020918202929092010152600754613ea09130911684612630565b60075460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b83811015613f26578181015183820152602001613f0e565b505050509050019650505050505050600060405180830381600087803b158015613f4f57600080fd5b505af1158015611769573d6000803e3d6000fd5b600754613f7b9030906001600160a01b031684612630565b6007546001600160a01b031663f305d719823085600080613f9a611e33565b426040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b15801561400557600080fd5b505af1158015614019573d6000803e3d6000fd5b50505050506040513d606081101561403057600080fd5b50505050565b600081836140855760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612fac578181015183820152602001612f94565b50600083858161409157fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734e69726f733a204163636f756e74206d7573742068617665206265656e20696e61637469766520666f72206174206c65617374203132207765656b734e69726f733a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c75654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573734e69726f733a20546865206469766964656e6420747261636b657220616c726561647920686173207468617420616464726573734e69726f733a2054686520726f7574657220616c7265616479206861732074686174206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654e69726f733a204461696c79206c696d6974206578636c7573696f6e20697320616c7265616479207468652076616c7565206f6620276578636c75646564274e69726f733a20546865206e6577206469766964656e6420747261636b6572206d757374206265206f776e656420627920746865204e69726f7320746f6b656e20636f6e74726163744e69726f733a2054686520556e695377617020706169722063616e6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b657250616972734e69726f733a2045786365656473206d617820707572636861736520616d6f756e744e69726f733a204d617820707572636861736520656e61626c656420697320616c7265616479207468652076616c7565206f662027656e61626c656427536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734e69726f733a20436c61696d657220686173206e6f20776974686472617761626c65206469766964656e644e69726f733a2054686973206163636f756e742063616e6e6f742073656e6420746f6b656e7320756e74696c2074726164696e6720697320656e61626c65644e69726f733a205072652074726164696e6720697320616c7265616479207468652076616c7565206f6620276578636c75646564274e69726f733a2054686973206163636f756e7420686173206578636565646564206d6178206461696c79206c696d69744e69726f733a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c756465642742656570204265657020426f6f702c20596f752772652061207069656365206f6620706f6f704e69726f733a204163636f756e742062616c616e6365206d757374206265206c657373207468656e206d696e696d756d20746f6b656e2062616c616e636520666f72206469766964656e647345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205add437d52411f5b1ec7ed6ff640126b9a8e6e83ba73d51ce9c3320660277f3a64736f6c634300060c003360a06040523480156200001157600080fd5b5060408051808201825260168082527f4e69726f735f4469766964656e645f547261636b657200000000000000000000602080840182815285518087019096529285528401528151919291839183916200006e9160039162000101565b5080516200008490600490602084019062000101565b505050505060006200009b620000fd60201b60201c565b600980546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35069021e19e0c9bab24000006080526200019d565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200014457805160ff191683800117855562000174565b8280016001018555821562000174579182015b828111156200017457825182559160200191906001019062000157565b506200018292915062000186565b5090565b5b8082111562000182576000815560010162000187565b6080516119b3620001bd60003980610dd15280610e9e52506119b36000f3fe6080604052600436106101bb5760003560e01c8063715018a6116100ec578063a9059cbb1161008a578063dd62ed3e11610064578063dd62ed3e1461063d578063e30443bc14610678578063f2fde38b146106b1578063fbcbc0f1146106e4576101ca565b8063a9059cbb146105bc578063aafd847a146105f5578063be10b61414610628576101ca565b806391b89fba116100c657806391b89fba1461050857806395d89b411461053b578063a457c2d714610550578063a8b9d24014610589576101ca565b8063715018a6146104ad57806385a6b3ae146104c25780638da5cb5b146104d7576101ca565b8063313ce567116101595780634e7b827f116101335780634e7b827f146103f757806352b5f81d1461042a5780636a4740021461046557806370a082311461047a576101ca565b8063313ce5671461036057806331e79db01461038b57806339509351146103be576101ca565b806309bbedde1161019557806309bbedde146102ae57806318160ddd146102d557806323b872dd146102ea57806327ce01471461032d576101ca565b806303c83302146101cf57806306fdde03146101d7578063095ea7b314610261576101ca565b366101ca576101c8610730565b005b600080fd5b6101c8610730565b3480156101e357600080fd5b506101ec6107c1565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022657818101518382015260200161020e565b50505050905090810190601f1680156102535780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026d57600080fd5b5061029a6004803603604081101561028457600080fd5b506001600160a01b038135169060200135610857565b604080519115158252519081900360200190f35b3480156102ba57600080fd5b506102c3610875565b60408051918252519081900360200190f35b3480156102e157600080fd5b506102c361087b565b3480156102f657600080fd5b5061029a6004803603606081101561030d57600080fd5b506001600160a01b03813581169160208101359091169060400135610881565b34801561033957600080fd5b506102c36004803603602081101561035057600080fd5b50356001600160a01b0316610908565b34801561036c57600080fd5b50610375610965565b6040805160ff9092168252519081900360200190f35b34801561039757600080fd5b506101c8600480360360208110156103ae57600080fd5b50356001600160a01b031661096a565b3480156103ca57600080fd5b5061029a600480360360408110156103e157600080fd5b506001600160a01b038135169060200135610ac6565b34801561040357600080fd5b5061029a6004803603602081101561041a57600080fd5b50356001600160a01b0316610b14565b34801561043657600080fd5b506102c36004803603604081101561044d57600080fd5b506001600160a01b0381358116916020013516610b29565b34801561047157600080fd5b506101c8610b97565b34801561048657600080fd5b506102c36004803603602081101561049d57600080fd5b50356001600160a01b0316610bce565b3480156104b957600080fd5b506101c8610be9565b3480156104ce57600080fd5b506102c3610c8b565b3480156104e357600080fd5b506104ec610c91565b604080516001600160a01b039092168252519081900360200190f35b34801561051457600080fd5b506102c36004803603602081101561052b57600080fd5b50356001600160a01b0316610ca0565b34801561054757600080fd5b506101ec610cab565b34801561055c57600080fd5b5061029a6004803603604081101561057357600080fd5b506001600160a01b038135169060200135610d0c565b34801561059557600080fd5b506102c3600480360360208110156105ac57600080fd5b50356001600160a01b0316610d74565b3480156105c857600080fd5b5061029a600480360360408110156105df57600080fd5b506001600160a01b038135169060200135610da0565b34801561060157600080fd5b506102c36004803603602081101561061857600080fd5b50356001600160a01b0316610db4565b34801561063457600080fd5b506102c3610dcf565b34801561064957600080fd5b506102c36004803603604081101561066057600080fd5b506001600160a01b0381358116916020013516610df3565b34801561068457600080fd5b506101c86004803603604081101561069b57600080fd5b506001600160a01b038135169060200135610e1e565b3480156106bd57600080fd5b506101c8600480360360208110156106d457600080fd5b50356001600160a01b0316610fdb565b3480156106f057600080fd5b506107176004803603602081101561070757600080fd5b50356001600160a01b03166110d4565b6040805192835260208301919091528051918290030190f35b600061073a61087b565b1161074457600080fd5b34156107bf5761077561075561087b565b61076334600160801b611101565b8161076a57fe5b600554919004611161565b60055560408051348152905133917fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511919081900360200190a26008546107bb9034611161565b6008555b565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561084d5780601f106108225761010080835404028352916020019161084d565b820191906000526020600020905b81548152906001019060200180831161083057829003601f168201915b5050505050905090565b600061086b6108646111bb565b84846111bf565b5060015b92915050565b600a5490565b60025490565b600061088e8484846111fb565b6108fe8461089a6111bb565b6108f9856040518060600160405280602881526020016118c4602891396001600160a01b038a166000908152600160205260408120906108d86111bb565b6001600160a01b031681526020810191909152604001600020549190611232565b6111bf565b5060019392505050565b6001600160a01b038116600090815260066020526040812054600160801b90610957906109529061094c61094761093e88610bce565b60055490611101565b6112c9565b906112d9565b61130c565b8161095e57fe5b0492915050565b601290565b6109726111bb565b6009546001600160a01b039081169116146109c2576040805162461bcd60e51b815260206004820181905260248201526000805160206118ec833981519152604482015290519081900360640190fd5b6001600160a01b0381166000908152600e602052604090205460ff16156109e857600080fd5b6001600160a01b0381166000908152600e60205260408120805460ff19166001179055610a1690829061131f565b6040805163131836e760e21b8152600a60048201526001600160a01b0383166024820152905173766e62dbba776db5595bc586410277649da8fb4991634c60db9c916044808301926000929190829003018186803b158015610a7757600080fd5b505af4158015610a8b573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b600061086b610ad36111bb565b846108f98560016000610ae46111bb565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611161565b600e6020526000908152604090205460ff1681565b6000610b336111bb565b6009546001600160a01b03908116911614610b83576040805162461bcd60e51b815260206004820181905260248201526000805160206118ec833981519152604482015290519081900360640190fd5b6000610b8f8484611378565b949350505050565b60405162461bcd60e51b81526004018080602001828103825260678152602001806118106067913960800191505060405180910390fd5b6001600160a01b031660009081526020819052604090205490565b610bf16111bb565b6009546001600160a01b03908116911614610c41576040805162461bcd60e51b815260206004820181905260248201526000805160206118ec833981519152604482015290519081900360640190fd5b6009546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600980546001600160a01b0319169055565b60085481565b6009546001600160a01b031690565b600061086f82610d74565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561084d5780601f106108225761010080835404028352916020019161084d565b600061086b610d196111bb565b846108f9856040518060600160405280602581526020016119596025913960016000610d436111bb565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611232565b6001600160a01b03811660009081526007602052604081205461086f90610d9a84610908565b906114bf565b600061086b610dad6111bb565b84846111fb565b6001600160a01b031660009081526007602052604090205490565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610e266111bb565b6009546001600160a01b03908116911614610e76576040805162461bcd60e51b815260206004820181905260248201526000805160206118ec833981519152604482015290519081900360640190fd5b6001600160a01b0382166000908152600e602052604090205460ff1615610e9c57610fd7565b7f00000000000000000000000000000000000000000000000000000000000000008110610f5257610ecd828261131f565b60408051632f0ad01760e21b8152600a60048201526001600160a01b038416602482015260448101839052905173766e62dbba776db5595bc586410277649da8fb499163bc2b405c916064808301926000929190829003018186803b158015610f3557600080fd5b505af4158015610f49573d6000803e3d6000fd5b50505050610fd7565b610f5d82600061131f565b6040805163131836e760e21b8152600a60048201526001600160a01b0384166024820152905173766e62dbba776db5595bc586410277649da8fb4991634c60db9c916044808301926000929190829003018186803b158015610fbe57600080fd5b505af4158015610fd2573d6000803e3d6000fd5b505050505b5050565b610fe36111bb565b6009546001600160a01b03908116911614611033576040805162461bcd60e51b815260206004820181905260248201526000805160206118ec833981519152604482015290519081900360640190fd5b6001600160a01b0381166110785760405162461bcd60e51b81526004018080602001828103825260268152602001806117ea6026913960400191505060405180910390fd5b6009546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000806110e083610d74565b6001600160a01b039093166000908152600760205260409020549293915050565b6000826111105750600061086f565b8282028284828161111d57fe5b041461115a5760405162461bcd60e51b81526004018080602001828103825260218152602001806118776021913960400191505060405180910390fd5b9392505050565b60008282018381101561115a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b60405162461bcd60e51b815260040180806020018281038252602c815260200180611898602c913960400191505060405180910390fd5b505050565b60405162461bcd60e51b815260040180806020018281038252602c81526020018061192d602c913960400191505060405180910390fd5b600081848411156112c15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561128657818101518382015260200161126e565b50505050905090810190601f1680156112b35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818181121561086f57600080fd5b60008282018183128015906112ee5750838112155b80611303575060008312801561130357508381125b61115a57600080fd5b60008082121561131b57600080fd5b5090565b600061132a83610bce565b90508082111561135257600061134083836114bf565b905061134c8482611501565b506111f6565b808210156111f657600061136682846114bf565b90506113728482611565565b50505050565b60008061138484610d74565b905080156114b5576001600160a01b0384166000908152600760205260409020546113af9082611161565b6001600160a01b0380861660008181526007602090815260409182902094909455805185815292871693830193909352825190927feb063efb53b3790d2bc15284b59af7544466c8787c2883321ee27095647911b6928290030190a26040516000906001600160a01b0385169083908381818185875af1925050503d8060008114611456576040519150601f19603f3d011682016040523d82523d6000602084013e61145b565b606091505b50509050806114ad576001600160a01b03851660009081526007602052604090205461148790836114bf565b6001600160a01b038616600090815260076020526040812091909155925061086f915050565b50905061086f565b5060009392505050565b600061115a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611232565b61150b82826115a9565b6115456115266109478360055461110190919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611699565b6001600160a01b0390921660009081526006602052604090209190915550565b61156f82826116cb565b61154561158a6109478360055461110190919063ffffffff16565b6001600160a01b038416600090815260066020526040902054906112d9565b6001600160a01b038216611604576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611610600083836111f6565b60025461161d9082611161565b6002556001600160a01b0382166000908152602081905260409020546116439082611161565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183038183128015906116ae5750838113155b806113035750600083128015611303575083811361115a57600080fd5b6001600160a01b0382166117105760405162461bcd60e51b815260040180806020018281038252602181526020018061190c6021913960400191505060405180910390fd5b61171c826000836111f6565b611759816040518060600160405280602281526020016117c8602291396001600160a01b0385166000908152602081905260409020549190611232565b6001600160a01b03831660009081526020819052604090205560025461177f90826114bf565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734e69726f735f4469766964656e645f547261636b65723a2077697468647261774469766964656e642064697361626c65642e20557365207468652027636c61696d272066756e6374696f6e206f6e20746865206d61696e204e69726f7320636f6e74726163742e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774e69726f735f4469766964656e645f547261636b65723a204e6f20617070726f76616c7320616c6c6f77656445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f20616464726573734e69726f735f4469766964656e645f547261636b65723a204e6f207472616e736665727320616c6c6f77656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b0aca074d3bf87c99ec4787e640be15b1b0a8ca26233d885d3bd977b149eb80064736f6c634300060c00334e69726f733a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c75654e69726f733a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c75646564270000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599
Deployed Bytecode
0x60806040526004361061036f5760003560e01c806370b7b80c116101c6578063a5fa12f0116100f7578063d505a36411610095578063e2f456051161006f578063e2f4560514610c7c578063f2fde38b14610c91578063f3f647fc14610cc4578063fbcbc0f114610cf757610376565b8063d505a36414610bfa578063dd62ed3e14610c2c578063e14342c014610c6757610376565b8063af74ff5b116100d1578063af74ff5b14610af8578063b62496f514610b0d578063c024666814610b40578063c492f04614610b7b57610376565b8063a5fa12f014610a62578063a8b9d24014610a8c578063a9059cbb14610abf57610376565b80638db038f51161016457806398982ccf1161013e57806398982ccf146109a05780639a7a23d6146109d9578063a457c2d714610a14578063a5ece94114610a4d57610376565b80638db038f51461096157806395d89b411461097657806398118cb41461098b57610376565b806385033762116101a057806385033762146108d15780638873cd531461090457806388bdd9be146109195780638da5cb5b1461094c57610376565b806370b7b80c14610874578063715018a6146108895780637e0e155c1461089e57610376565b80633ad10ef6116102a057806363c6ad761161023e5780636827e764116102185780636827e764146107e45780636843cd84146107f95780636b67c4df1461082c57806370a082311461084157610376565b806363c6ad761461076957806364b0f6531461079c57806365b8dbc0146107b157610376565b80634ef901dc1161027a5780634ef901dc146106a65780634fbee193146106d05780635b6612ad1461070357806362caa7041461073657610376565b80633ad10ef61461066757806341bf9fdc1461067c57806349bd5a5e1461069157610376565b806323b872dd1161030d57806330bb4cff116102e757806330bb4cff146105b3578063313ce567146105c857806337f7c6f9146105f3578063395093511461062e57610376565b806323b872dd146105205780632c1f5216146105635780632f9c45691461057857610376565b806318160ddd1161034957806318160ddd146104835780631df4ccfc146104aa5780632354a17c146104bf5780632369bf83146104ed57610376565b806306fdde031461037b578063095ea7b3146104055780631694505e1461045257610376565b3661037657005b600080fd5b34801561038757600080fd5b50610390610d48565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103ca5781810151838201526020016103b2565b50505050905090810190601f1680156103f75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561041157600080fd5b5061043e6004803603604081101561042857600080fd5b506001600160a01b038135169060200135610dde565b604080519115158252519081900360200190f35b34801561045e57600080fd5b50610467610dfc565b604080516001600160a01b039092168252519081900360200190f35b34801561048f57600080fd5b50610498610e0b565b60408051918252519081900360200190f35b3480156104b657600080fd5b50610498610e11565b3480156104cb57600080fd5b506104eb600480360360208110156104e257600080fd5b50351515610e35565b005b3480156104f957600080fd5b506104eb6004803603602081101561051057600080fd5b50356001600160a01b0316610efb565b34801561052c57600080fd5b5061043e6004803603606081101561054357600080fd5b506001600160a01b03813581169160208101359091169060400135610f75565b34801561056f57600080fd5b50610467610ffc565b34801561058457600080fd5b506104eb6004803603604081101561059b57600080fd5b506001600160a01b038135169060200135151561100b565b3480156105bf57600080fd5b506104986110ec565b3480156105d457600080fd5b506105dd611162565b6040805160ff9092168252519081900360200190f35b3480156105ff57600080fd5b506104eb6004803603604081101561061657600080fd5b506001600160a01b0381351690602001351515611167565b34801561063a57600080fd5b5061043e6004803603604081101561065157600080fd5b506001600160a01b038135169060200135611248565b34801561067357600080fd5b50610467611296565b34801561068857600080fd5b5061043e6112a5565b34801561069d57600080fd5b506104676112b5565b3480156106b257600080fd5b506104eb600480360360208110156106c957600080fd5b50356112c4565b3480156106dc57600080fd5b5061043e600480360360208110156106f357600080fd5b50356001600160a01b03166113cb565b34801561070f57600080fd5b506104986004803603602081101561072657600080fd5b50356001600160a01b03166113e9565b34801561074257600080fd5b506104eb6004803603602081101561075957600080fd5b50356001600160a01b03166113fb565b34801561077557600080fd5b506104eb6004803603602081101561078c57600080fd5b50356001600160a01b0316611475565b3480156107a857600080fd5b50610498611772565b3480156107bd57600080fd5b506104eb600480360360208110156107d457600080fd5b50356001600160a01b03166117b7565b3480156107f057600080fd5b506104986118b9565b34801561080557600080fd5b506104986004803603602081101561081c57600080fd5b50356001600160a01b03166118dd565b34801561083857600080fd5b50610498611960565b34801561084d57600080fd5b506104986004803603602081101561086457600080fd5b50356001600160a01b0316611984565b34801561088057600080fd5b5061049861199f565b34801561089557600080fd5b506104eb6119a5565b3480156108aa57600080fd5b5061043e600480360360208110156108c157600080fd5b50356001600160a01b0316611a47565b3480156108dd57600080fd5b506104eb600480360360208110156108f457600080fd5b50356001600160a01b0316611a5c565b34801561091057600080fd5b50610498611ad6565b34801561092557600080fd5b506104eb6004803603602081101561093c57600080fd5b50356001600160a01b0316611adc565b34801561095857600080fd5b50610467611e33565b34801561096d57600080fd5b5061043e611e42565b34801561098257600080fd5b50610390611e52565b34801561099757600080fd5b50610498611eb3565b3480156109ac57600080fd5b50610498600480360360408110156109c357600080fd5b50803590602001356001600160a01b0316611ed7565b3480156109e557600080fd5b506104eb600480360360408110156109fc57600080fd5b506001600160a01b0381351690602001351515611ef4565b348015610a2057600080fd5b5061043e60048036036040811015610a3757600080fd5b506001600160a01b038135169060200135611fa7565b348015610a5957600080fd5b5061046761200f565b348015610a6e57600080fd5b506104eb60048036036020811015610a8557600080fd5b503561201e565b348015610a9857600080fd5b5061049860048036036020811015610aaf57600080fd5b50356001600160a01b031661207b565b348015610acb57600080fd5b5061043e60048036036040811015610ae257600080fd5b506001600160a01b0381351690602001356120cc565b348015610b0457600080fd5b506104eb6120e0565b348015610b1957600080fd5b5061043e60048036036020811015610b3057600080fd5b50356001600160a01b0316612172565b348015610b4c57600080fd5b506104eb60048036036040811015610b6357600080fd5b506001600160a01b0381351690602001351515612187565b348015610b8757600080fd5b506104eb60048036036040811015610b9e57600080fd5b810190602081018135640100000000811115610bb957600080fd5b820183602082011115610bcb57600080fd5b80359060200191846020830284011164010000000083111715610bed57600080fd5b919350915035151561229d565b348015610c0657600080fd5b506104eb60048036036040811015610c1d57600080fd5b508035151590602001356123bd565b348015610c3857600080fd5b5061049860048036036040811015610c4f57600080fd5b506001600160a01b03813581169160200135166123c8565b348015610c7357600080fd5b506104986123f3565b348015610c8857600080fd5b50610498612417565b348015610c9d57600080fd5b506104eb60048036036020811015610cb457600080fd5b50356001600160a01b031661241d565b348015610cd057600080fd5b5061043e60048036036020811015610ce757600080fd5b50356001600160a01b0316612516565b348015610d0357600080fd5b50610d2a60048036036020811015610d1a57600080fd5b50356001600160a01b031661252b565b60408051938452602084019290925282820152519081900360600190f35b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610dd45780601f10610da957610100808354040283529160200191610dd4565b820191906000526020600020905b815481529060010190602001808311610db757829003601f168201915b5050505050905090565b6000610df2610deb61262c565b8484612630565b5060015b92915050565b6007546001600160a01b031681565b60025490565b7f000000000000000000000000000000000000000000000000000000000000000a81565b610e3d61262c565b6005546001600160a01b03908116911614610e8d576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b60095460ff600160b81b9091041615158115151415610edd5760405162461bcd60e51b815260040180806020018281038252603d8152602001806142f8603d913960400191505060405180910390fd5b60098054911515600160b81b0260ff60b81b19909216919091179055565b610f0361262c565b6005546001600160a01b03908116911614610f53576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610f8284848461271c565b610ff284610f8e61262c565b610fed85604051806060016040528060288152602001614356602891396001600160a01b038a16600090815260016020526040812090610fcc61262c565b6001600160a01b031681526020810191909152604001600020549190612f58565b612630565b5060019392505050565b600a546001600160a01b031681565b61101361262c565b6005546001600160a01b03908116911614611063576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526013602052604090205460ff16151581151514156110c15760405162461bcd60e51b81526004018080602001828103825260358152602001806144516035913960400191505060405180910390fd5b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b600a54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b15801561113157600080fd5b505afa158015611145573d6000803e3d6000fd5b505050506040513d602081101561115b57600080fd5b5051905090565b601290565b61116f61262c565b6005546001600160a01b039081169116146111bf576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526017602052604090205460ff161515811515141561121d5760405162461bcd60e51b815260040180806020018281038252603f815260200180614206603f913960400191505060405180910390fd5b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6000610df261125561262c565b84610fed856001600061126661262c565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906125cb565b600b546001600160a01b031681565b600954600160b01b900460ff1681565b6009546001600160a01b031681565b6112cc61262c565b6005546001600160a01b0390811691161461131c576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b42600f5411611372576040805162461bcd60e51b815260206004820152601b60248201527f54726164696e672068617320616c726561647920737461727465640000000000604482015290519081900360640190fd5b4281116113c6576040805162461bcd60e51b815260206004820181905260248201527f53746172742074696d65206d75737420626520696e2074686520667574757265604482015290519081900360640190fd5b600f55565b6001600160a01b031660009081526012602052604090205460ff1690565b60166020526000908152604090205481565b61140361262c565b6005546001600160a01b03908116911614611453576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b61147d61262c565b6005546001600160a01b039081169116146114cd576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b600a54604080516370a0823160e01b81526001600160a01b038481166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b15801561151e57600080fd5b505afa158015611532573d6000803e3d6000fd5b505050506040513d602081101561154857600080fd5b505160105490915081111561158e5760405162461bcd60e51b815260040180806020018281038252604c81526020018061450d604c913960600191505060405180910390fd5b6001600160a01b038216600090815260166020526040902054626ebe006115b54283612fef565b116115f15760405162461bcd60e51b815260040180806020018281038252603c8152602001806140bf603c913960400191505060405180910390fd5b600a54604080516352b5f81d60e01b81526001600160a01b038681166004830152306024830152915191909216916352b5f81d9160448083019260209291908290030181600087803b15801561164657600080fd5b505af115801561165a573d6000803e3d6000fd5b505050506040513d602081101561167057600080fd5b5050600a5460405147916000916001600160a01b039091169083908381818185875af1925050503d80600081146116c3576040519150601f19603f3d011682016040523d82523d6000602084013e6116c8565b606091505b50509050801561176b576040805183815290517fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19181900360200190a1600a54604080516338c110ef60e21b81526001600160a01b038881166004830152600060248301819052925193169263e30443bc9260448084019391929182900301818387803b15801561175857600080fd5b505af1925050508015611769575060015b505b5050505050565b600a54604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b15801561113157600080fd5b6117bf61262c565b6005546001600160a01b0390811691161461180f576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6007546001600160a01b038281169116141561185c5760405162461bcd60e51b815260040180806020018281038252602a8152602001806141b6602a913960400191505060405180910390fd5b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000281565b600a54604080516370a0823160e01b81526001600160a01b038481166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b15801561192e57600080fd5b505afa158015611942573d6000803e3d6000fd5b505050506040513d602081101561195857600080fd5b505192915050565b7f000000000000000000000000000000000000000000000000000000000000000281565b6001600160a01b031660009081526020819052604090205490565b600f5481565b6119ad61262c565b6005546001600160a01b039081169116146119fd576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b60136020526000908152604090205460ff1681565b611a6461262c565b6005546001600160a01b03908116911614611ab4576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600d5481565b611ae461262c565b6005546001600160a01b03908116911614611b34576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b600a546001600160a01b0382811691161415611b815760405162461bcd60e51b81526004018080602001828103825260348152602001806141826034913960400191505060405180910390fd5b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611bc957600080fd5b505afa158015611bdd573d6000803e3d6000fd5b505050506040513d6020811015611bf357600080fd5b50516001600160a01b031614611c3a5760405162461bcd60e51b81526004018080602001828103825260498152602001806142456049913960600191505060405180910390fd5b806001600160a01b03166331e79db0826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015611c8957600080fd5b505af1158015611c9d573d6000803e3d6000fd5b50506040805163031e79db60e41b815230600482015290516001600160a01b03851693506331e79db09250602480830192600092919082900301818387803b158015611ce857600080fd5b505af1158015611cfc573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db0611d17611e33565b6040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015611d5657600080fd5b505af1158015611d6a573d6000803e3d6000fd5b50506007546040805163031e79db60e41b81526001600160a01b039283166004820152905191851693506331e79db0925060248082019260009290919082900301818387803b158015611dbc57600080fd5b505af1158015611dd0573d6000803e3d6000fd5b5050600a546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600a80546001600160a01b0319166001600160a01b039290921691909117905550565b6005546001600160a01b031690565b600954600160b81b900460ff1681565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610dd45780601f10610da957610100808354040283529160200191610dd4565b7f000000000000000000000000000000000000000000000000000000000000000181565b601560209081526000928352604080842090915290825290205481565b611efc61262c565b6005546001600160a01b03908116911614611f4c576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6009546001600160a01b0383811691161415611f995760405162461bcd60e51b815260040180806020018281038252604881526020018061428e6048913960600191505060405180910390fd5b611fa38282613031565b5050565b6000610df2611fb461262c565b84610fed856040518060600160405280602581526020016145596025913960016000611fde61262c565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612f58565b600c546001600160a01b031681565b61202661262c565b6005546001600160a01b03908116911614612076576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b601155565b600a54604080516302a2e74960e61b81526001600160a01b0384811660048301529151600093929092169163a8b9d24091602480820192602092909190829003018186803b15801561192e57600080fd5b6000610df26120d961262c565b848461271c565b6120e861262c565b6005546001600160a01b03908116911614612138576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b600954600160b01b900460ff161561215c576009805460ff60b01b19169055612170565b6009805460ff60b01b1916600160b01b1790555b565b60146020526000908152604090205460ff1681565b61218f61262c565b6005546001600160a01b039081169116146121df576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526012602052604090205460ff161515811515141561223d5760405162461bcd60e51b81526004018080602001828103825260318152602001806144b66031913960400191505060405180910390fd5b6001600160a01b038216600081815260126020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b6122a561262c565b6005546001600160a01b039081169116146122f5576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b60005b8281101561234a57816012600086868581811061231157fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff19169115159190911790556001016122f8565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051808060200183151581526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a1505050565b611fa333838361315f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7f000000000000000000000000000000000000000000000000000000000000000981565b600e5481565b61242561262c565b6005546001600160a01b03908116911614612475576040805162461bcd60e51b8152602060048201819052602482015260008051602061437e833981519152604482015290519081900360640190fd5b6001600160a01b0381166124ba5760405162461bcd60e51b815260040180806020018281038252602681526020018061413a6026913960400191505060405180910390fd5b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b60176020526000908152604090205460ff1681565b600a546040805163fbcbc0f160e01b81526001600160a01b038481166004830152825160009485948594939091169263fbcbc0f19260248083019392829003018186803b15801561257b57600080fd5b505afa15801561258f573d6000803e3d6000fd5b505050506040513d60408110156125a557600080fd5b508051602090910151909350915082826125be86611984565b9250925092509193909250565b600082820183811015612625576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166126755760405162461bcd60e51b81526004018080602001828103825260248152602001806143c36024913960400191505060405180910390fd5b6001600160a01b0382166126ba5760405162461bcd60e51b81526004018080602001828103825260228152602001806141606022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166127615760405162461bcd60e51b815260040180806020018281038252602581526020018061439e6025913960400191505060405180910390fd5b6001600160a01b0382166127a65760405162461bcd60e51b815260040180806020018281038252602381526020018061409c6023913960400191505060405180910390fd5b42600f541115612807576001600160a01b03831660009081526013602052604090205460ff166128075760405162461bcd60e51b815260040180806020018281038252603f815260200180614412603f913960400191505060405180910390fd5b8061281d5761281883836000613493565b612f53565b600954600160b01b900460ff16156129fb576001600160a01b03831660009081526014602052604090205460ff161561291557600654604080516312bdf42360e01b81526001600160a01b0385811660048301528681166024830152326044830152915191909216916312bdf4239160648083019260209291908290030181600087803b1580156128ad57600080fd5b505af11580156128c1573d6000803e3d6000fd5b505050506040513d60208110156128d757600080fd5b5051156129155760405162461bcd60e51b81526004018080602001828103825260268152602001806144e76026913960400191505060405180910390fd5b6001600160a01b03821660009081526014602052604090205460ff16156129fb57600654604080516312bdf42360e01b81526001600160a01b0386811660048301528581166024830152326044830152915191909216916312bdf4239160648083019260209291908290030181600087803b15801561299357600080fd5b505af11580156129a7573d6000803e3d6000fd5b505050506040513d60208110156129bd57600080fd5b5051156129fb5760405162461bcd60e51b81526004018080602001828103825260268152602001806144e76026913960400191505060405180910390fd5b6001600160a01b03831660009081526017602052604090205460ff16158015612a3d57506001600160a01b03831660009081526014602052604090205460ff16155b15612abf57600d54612a828260156000612a556135ee565b8152602080820192909252604090810160009081206001600160a01b038a168252909252902054906125cb565b1115612abf5760405162461bcd60e51b81526004018080602001828103825260308152602001806144866030913960400191505060405180910390fd5b612afc8160156000612acf6135ee565b8152602080820192909252604090810160009081206001600160a01b0389168252909252902054906125cb565b60156000612b086135ee565b8152602080820192909252604090810160009081206001600160a01b0388168252909252902055600954600160b81b900460ff168015612b6157506001600160a01b03821660009081526017602052604090205460ff16155b8015612b8557506001600160a01b03831660009081526014602052604090205460ff165b15612bcb57601154811115612bcb5760405162461bcd60e51b81526004018080602001828103825260228152602001806142d66022913960400191505060405180910390fd5b6000612bd630611984565b600e5490915081108015908190612bf75750600954600160a01b900460ff16155b8015612c0d5750600954600160a81b900460ff16155b8015612c3257506001600160a01b03851660009081526014602052604090205460ff16155b8015612c5757506001600160a01b03851660009081526012602052604090205460ff16155b8015612c7c57506001600160a01b03841660009081526012602052604090205460ff16155b15612caa576009805460ff60a01b1916600160a01b179055612c9c613602565b6009805460ff60a01b191690555b600954600090600160a01b900460ff16158015612cd15750600954600160a81b900460ff16155b6001600160a01b03871660009081526012602052604090205490915060ff1680612d1357506001600160a01b03851660009081526012602052604090205460ff165b80612d5b57506001600160a01b03861660009081526014602052604090205460ff16158015612d5b57506001600160a01b03851660009081526014602052604090205460ff16155b15612d64575060005b8015612dbc576000612da16064612d9b877f000000000000000000000000000000000000000000000000000000000000000a61388c565b906138e5565b9050612dad8582612fef565b9450612dba873083613493565b505b612dc7868686613493565b600a546001600160a01b031663e30443bc87612de281611984565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612e2857600080fd5b505af1925050508015612e39575060015b50600a546001600160a01b031663e30443bc86612e5581611984565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612e9b57600080fd5b505af1925050508015612eac575060015b50600954600160b01b900460ff1615612f28576006546040805163b25d625960e01b81526001600160a01b03898116600483015288811660248301529151919092169163b25d625991604480830192600092919082900301818387803b158015612f1557600080fd5b505af1925050508015612f26575060015b505b5050506001600160a01b03808416600090815260166020526040808220429081905592851682529020555b505050565b60008184841115612fe75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612fac578181015183820152602001612f94565b50505050905090810190601f168015612fd95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061262583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612f58565b6001600160a01b03821660009081526014602052604090205460ff161515811515141561308f5760405162461bcd60e51b815260040180806020018281038252603f8152602001806140fb603f913960400191505060405180910390fd5b6001600160a01b0382166000908152601460205260409020805460ff1916821580159190911790915561312357600a546040805163031e79db60e41b81526001600160a01b038581166004830152915191909216916331e79db091602480830192600092919082900301818387803b15801561310a57600080fd5b505af115801561311e573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b600a54604080516302a2e74960e61b81526001600160a01b0386811660048301529151600093929092169163a8b9d24091602480820192602092909190829003018186803b1580156131b057600080fd5b505afa1580156131c4573d6000803e3d6000fd5b505050506040513d60208110156131da57600080fd5b505190508061321a5760405162461bcd60e51b815260040180806020018281038252602b8152602001806143e7602b913960400191505060405180910390fd5b8261338657600a54604080516352b5f81d60e01b81526001600160a01b038781166004830152306024830152915160009392909216916352b5f81d9160448082019260209290919082900301818787803b15801561327757600080fd5b505af115801561328b573d6000803e3d6000fd5b505050506040513d60208110156132a157600080fd5b50519050801561337f5760006132b88260026138e5565b905060006132c882600089613927565b905080156132dd576132da8383612fef565b92505b6040516000906001600160a01b0389169085908381818185875af1925050503d8060008114613328576040519150601f19603f3d011682016040523d82523d6000602084013e61332d565b606091505b505060408051868152600060208201526001600160a01b038b168183015290519192507f67dd3d116bf53e0ddda53bb148a5fdc129854e1c507c0eeda9190049a9bbc84f919081900360600190a15050505b5050612f53565b600a54604080516352b5f81d60e01b81526001600160a01b038781166004830152306024830152915160009392909216916352b5f81d9160448082019260209290919082900301818787803b1580156133de57600080fd5b505af11580156133f2573d6000803e3d6000fd5b505050506040513d602081101561340857600080fd5b50519050801561176b576009805460ff60a81b1916600160a81b1790556000613432828588613bd7565b6009805460ff60a81b1916905560408051848152602081018390526001600160a01b0389168183015290519192507f67dd3d116bf53e0ddda53bb148a5fdc129854e1c507c0eeda9190049a9bbc84f919081900360600190a1505050505050565b6001600160a01b0383166134d85760405162461bcd60e51b815260040180806020018281038252602581526020018061439e6025913960400191505060405180910390fd5b6001600160a01b03821661351d5760405162461bcd60e51b815260040180806020018281038252602381526020018061409c6023913960400191505060405180910390fd5b613528838383612f53565b613565816040518060600160405280602681526020016141e0602691396001600160a01b0386166000908152602081905260409020549190612f58565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461359490826125cb565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60006135fd42620151806138e5565b905090565b600061360d30611984565b9050600061365f7f000000000000000000000000000000000000000000000000000000000000000a612d9b847f000000000000000000000000000000000000000000000000000000000000000961388c565b9050600061366d8383612fef565b905061367882613dbd565b4760006136c97f0000000000000000000000000000000000000000000000000000000000000009612d9b847f000000000000000000000000000000000000000000000000000000000000000261388c565b600b546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015613704573d6000803e3d6000fd5b5060006137557f0000000000000000000000000000000000000000000000000000000000000009612d9b857f000000000000000000000000000000000000000000000000000000000000000261388c565b600c546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015613790573d6000803e3d6000fd5b5060006137e17f0000000000000000000000000000000000000000000000000000000000000009612d9b867f000000000000000000000000000000000000000000000000000000000000000161388c565b90506137ed8582613f63565b600a5460405147916000916001600160a01b039091169083908381818185875af1925050503d806000811461383e576040519150601f19603f3d011682016040523d82523d6000602084013e613843565b606091505b505090508015613881576040805183815290517fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19181900360200190a15b505050505050505050565b60008261389b57506000610df6565b828202828482816138a857fe5b04146126255760405162461bcd60e51b81526004018080602001828103825260218152602001806143356021913960400191505060405180910390fd5b600061262583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250614036565b60408051600280825260608083018452600093909291906020830190803683375050600754604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561399157600080fd5b505afa1580156139a5573d6000803e3d6000fd5b505050506040513d60208110156139bb57600080fd5b5051815182906000906139ca57fe5b6001600160a01b0392831660209182029290920101526008548251911690829060019081106139f557fe5b6001600160a01b03928316602091820292909201810191909152600854604080516370a0823160e01b81528785166004820152905160009492909216926370a0823192602480840193829003018186803b158015613a5257600080fd5b505afa158015613a66573d6000803e3d6000fd5b505050506040513d6020811015613a7c57600080fd5b505160075460405163b6f9de9560e01b8152600481018881526001600160a01b0388811660448401524260648401819052608060248501908152885160848601528851969750919094169463b6f9de95948c948c948a948d949192909160a4909101906020878101910280838360005b83811015613b04578181015183820152602001613aec565b50505050905001955050505050506000604051808303818588803b158015613b2b57600080fd5b505af1158015613b3f573d6000803e3d6000fd5b5050600854604080516370a0823160e01b81526001600160a01b038a81166004830152915160009650613bcc955087945091909216916370a08231916024808301926020929190829003018186803b158015613b9a57600080fd5b505afa158015613bae573d6000803e3d6000fd5b505050506040513d6020811015613bc457600080fd5b505190612fef565b979650505050505050565b60408051600280825260608083018452600093909291906020830190803683375050600754604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b158015613c4157600080fd5b505afa158015613c55573d6000803e3d6000fd5b505050506040513d6020811015613c6b57600080fd5b505181518290600090613c7a57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110613ca857fe5b60200260200101906001600160a01b031690816001600160a01b0316815250506000613cd384611984565b9050600760009054906101000a90046001600160a01b03166001600160a01b031663b6f9de9587878588426040518663ffffffff1660e01b81526004018085815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015613d68578181015183820152602001613d50565b50505050905001955050505050506000604051808303818588803b158015613d8f57600080fd5b505af1158015613da3573d6000803e3d6000fd5b50505050506000613bcc82613db787611984565b90612fef565b60408051600280825260608083018452926020830190803683370190505090503081600081518110613deb57fe5b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015613e3f57600080fd5b505afa158015613e53573d6000803e3d6000fd5b505050506040513d6020811015613e6957600080fd5b5051815182906001908110613e7a57fe5b6001600160a01b039283166020918202929092010152600754613ea09130911684612630565b60075460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b83811015613f26578181015183820152602001613f0e565b505050509050019650505050505050600060405180830381600087803b158015613f4f57600080fd5b505af1158015611769573d6000803e3d6000fd5b600754613f7b9030906001600160a01b031684612630565b6007546001600160a01b031663f305d719823085600080613f9a611e33565b426040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b15801561400557600080fd5b505af1158015614019573d6000803e3d6000fd5b50505050506040513d606081101561403057600080fd5b50505050565b600081836140855760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612fac578181015183820152602001612f94565b50600083858161409157fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734e69726f733a204163636f756e74206d7573742068617665206265656e20696e61637469766520666f72206174206c65617374203132207765656b734e69726f733a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c75654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573734e69726f733a20546865206469766964656e6420747261636b657220616c726561647920686173207468617420616464726573734e69726f733a2054686520726f7574657220616c7265616479206861732074686174206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654e69726f733a204461696c79206c696d6974206578636c7573696f6e20697320616c7265616479207468652076616c7565206f6620276578636c75646564274e69726f733a20546865206e6577206469766964656e6420747261636b6572206d757374206265206f776e656420627920746865204e69726f7320746f6b656e20636f6e74726163744e69726f733a2054686520556e695377617020706169722063616e6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b657250616972734e69726f733a2045786365656473206d617820707572636861736520616d6f756e744e69726f733a204d617820707572636861736520656e61626c656420697320616c7265616479207468652076616c7565206f662027656e61626c656427536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734e69726f733a20436c61696d657220686173206e6f20776974686472617761626c65206469766964656e644e69726f733a2054686973206163636f756e742063616e6e6f742073656e6420746f6b656e7320756e74696c2074726164696e6720697320656e61626c65644e69726f733a205072652074726164696e6720697320616c7265616479207468652076616c7565206f6620276578636c75646564274e69726f733a2054686973206163636f756e7420686173206578636565646564206d6178206461696c79206c696d69744e69726f733a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c756465642742656570204265657020426f6f702c20596f752772652061207069656365206f6620706f6f704e69726f733a204163636f756e742062616c616e6365206d757374206265206c657373207468656e206d696e696d756d20746f6b656e2062616c616e636520666f72206469766964656e647345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205add437d52411f5b1ec7ed6ff640126b9a8e6e83ba73d51ce9c3320660277f3a64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599
-----Decoded View---------------
Arg [0] : uniswapV2RouterAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : wbtcAddress (address): 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599
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.