Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
10,000,000,000 INC
Holders
669
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
InuCapital
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 100 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.9; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; /** Inu Capital Active Defi Farming through Collective Capital Management we send our regards, respect and love to MCC, ReFi, ACYC, SBC, and all of our other predecessors. To those who fork us, we send our best wishes. May your code be error free. Thus, we enter Elysium. May the Gates Open for Thee https://inucapital.io **/ contract InuCapital is Ownable, IERC20 { address UNISWAPROUTER = address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address DEAD = 0x000000000000000000000000000000000000dEaD; address ZERO = 0x0000000000000000000000000000000000000000; string private _name = "Inu Capital"; string private _symbol = "INC"; uint256 public buyLiquidityFeeBPS = 500; uint256 public reflectionFeeBPS = 500; uint256 public treasuryFeeBPS = 1300; uint256 public dividendFeeBPS = 600; uint256 public devFeeBPS = 100; uint256 public swapTokensAtAmount = 100000 * (10**18); uint256 public lastSwapTime; bool swapAllToken = true; bool public swapEnabled = true; bool public taxEnabled = true; bool private reflectionEnabled = true; bool private dividendEnabled = true; uint256 private _totalSupply; bool private swapping; // dev fund address devWallet = address(0xacBE3D24455995E04C49645479CAf8aA3341FeCc); // treasury and liquidity wallet address treasuryWallet = address(0xA8F656435f632bBEAAA439E7A0f6A7ff96FF11b2); mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public automatedMarketMakerPairs; event SendDividends(uint256 amount); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); DividendTracker public dividendTracker; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; uint256 public maxTxBPS = 25; uint256 public maxWalletBPS = 100; bool tradingEnabled = false; mapping(address => bool) private _isExcludedFromMaxTx; mapping(address => bool) private _isExcludedFromMaxWallet; constructor() { dividendTracker = new DividendTracker(address(this)); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(UNISWAPROUTER); address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); dividendTracker.excludeFromDividends(address(dividendTracker), true); dividendTracker.excludeFromDividends(address(this), true); dividendTracker.excludeFromDividends(owner(), true); dividendTracker.excludeFromDividends(address(_uniswapV2Router), true); dividendTracker.excludeFromReflections(address(dividendTracker), true); dividendTracker.excludeFromReflections(address(this), true); dividendTracker.excludeFromReflections(owner(), true); dividendTracker.excludeFromReflections(address(_uniswapV2Router), true); excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(dividendTracker), true); excludeFromMaxTx(owner(), true); excludeFromMaxTx(address(this), true); excludeFromMaxTx(address(dividendTracker), true); excludeFromMaxWallet(owner(), true); excludeFromMaxWallet(address(this), true); excludeFromMaxWallet(address(dividendTracker), true); uint256 amount = 10000000000 * (10**18); _totalSupply += amount; _balances[owner()] += amount; emit Transfer(address(0), owner(), amount); } receive() external payable {} function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public pure returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender] + addedValue ); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require( currentAllowance >= subtractedValue, "Inu: decreased allowance below zero" ); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require( currentAllowance >= amount, "Inu: transfer amount exceeds allowance" ); _approve(sender, _msgSender(), currentAllowance - amount); return true; } function setTradingEnabled(bool _value) external onlyOwner { tradingEnabled = _value; } function _transfer( address sender, address recipient, uint256 amount ) internal { require( tradingEnabled || sender == owner() || recipient == owner(), "Not Open" ); require(sender != address(0), "Inu: transfer from the zero address"); require(recipient != address(0), "Inu: transfer to the zero address"); uint256 _maxTxAmount = (totalSupply() * maxTxBPS) / 10000; uint256 _maxWallet = (totalSupply() * maxWalletBPS) / 10000; require( amount <= _maxTxAmount || _isExcludedFromMaxTx[sender], "TX Limit Exceeded" ); if ( sender != owner() && recipient != address(this) && recipient != address(DEAD) && recipient != uniswapV2Pair ) { uint256 currentBalance = balanceOf(recipient); require( _isExcludedFromMaxWallet[recipient] || (currentBalance + amount <= _maxWallet) ); } uint256 senderBalance = _balances[sender]; require( senderBalance >= amount, "Inu: transfer amount exceeds balance" ); uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( swapEnabled && // True canSwap && // true !swapping && // swapping=false !false true !automatedMarketMakerPairs[sender] && // no swap on remove liquidity step 1 or DEX buy sender != address(uniswapV2Router) && // no swap on remove liquidity step 2 sender != owner() && recipient != owner() ) { swapping = true; if (!swapAllToken) { contractTokenBalance = swapTokensAtAmount; } _executeSwap(contractTokenBalance); lastSwapTime = block.timestamp; swapping = false; } bool takeFee; if ( sender == address(uniswapV2Pair) || recipient == address(uniswapV2Pair) ) { takeFee = true; } if (_isExcludedFromFees[sender] || _isExcludedFromFees[recipient]) { takeFee = false; } if (swapping || !taxEnabled) { takeFee = false; } if (takeFee) { uint256 fees; if (sender == address(uniswapV2Pair)) { // buy fees = (amount * (buyLiquidityFeeBPS + reflectionFeeBPS)) / 10000; uint256 liquidityFee = (amount * buyLiquidityFeeBPS) / 10000; uint256 dividendFee = (amount * reflectionFeeBPS) / 10000; _executeTransfer(sender, treasuryWallet, liquidityFee); _executeTransfer(sender, address(dividendTracker), dividendFee); dividendTracker.distributeReflections(dividendFee); } else { // sell fees = (amount * (treasuryFeeBPS + dividendFeeBPS + devFeeBPS)) / 10000; _executeTransfer(sender, address(this), fees); } amount -= fees; } _executeTransfer(sender, recipient, amount); dividendTracker.setBalance(payable(sender), balanceOf(sender)); dividendTracker.setBalance(payable(recipient), balanceOf(recipient)); } function sendDividends( address sender, uint256 amount ) public onlyOwner { _executeTransfer(sender, address(dividendTracker), amount); dividendTracker.distributeReflections(amount); } function _executeTransfer( address sender, address recipient, uint256 amount ) private { require(sender != address(0), "Inu: transfer from the zero address"); require(recipient != address(0), "Inu: transfer to the zero address"); uint256 senderBalance = _balances[sender]; require( senderBalance >= amount, "Inu: transfer amount exceeds balance" ); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } function _approve( address owner, address spender, uint256 amount ) private { require(owner != address(0), "Inu: approve from the zero address"); require(spender != address(0), "Inu: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function swapTokensForNative(uint256 tokens) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokens); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokens, 0, // accept any amount of native path, address(this), block.timestamp ); } function _executeSwap(uint256 tokens) private { if (tokens <= 0) { return; } swapTokensForNative(tokens); uint256 nativeAfterSwap = address(this).balance; uint256 tokensTreasury; if (address(treasuryWallet) != address(0)) { tokensTreasury = (nativeAfterSwap * (treasuryFeeBPS)) / (treasuryFeeBPS + dividendFeeBPS + devFeeBPS); if (tokensTreasury > 0) { payable(treasuryWallet).transfer(tokensTreasury); } } uint256 tokensDev; if (address(devWallet) != address(0)) { tokensDev = (nativeAfterSwap * devFeeBPS) / (treasuryFeeBPS + dividendFeeBPS + devFeeBPS); if (tokensDev > 0) { payable(devWallet).transfer(tokensDev); } } uint256 tokensDividend; if (dividendTracker.totalSupply() > 0) { tokensDividend = (nativeAfterSwap * dividendFeeBPS) / (treasuryFeeBPS + dividendFeeBPS + devFeeBPS); if (tokensDividend > 0) { (bool success, ) = address(dividendTracker).call{ value: tokensDividend }(""); if (success) { emit SendDividends(tokensDividend); } } } } function excludeFromFees(address account, bool excluded) public onlyOwner { require( _isExcludedFromFees[account] != excluded, "Inu: account is already set to requested state" ); _isExcludedFromFees[account] = excluded; } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function manualSendDividend(uint256 amount, address holder) external onlyOwner { dividendTracker.manualSendDividend(amount, holder); } function excludeFromDividends(address account, bool excluded, bool mode) public onlyOwner { if (mode == true) { // DIVIDENDS dividendTracker.excludeFromDividends(account, excluded); } else { // REFLECTIONS dividendTracker.excludeFromReflections(account, excluded); } } function isExcludedFromDividends(address account) public view returns (bool, bool) { return (dividendTracker.isExcludedFromDividends(account), dividendTracker.isExcludedFromReflections(account)); } function setWallet( address payable _treasuryWallet, address payable _devWallet ) external onlyOwner { treasuryWallet = _treasuryWallet; devWallet = _devWallet; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "Inu: DEX pair can not be removed"); _setAutomatedMarketMakerPair(pair, value); } function setFee( uint256 _reflectionFee, uint256 _buyLiquidityFee, uint256 _treasuryFee, uint256 _dividendFee, uint256 _devFee ) external onlyOwner { reflectionFeeBPS = _reflectionFee; buyLiquidityFeeBPS = _buyLiquidityFee; treasuryFeeBPS = _treasuryFee; dividendFeeBPS = _dividendFee; devFeeBPS = _devFee; } function _setAutomatedMarketMakerPair(address pair, bool value) private { require( automatedMarketMakerPairs[pair] != value, "Inu: automated market maker pair is already set to that value" ); automatedMarketMakerPairs[pair] = value; if (value) { dividendTracker.excludeFromDividends(pair, true); } emit SetAutomatedMarketMakerPair(pair, value); } function updateUniswapV2Router(address newAddress) public onlyOwner { require( newAddress != address(uniswapV2Router), "Inu: the router is already set to the new address" ); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()) .createPair(address(this), uniswapV2Router.WETH()); uniswapV2Pair = _uniswapV2Pair; } function claimDividend() public { require(dividendEnabled == true, "Inu: Dividends Disabled"); dividendTracker.processAccount(payable(_msgSender())); } function claimReflection() public { require(reflectionEnabled == true, "Inu: Reflections Disabled"); uint256 amount = dividendTracker.processAccountReflection(payable(_msgSender())); _executeTransfer(address(dividendTracker), address(_msgSender()), amount); } function claimAll() public { require(dividendEnabled == true, "Inu: Dividends Disabled"); require(reflectionEnabled == true, "Inu: Reflections Disabled"); dividendTracker.processAccount(payable(_msgSender())); uint256 amount = dividendTracker.processAccountReflection(payable(_msgSender())); _executeTransfer(address(dividendTracker), address(_msgSender()), amount); } function getAccountDividendInfo(address account) public view returns ( address, uint256, uint256, uint256, uint256 ) { return dividendTracker.getAccountDividendInfo(account); } function getAccountReflectionInfo(address account) public view returns ( address, uint256, uint256, uint256, uint256 ) { return dividendTracker.getAccountReflectionInfo(account); } function getLastClaimTime(address account) public view returns (uint256) { return dividendTracker.getLastClaimTime(account); } function setSwapEnabled(bool _enabled) external onlyOwner { swapEnabled = _enabled; } function setTokenomicsSettings( bool _dividendEnabled, bool _reflectionEnabled, bool _tradingEnabled, bool _taxEnabled ) external onlyOwner { dividendEnabled = _dividendEnabled; reflectionEnabled = _reflectionEnabled; tradingEnabled = _tradingEnabled; taxEnabled = _taxEnabled; } function updateDividendSettings( bool _swapEnabled, uint256 _swapTokensAtAmount, bool _swapAllToken ) external onlyOwner { swapEnabled = _swapEnabled; swapTokensAtAmount = _swapTokensAtAmount; swapAllToken = _swapAllToken; } function setMax(uint256 _maxTxBPS, uint256 _maxWalletBPS) external onlyOwner { maxTxBPS = _maxTxBPS; maxWalletBPS = _maxWalletBPS; } function excludeFromMaxTx(address account, bool excluded) public onlyOwner { _isExcludedFromMaxTx[account] = excluded; } function isExcludedFromMaxTx(address account) public view returns (bool) { return _isExcludedFromMaxTx[account]; } function excludeFromMaxWallet(address account, bool excluded) public onlyOwner { _isExcludedFromMaxWallet[account] = excluded; } function isExcludedFromMaxWallet(address account) public view returns (bool) { return _isExcludedFromMaxWallet[account]; } function rescueToken(address _token, uint256 _amount) external onlyOwner { IERC20(_token).transfer(msg.sender, _amount); } function rescueETH(uint256 _amount) external onlyOwner { payable(msg.sender).transfer(_amount); } function rescueReflection(uint256 _amount) external onlyOwner { _executeTransfer(address(dividendTracker), msg.sender, _amount); } function investorAirdrop(address[] calldata recipients, uint256 amount) external onlyOwner { // thank you investors! for (uint256 _i = 0; _i < recipients.length; _i++) { transferFrom(msg.sender, recipients[_i], amount); } } function snapshotAirdrop(address[] calldata recipients, uint256[] calldata amounts) external onlyOwner { for (uint256 _i = 0; _i < recipients.length; _i++) { transferFrom(msg.sender, recipients[_i], amounts[_i]); } } } contract DividendTracker is Ownable, IERC20 { string private _name = "Inu_DividendTracker"; string private _symbol = "Inu_DividendTracker"; uint256 public lastProcessedIndex; uint256 private _totalSupply; mapping(address => uint256) private _balances; uint256 private constant magnitude = 2**128; uint256 public immutable minTokenBalanceForDividends; uint256 private magnifiedDividendPerShare; uint256 public totalDividendsDistributed; uint256 public totalDividendsWithdrawn; uint256 private magnifiedReflectionPerShare; uint256 public totalReflectionsDistributed; uint256 public totalReflectionsWithdrawn; address public tokenAddress; struct AccountTracker { bool excludedFromDividends; bool excludedFromReflections; int256 magnifiedDividendCorrections; uint256 withdrawnDividends; int256 magnifiedReflectionCorrections; uint256 withdrawnReflections; uint256 lastClaimTimes; } mapping(address => AccountTracker) public accountTracker; event DividendsDistributed(address indexed from, uint256 weiAmount); event DividendWithdrawn(address indexed to, uint256 weiAmount); event ExcludeFromDividends(address indexed account, bool excluded); event ClaimDividend(address indexed account, uint256 amount); struct AccountInfo { address account; uint256 withdrawableDividends; uint256 totalDividends; uint256 lastClaimTime; } constructor(address _tokenAddress) { minTokenBalanceForDividends = 10000 * (10**18); tokenAddress = _tokenAddress; } receive() external payable { distributeDividends(); } function distributeDividends() public payable { require(_totalSupply > 0); if (msg.value > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare + ((msg.value * magnitude) / _totalSupply); emit DividendsDistributed(msg.sender, msg.value); totalDividendsDistributed += msg.value; } } function distributeReflections(uint256 amount) public payable { require(_totalSupply > 0); if (amount > 0) { magnifiedReflectionPerShare = magnifiedReflectionPerShare + ((amount * magnitude) / _totalSupply); emit DividendsDistributed(msg.sender, amount); totalReflectionsDistributed += amount; } } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if (accountTracker[account].excludedFromDividends) { return; } if (newBalance >= minTokenBalanceForDividends) { _setBalance(account, newBalance); } else { _setBalance(account, 0); } } function excludeFromDividends(address account, bool excluded) external onlyOwner { require( accountTracker[account].excludedFromDividends != excluded, "Inu_DividendTracker: account already set to requested state" ); accountTracker[account].excludedFromDividends = excluded; if (excluded) { _setBalance(account, 0); } else { uint256 newBalance = IERC20(tokenAddress).balanceOf(account); if (newBalance >= minTokenBalanceForDividends) { _setBalance(account, newBalance); } else { _setBalance(account, 0); } } emit ExcludeFromDividends(account, excluded); } function isExcludedFromDividends(address account) public view returns (bool) { return accountTracker[account].excludedFromDividends; } function excludeFromReflections(address account, bool excluded) external onlyOwner { require( accountTracker[account].excludedFromReflections != excluded, "Inu_DividendTracker: account already set to requested state" ); accountTracker[account].excludedFromReflections = excluded; if (excluded) { _setBalance(account, 0); } else { uint256 newBalance = IERC20(tokenAddress).balanceOf(account); if (newBalance >= minTokenBalanceForDividends) { _setBalance(account, newBalance); } else { _setBalance(account, 0); } } emit ExcludeFromDividends(account, excluded); } function isExcludedFromReflections(address account) public view returns (bool) { return accountTracker[account].excludedFromReflections; } function manualSendDividend(uint256 amount, address holder) external onlyOwner { uint256 contractETHBalance = address(this).balance; payable(holder).transfer(amount > 0 ? amount : contractETHBalance); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = _balances[account]; if (newBalance > currentBalance) { uint256 addAmount = newBalance - currentBalance; _mint(account, addAmount); } else if (newBalance < currentBalance) { uint256 subAmount = currentBalance - newBalance; _burn(account, subAmount); } } function _mint(address account, uint256 amount) private { require( account != address(0), "Inu_DividendTracker: mint to the zero address" ); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); accountTracker[account].magnifiedDividendCorrections = accountTracker[account].magnifiedDividendCorrections - int256(magnifiedDividendPerShare * amount); accountTracker[account].magnifiedReflectionCorrections = accountTracker[account].magnifiedReflectionCorrections - int256(magnifiedReflectionPerShare * amount); } function _burn(address account, uint256 amount) private { require( account != address(0), "Inu_DividendTracker: burn from the zero address" ); uint256 accountBalance = _balances[account]; require( accountBalance >= amount, "Inu_DividendTracker: burn amount exceeds balance" ); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(account, address(0), amount); accountTracker[account].magnifiedDividendCorrections = accountTracker[account].magnifiedDividendCorrections + int256(magnifiedDividendPerShare * amount); accountTracker[account].magnifiedReflectionCorrections = accountTracker[account].magnifiedReflectionCorrections + int256(magnifiedReflectionPerShare * amount); } function processAccount(address payable account) public onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if (amount > 0) { accountTracker[account].lastClaimTimes = block.timestamp; emit ClaimDividend(account, amount); return true; } return false; } function processAccountReflection(address payable account) public onlyOwner returns (uint256) { uint256 amount = _withdrawReflectionOfUser(account); if (amount > 0) { accountTracker[account].lastClaimTimes = block.timestamp; emit ClaimDividend(account, amount); return amount; } return amount; } function _withdrawDividendOfUser(address payable account) private returns (uint256) { uint256 _withdrawableDividend = accumulativeDividendOf(account) - accountTracker[account].withdrawnDividends; if (_withdrawableDividend > 0) { accountTracker[account].withdrawnDividends += _withdrawableDividend; totalDividendsWithdrawn += _withdrawableDividend; emit DividendWithdrawn(account, _withdrawableDividend); (bool success, ) = account.call{ value: _withdrawableDividend, gas: 3000 }(""); if (!success) { accountTracker[account].withdrawnDividends -= _withdrawableDividend; totalDividendsWithdrawn -= _withdrawableDividend; return 0; } return _withdrawableDividend; } return 0; } function accumulativeDividendOf(address account) public view returns (uint256) { int256 a = int256(magnifiedDividendPerShare * balanceOf(account)); int256 b = accountTracker[account].magnifiedDividendCorrections; // this is an explicit int256 (signed) return uint256(a + b) / magnitude; } function getAccountDividendInfo(address account) public view returns ( address, uint256, uint256, uint256, uint256 ) { AccountInfo memory info; info.account = account; info.withdrawableDividends = accumulativeDividendOf(account) - accountTracker[account].withdrawnDividends; info.totalDividends = accumulativeDividendOf(account); info.lastClaimTime = accountTracker[account].lastClaimTimes; return ( info.account, info.withdrawableDividends, info.totalDividends, info.lastClaimTime, totalDividendsWithdrawn ); } function _withdrawReflectionOfUser(address payable account) private returns (uint256) { uint256 amount = accumulativeReflectionOf(account) - accountTracker[account].withdrawnReflections; if (amount > 0) { accountTracker[account].withdrawnReflections += amount; totalReflectionsWithdrawn += amount; emit DividendWithdrawn(account, amount); return amount; } return 0; } function accumulativeReflectionOf(address account) public view returns (uint256) { int256 a = int256(magnifiedReflectionPerShare * balanceOf(account)); int256 b = accountTracker[account].magnifiedReflectionCorrections; // this is an explicit int256 (signed) return uint256(a + b) / magnitude; } function getAccountReflectionInfo(address account) public view returns ( address, uint256, uint256, uint256, uint256 ) { AccountInfo memory info; info.account = account; info.withdrawableDividends = accumulativeReflectionOf(account) - accountTracker[account].withdrawnReflections; info.totalDividends = accumulativeReflectionOf(account); info.lastClaimTime = accountTracker[account].lastClaimTimes; return ( info.account, info.withdrawableDividends, info.totalDividends, info.lastClaimTime, totalReflectionsWithdrawn ); } function getLastClaimTime(address account) public view returns (uint256) { return accountTracker[account].lastClaimTimes; } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public pure returns (uint8) { return 18; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer(address, uint256) public pure override returns (bool) { revert("Inu_DividendTracker: method not implemented"); } function allowance(address, address) public pure override returns (uint256) { revert("Inu_DividendTracker: method not implemented"); } function approve(address, uint256) public pure override returns (bool) { revert("Inu_DividendTracker: method not implemented"); } function transferFrom( address, address, uint256 ) public pure override returns (bool) { revert("Inu_DividendTracker: method not implemented"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `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); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `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); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(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 += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `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 // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
{ "optimizer": { "enabled": true, "runs": 100 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"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":"UpdateUniswapV2Router","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimReflection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":"devFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract DividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"},{"internalType":"bool","name":"mode","type":"bool"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountReflectionInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getLastClaimTime","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":"recipients","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"investorAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"},{"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":"account","type":"address"}],"name":"isExcludedFromMaxTx","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastSwapTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"holder","type":"address"}],"name":"manualSendDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTxBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reflectionFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueReflection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"sendDividends","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":"_reflectionFee","type":"uint256"},{"internalType":"uint256","name":"_buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"},{"internalType":"uint256","name":"_dividendFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxBPS","type":"uint256"},{"internalType":"uint256","name":"_maxWalletBPS","type":"uint256"}],"name":"setMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_dividendEnabled","type":"bool"},{"internalType":"bool","name":"_reflectionEnabled","type":"bool"},{"internalType":"bool","name":"_tradingEnabled","type":"bool"},{"internalType":"bool","name":"_taxEnabled","type":"bool"}],"name":"setTokenomicsSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_value","type":"bool"}],"name":"setTradingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_treasuryWallet","type":"address"},{"internalType":"address payable","name":"_devWallet","type":"address"}],"name":"setWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"snapshotAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"bool","name":"_swapEnabled","type":"bool"},{"internalType":"uint256","name":"_swapTokensAtAmount","type":"uint256"},{"internalType":"bool","name":"_swapAllToken","type":"bool"}],"name":"updateDividendSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
600180546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1790915560028054821661dead17905560038054909116905560c0604052600b60808190526a125b9d4810d85c1a5d185b60aa1b60a09081526200006c916004919062000c03565b5060408051808201909152600380825262494e4360e81b6020909201918252620000999160059162000c03565b506101f460068190556007556105146008556102586009556064600a81905569152d02c7e14af6800000600b55600d805464ffffffffff1916640101010101179055600f8054610100600160a81b03191674acbe3d24455995e04c49645479caf8aa3341fecc001790556010805473a8f656435f632bbeaaa439e7a0f6a7ff96ff11b26001600160a01b03199091161790556019601881905555601a805460ff191690553480156200014a57600080fd5b5062000156336200084d565b30604051620001659062000c92565b6001600160a01b039091168152602001604051809103906000f08015801562000192573d6000803e3d6000fd5b50601580546001600160a01b0319166001600160a01b039283161790556001546040805163c45a015560e01b815290519190921691600091839163c45a01559160048083019260209291908290030181865afa158015620001f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021d919062000cb7565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200026b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000291919062000cb7565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000305919062000cb7565b601680546001600160a01b038086166001600160a01b03199283161790925560178054928416929091169190911790559050620003448160016200089d565b60155460405162241fbd60e51b81526001600160a01b03909116600482018190526001602483015290630483f7a090604401600060405180830381600087803b1580156200039157600080fd5b505af1158015620003a6573d6000803e3d6000fd5b505060155460405162241fbd60e51b8152306004820152600160248201526001600160a01b039091169250630483f7a09150604401600060405180830381600087803b158015620003f657600080fd5b505af11580156200040b573d6000803e3d6000fd5b50506015546001600160a01b03169150630483f7a09050620004356000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b1580156200047e57600080fd5b505af115801562000493573d6000803e3d6000fd5b505060155460405162241fbd60e51b81526001600160a01b038681166004830152600160248301529091169250630483f7a09150604401600060405180830381600087803b158015620004e557600080fd5b505af1158015620004fa573d6000803e3d6000fd5b5050601554604051630fdf79f960e11b81526001600160a01b0390911660048201819052600160248301529250631fbef3f29150604401600060405180830381600087803b1580156200054c57600080fd5b505af115801562000561573d6000803e3d6000fd5b5050601554604051630fdf79f960e11b8152306004820152600160248201526001600160a01b039091169250631fbef3f29150604401600060405180830381600087803b158015620005b257600080fd5b505af1158015620005c7573d6000803e3d6000fd5b50506015546001600160a01b03169150631fbef3f29050620005f16000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b1580156200063a57600080fd5b505af11580156200064f573d6000803e3d6000fd5b5050601554604051630fdf79f960e11b81526001600160a01b038681166004830152600160248301529091169250631fbef3f29150604401600060405180830381600087803b158015620006a257600080fd5b505af1158015620006b7573d6000803e3d6000fd5b50505050620006d7620006cf62000a0a60201b60201c565b600162000a19565b620006e430600162000a19565b601554620006fd906001600160a01b0316600162000a19565b6200071c620007146000546001600160a01b031690565b600162000b17565b6200072930600162000b17565b60155462000742906001600160a01b0316600162000b17565b62000761620007596000546001600160a01b031690565b600162000b8d565b6200076e30600162000b8d565b60155462000787906001600160a01b0316600162000b8d565b60006b204fce5e3e25026110000000905080600e6000828254620007ac919062000ce9565b9091555081905060116000620007ca6000546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254620007fb919062000ce9565b9091555050600080546040518381526001600160a01b0390911691907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505062000d4d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821660009081526014602052604090205460ff1615158115151415620009385760405162461bcd60e51b815260206004820152603d60248201527f496e753a206175746f6d61746564206d61726b6574206d616b6572207061697260448201527f20697320616c72656164792073657420746f20746861742076616c756500000060648201526084015b60405180910390fd5b6001600160a01b0382166000908152601460205260409020805460ff19168215801591909117909155620009ce5760155460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b158015620009b457600080fd5b505af1158015620009c9573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6000546001600160a01b031690565b6000546001600160a01b0316331462000a645760405162461bcd60e51b8152602060048201819052602482015260008051602062005ebc83398151915260448201526064016200092f565b6001600160a01b03821660009081526013602052604090205460ff161515811515141562000aec5760405162461bcd60e51b815260206004820152602e60248201527f496e753a206163636f756e7420697320616c72656164792073657420746f207260448201526d657175657374656420737461746560901b60648201526084016200092f565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6000546001600160a01b0316331462000b625760405162461bcd60e51b8152602060048201819052602482015260008051602062005ebc83398151915260448201526064016200092f565b6001600160a01b03919091166000908152601b60205260409020805460ff1916911515919091179055565b6000546001600160a01b0316331462000bd85760405162461bcd60e51b8152602060048201819052602482015260008051602062005ebc83398151915260448201526064016200092f565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b82805462000c119062000d10565b90600052602060002090601f01602090048101928262000c35576000855562000c80565b82601f1062000c5057805160ff191683800117855562000c80565b8280016001018555821562000c80579182015b8281111562000c8057825182559160200191906001019062000c63565b5062000c8e92915062000ca0565b5090565b611d91806200412b83390190565b5b8082111562000c8e576000815560010162000ca1565b60006020828403121562000cca57600080fd5b81516001600160a01b038116811462000ce257600080fd5b9392505050565b6000821982111562000d0b57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c9082168062000d2557607f821691505b6020821081141562000d4757634e487b7160e01b600052602260045260246000fd5b50919050565b6133ce8062000d5d6000396000f3fe6080604052600436106103105760003560e01c8063744d15911161019c578063b32725eb116100e2578063d2fcc00111610090578063d2fcc001146109c1578063d4c989d3146109e1578063dd62ed3e14610a01578063e01af92c14610a47578063e2f4560514610a67578063f0fc6bca14610a7d578063f1b234ad14610a92578063f2fde38b14610ab257600080fd5b8063b32725eb146108cf578063b62496f5146108ef578063b80b6e891461091f578063c024666814610935578063c2e5ec0414610955578063c705c56914610975578063d1058e59146109ac57600080fd5b806398e99aa61161014a57806398e99aa6146107cf5780639a7a23d6146107ef5780639e252f001461080f578063a2e00d631461082f578063a457c2d71461084f578063a680e0bc1461086f578063a9059cbb1461088f578063a99e6f17146108af57600080fd5b8063744d1591146106dd57806386bf5639146106f3578063870bd30b146107455780638da5cb5b146107655780638e1269441461077a57806391095ccd1461079a57806395d89b41146107ba57600080fd5b806339509351116102615780635e843ad21161020f5780635e843ad2146105b7578063658c27a9146105d757806365b8dbc0146106105780636dd3d39f146106305780636ddd17131461066957806370a0823114610688578063715018a6146106a85780637319b9a2146106bd57600080fd5b806339509351146104d25780633b91ceef146104f2578063417e4fa61461051257806349bd5a5e146105325780634fbee1931461055257806357777d311461058b5780635937ea6c146105a157600080fd5b80632c1f5216116102be5780632c1f5216146104135780632c642f5114610433578063313ce5671461045557806333beafc01461047157806333f3d6281461048757806337563293146104a7578063377c27ac146104bc57600080fd5b806306fdde031461031c578063095ea7b3146103475780630dd87157146103775780631694505e1461039b57806318160ddd146103c8578063223c3947146103dd57806323b872dd146103f357600080fd5b3661031757005b600080fd5b34801561032857600080fd5b50610331610ad2565b60405161033e9190612be6565b60405180910390f35b34801561035357600080fd5b50610367610362366004612c50565b610b64565b604051901515815260200161033e565b34801561038357600080fd5b5061038d600c5481565b60405190815260200161033e565b3480156103a757600080fd5b506016546103bb906001600160a01b031681565b60405161033e9190612c7c565b3480156103d457600080fd5b50600e5461038d565b3480156103e957600080fd5b5061038d60075481565b3480156103ff57600080fd5b5061036761040e366004612c90565b610b7a565b34801561041f57600080fd5b506015546103bb906001600160a01b031681565b34801561043f57600080fd5b5061045361044e366004612c50565b610c2e565b005b34801561046157600080fd5b506040516012815260200161033e565b34801561047d57600080fd5b5061038d60065481565b34801561049357600080fd5b506104536104a2366004612c50565b610cd8565b3480156104b357600080fd5b50610453610d7d565b3480156104c857600080fd5b5061038d600a5481565b3480156104de57600080fd5b506103676104ed366004612c50565b610e3d565b3480156104fe57600080fd5b5061045361050d366004612cd1565b610e74565b34801561051e57600080fd5b5061045361052d366004612d3f565b610eae565b34801561053e57600080fd5b506017546103bb906001600160a01b031681565b34801561055e57600080fd5b5061036761056d366004612dab565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561059757600080fd5b5061038d60185481565b3480156105ad57600080fd5b5061038d60085481565b3480156105c357600080fd5b506104536105d2366004612ddd565b610f4b565b3480156105e357600080fd5b506103676105f2366004612dab565b6001600160a01b03166000908152601b602052604090205460ff1690565b34801561061c57600080fd5b5061045361062b366004612dab565b610fa8565b34801561063c57600080fd5b5061036761064b366004612dab565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561067557600080fd5b50600d5461036790610100900460ff1681565b34801561069457600080fd5b5061038d6106a3366004612dab565b611225565b3480156106b457600080fd5b50610453611240565b3480156106c957600080fd5b506104536106d8366004612e1f565b61127b565b3480156106e957600080fd5b5061038d60195481565b3480156106ff57600080fd5b5061071361070e366004612dab565b611307565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a00161033e565b34801561075157600080fd5b50600d546103679062010000900460ff1681565b34801561077157600080fd5b506103bb611393565b34801561078657600080fd5b50610453610795366004612e7b565b6113a2565b3480156107a657600080fd5b506104536107b5366004612eab565b61140a565b3480156107c657600080fd5b506103316114de565b3480156107db57600080fd5b506104536107ea366004612eeb565b6114ed565b3480156107fb57600080fd5b5061045361080a366004612f04565b611533565b34801561081b57600080fd5b5061045361082a366004612eeb565b6115ce565b34801561083b57600080fd5b5061045361084a366004612f32565b61162a565b34801561085b57600080fd5b5061036761086a366004612c50565b611670565b34801561087b57600080fd5b5061038d61088a366004612dab565b611709565b34801561089b57600080fd5b506103676108aa366004612c50565b611781565b3480156108bb57600080fd5b506107136108ca366004612dab565b61178e565b3480156108db57600080fd5b506104536108ea366004612f6d565b6117c7565b3480156108fb57600080fd5b5061036761090a366004612dab565b60146020526000908152604090205460ff1681565b34801561092b57600080fd5b5061038d60095481565b34801561094157600080fd5b50610453610950366004612f04565b61184b565b34801561096157600080fd5b50610453610970366004612fb9565b61192b565b34801561098157600080fd5b50610995610990366004612dab565b61196d565b60408051921515835290151560208301520161033e565b3480156109b857600080fd5b50610453611a5d565b3480156109cd57600080fd5b506104536109dc366004612f04565b611b46565b3480156109ed57600080fd5b506104536109fc366004612f04565b611ba0565b348015610a0d57600080fd5b5061038d610a1c366004612fd6565b6001600160a01b03918216600090815260126020908152604080832093909416825291909152205490565b348015610a5357600080fd5b50610453610a62366004612fb9565b611bfa565b348015610a7357600080fd5b5061038d600b5481565b348015610a8957600080fd5b50610453611c43565b348015610a9e57600080fd5b50610453610aad366004612fd6565b611ce3565b348015610abe57600080fd5b50610453610acd366004612dab565b611d4e565b606060048054610ae190613004565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0d90613004565b8015610b5a5780601f10610b2f57610100808354040283529160200191610b5a565b820191906000526020600020905b815481529060010190602001808311610b3d57829003601f168201915b5050505050905090565b6000610b71338484611deb565b50600192915050565b6000610b87848484611f03565b6001600160a01b038416600090815260126020908152604080832033845290915290205482811015610c0f5760405162461bcd60e51b815260206004820152602660248201527f496e753a207472616e7366657220616d6f756e74206578636565647320616c6c6044820152656f77616e636560d01b60648201526084015b60405180910390fd5b610c238533610c1e8685613055565b611deb565b506001949350505050565b33610c37611393565b6001600160a01b031614610c5d5760405162461bcd60e51b8152600401610c069061306c565b601554610c759083906001600160a01b031683612566565b601554604051630184eee960e51b8152600481018390526001600160a01b039091169063309ddd20906024015b600060405180830381600087803b158015610cbc57600080fd5b505af1158015610cd0573d6000803e3d6000fd5b505050505050565b33610ce1611393565b6001600160a01b031614610d075760405162461bcd60e51b8152600401610c069061306c565b60405163a9059cbb60e01b81526001600160a01b0383169063a9059cbb90610d3590339085906004016130a1565b6020604051808303816000875af1158015610d54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7891906130ba565b505050565b600d546301000000900460ff161515600114610dab5760405162461bcd60e51b8152600401610c06906130d7565b6015546000906001600160a01b03166339a9f3b9335b6040518263ffffffff1660e01b8152600401610ddd9190612c7c565b6020604051808303816000875af1158015610dfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e20919061310a565b601554909150610e3a906001600160a01b03163383612566565b50565b3360008181526012602090815260408083206001600160a01b03871684529091528120549091610b71918590610c1e908690613123565b33610e7d611393565b6001600160a01b031614610ea35760405162461bcd60e51b8152600401610c069061306c565b601891909155601955565b33610eb7611393565b6001600160a01b031614610edd5760405162461bcd60e51b8152600401610c069061306c565b60005b83811015610f4457610f3133868684818110610efe57610efe61313b565b9050602002016020810190610f139190612dab565b858585818110610f2557610f2561313b565b90506020020135610b7a565b5080610f3c81613151565b915050610ee0565b5050505050565b33610f54611393565b6001600160a01b031614610f7a5760405162461bcd60e51b8152600401610c069061306c565b600d8054600b9390935590151560ff19931515610100029390931661ffff1990921691909117919091179055565b33610fb1611393565b6001600160a01b031614610fd75760405162461bcd60e51b8152600401610c069061306c565b6016546001600160a01b038281169116141561104f5760405162461bcd60e51b815260206004820152603160248201527f496e753a2074686520726f7574657220697320616c72656164792073657420746044820152706f20746865206e6577206164647265737360781b6064820152608401610c06565b6016546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601680546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa1580156110e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110a919061316c565b6001600160a01b031663c9c6539630601660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561116c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611190919061316c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156111dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611201919061316c565b601780546001600160a01b0319166001600160a01b03929092169190911790555050565b6001600160a01b031660009081526011602052604090205490565b33611249611393565b6001600160a01b03161461126f5760405162461bcd60e51b8152600401610c069061306c565b6112796000612685565b565b33611284611393565b6001600160a01b0316146112aa5760405162461bcd60e51b8152600401610c069061306c565b600d8054601a805494151560ff1990951694909417909355901515620100000262ff00001993151563010000000263ff00000019951515640100000000029590951664ffff00000019909316929092179390931791909116179055565b6015546040516386bf563960e01b815260009182918291829182916001600160a01b0316906386bf563990611340908990600401612c7c565b60a060405180830381865afa15801561135d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113819190613189565b939a9299509097509550909350915050565b6000546001600160a01b031690565b336113ab611393565b6001600160a01b0316146113d15760405162461bcd60e51b8152600401610c069061306c565b6015546040516323849a5160e21b8152600481018490526001600160a01b03838116602483015290911690638e12694490604401610ca2565b33611413611393565b6001600160a01b0316146114395760405162461bcd60e51b8152600401610c069061306c565b600181151514156114ac5760155460405162241fbd60e51b81526001600160a01b0390911690630483f7a09061147590869086906004016131d2565b600060405180830381600087803b15801561148f57600080fd5b505af11580156114a3573d6000803e3d6000fd5b50505050505050565b601554604051630fdf79f960e11b81526001600160a01b0390911690631fbef3f29061147590869086906004016131d2565b606060058054610ae190613004565b336114f6611393565b6001600160a01b03161461151c5760405162461bcd60e51b8152600401610c069061306c565b601554610e3a906001600160a01b03163383612566565b3361153c611393565b6001600160a01b0316146115625760405162461bcd60e51b8152600401610c069061306c565b6017546001600160a01b03838116911614156115c05760405162461bcd60e51b815260206004820181905260248201527f496e753a2044455820706169722063616e206e6f742062652072656d6f7665646044820152606401610c06565b6115ca82826126d5565b5050565b336115d7611393565b6001600160a01b0316146115fd5760405162461bcd60e51b8152600401610c069061306c565b604051339082156108fc029083906000818181858888f193505050501580156115ca573d6000803e3d6000fd5b33611633611393565b6001600160a01b0316146116595760405162461bcd60e51b8152600401610c069061306c565b600794909455600692909255600855600955600a55565b3360009081526012602090815260408083206001600160a01b0386168452909152812054828110156116f05760405162461bcd60e51b815260206004820152602360248201527f496e753a2064656372656173656420616c6c6f77616e63652062656c6f77207a60448201526265726f60e81b6064820152608401610c06565b6116ff3385610c1e8685613055565b5060019392505050565b6015546040516329a0382f60e21b81526000916001600160a01b03169063a680e0bc9061173a908590600401612c7c565b602060405180830381865afa158015611757573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177b919061310a565b92915050565b6000610b71338484611f03565b60155460405163a99e6f1760e01b815260009182918291829182916001600160a01b03169063a99e6f1790611340908990600401612c7c565b336117d0611393565b6001600160a01b0316146117f65760405162461bcd60e51b8152600401610c069061306c565b60005b8281101561184557611832338585848181106118175761181761313b565b905060200201602081019061182c9190612dab565b84610b7a565b508061183d81613151565b9150506117f9565b50505050565b33611854611393565b6001600160a01b03161461187a5760405162461bcd60e51b8152600401610c069061306c565b6001600160a01b03821660009081526013602052604090205460ff16151581151514156119005760405162461bcd60e51b815260206004820152602e60248201527f496e753a206163636f756e7420697320616c72656164792073657420746f207260448201526d657175657374656420737461746560901b6064820152608401610c06565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b33611934611393565b6001600160a01b03161461195a5760405162461bcd60e51b8152600401610c069061306c565b601a805460ff1916911515919091179055565b60155460405163c705c56960e01b815260009182916001600160a01b039091169063c705c569906119a2908690600401612c7c565b602060405180830381865afa1580156119bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e391906130ba565b60155460405163731bae9f60e11b81526001600160a01b039091169063e6375d3e90611a13908790600401612c7c565b602060405180830381865afa158015611a30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5491906130ba565b91509150915091565b600d54640100000000900460ff161515600114611a8c5760405162461bcd60e51b8152600401610c06906131ed565b600d546301000000900460ff161515600114611aba5760405162461bcd60e51b8152600401610c06906130d7565b6015546001600160a01b031663807ab4f7336040518263ffffffff1660e01b8152600401611ae89190612c7c565b6020604051808303816000875af1158015611b07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2b91906130ba565b506015546000906001600160a01b03166339a9f3b933610dc1565b33611b4f611393565b6001600160a01b031614611b755760405162461bcd60e51b8152600401610c069061306c565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b33611ba9611393565b6001600160a01b031614611bcf5760405162461bcd60e51b8152600401610c069061306c565b6001600160a01b03919091166000908152601b60205260409020805460ff1916911515919091179055565b33611c03611393565b6001600160a01b031614611c295760405162461bcd60e51b8152600401610c069061306c565b600d80549115156101000261ff0019909216919091179055565b600d54640100000000900460ff161515600114611c725760405162461bcd60e51b8152600401610c06906131ed565b6015546001600160a01b031663807ab4f7336040518263ffffffff1660e01b8152600401611ca09190612c7c565b6020604051808303816000875af1158015611cbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3a91906130ba565b33611cec611393565b6001600160a01b031614611d125760405162461bcd60e51b8152600401610c069061306c565b601080546001600160a01b039384166001600160a01b0319909116179055600f80549190921661010002610100600160a81b0319909116179055565b33611d57611393565b6001600160a01b031614611d7d5760405162461bcd60e51b8152600401610c069061306c565b6001600160a01b038116611de25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c06565b610e3a81612685565b6001600160a01b038316611e4c5760405162461bcd60e51b815260206004820152602260248201527f496e753a20617070726f76652066726f6d20746865207a65726f206164647265604482015261737360f01b6064820152608401610c06565b6001600160a01b038216611ea25760405162461bcd60e51b815260206004820181905260248201527f496e753a20617070726f766520746f20746865207a65726f20616464726573736044820152606401610c06565b6001600160a01b0383811660008181526012602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b601a5460ff1680611f2c5750611f17611393565b6001600160a01b0316836001600160a01b0316145b80611f4f5750611f3a611393565b6001600160a01b0316826001600160a01b0316145b611f865760405162461bcd60e51b81526020600482015260086024820152672737ba1027b832b760c11b6044820152606401610c06565b6001600160a01b038316611fac5760405162461bcd60e51b8152600401610c069061321e565b6001600160a01b038216611fd25760405162461bcd60e51b8152600401610c0690613261565b6000612710601854611fe3600e5490565b611fed91906132a2565b611ff791906132c1565b9050600061271060195461200a600e5490565b61201491906132a2565b61201e91906132c1565b9050818311158061204757506001600160a01b0385166000908152601b602052604090205460ff165b6120875760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b6044820152606401610c06565b61208f611393565b6001600160a01b0316856001600160a01b0316141580156120b957506001600160a01b0384163014155b80156120d357506002546001600160a01b03858116911614155b80156120ed57506017546001600160a01b03858116911614155b1561213b5760006120fd85611225565b6001600160a01b0386166000908152601c602052604090205490915060ff168061213057508161212d8583613123565b11155b61213957600080fd5b505b6001600160a01b038516600090815260116020526040902054838110156121745760405162461bcd60e51b8152600401610c06906132e3565b600061217f30611225565b600b54600d5491925082101590610100900460ff16801561219d5750805b80156121ac5750600f5460ff16155b80156121d157506001600160a01b03881660009081526014602052604090205460ff16155b80156121eb57506016546001600160a01b03898116911614155b801561221057506121fa611393565b6001600160a01b0316886001600160a01b031614155b8015612235575061221f611393565b6001600160a01b0316876001600160a01b031614155b1561226f57600f805460ff19166001179055600d5460ff1661225757600b5491505b61226082612838565b42600c55600f805460ff191690555b6017546000906001600160a01b038a81169116148061229b57506017546001600160a01b038981169116145b156122a4575060015b6001600160a01b03891660009081526013602052604090205460ff16806122e357506001600160a01b03881660009081526013602052604090205460ff165b156122ec575060005b600f5460ff16806123065750600d5462010000900460ff16155b1561230f575060005b801561247a576017546000906001600160a01b038b81169116141561242b576127106007546006546123419190613123565b61234b908a6132a2565b61235591906132c1565b905060006127106006548a61236a91906132a2565b61237491906132c1565b905060006127106007548b61238991906132a2565b61239391906132c1565b6010549091506123ae908d906001600160a01b031684612566565b6015546123c6908d906001600160a01b031683612566565b601554604051630184eee960e51b8152600481018390526001600160a01b039091169063309ddd2090602401600060405180830381600087803b15801561240c57600080fd5b505af1158015612420573d6000803e3d6000fd5b50505050505061246c565b612710600a546009546008546124419190613123565b61244b9190613123565b612455908a6132a2565b61245f91906132c1565b905061246c8a3083612566565b6124768189613055565b9750505b612485898989612566565b6015546001600160a01b031663e30443bc8a6124a081611225565b6040518363ffffffff1660e01b81526004016124bd9291906130a1565b600060405180830381600087803b1580156124d757600080fd5b505af11580156124eb573d6000803e3d6000fd5b50506015546001600160a01b0316915063e30443bc90508961250c81611225565b6040518363ffffffff1660e01b81526004016125299291906130a1565b600060405180830381600087803b15801561254357600080fd5b505af1158015612557573d6000803e3d6000fd5b50505050505050505050505050565b6001600160a01b03831661258c5760405162461bcd60e51b8152600401610c069061321e565b6001600160a01b0382166125b25760405162461bcd60e51b8152600401610c0690613261565b6001600160a01b038316600090815260116020526040902054818110156125eb5760405162461bcd60e51b8152600401610c06906132e3565b6125f58282613055565b6001600160a01b03808616600090815260116020526040808220939093559085168152908120805484929061262b908490613123565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161267791815260200190565b60405180910390a350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821660009081526014602052604090205460ff161515811515141561276a5760405162461bcd60e51b815260206004820152603d60248201527f496e753a206175746f6d61746564206d61726b6574206d616b6572207061697260448201527f20697320616c72656164792073657420746f20746861742076616c75650000006064820152608401610c06565b6001600160a01b0382166000908152601460205260409020805460ff191682158015919091179091556127fc5760155460405162241fbd60e51b81526001600160a01b0390911690630483f7a0906127c99085906001906004016131d2565b600060405180830381600087803b1580156127e357600080fd5b505af11580156127f7573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b600081116128435750565b61284c81612ac2565b60105447906000906001600160a01b0316156128da57600a546009546008546128759190613123565b61287f9190613123565b60085461288c90846132a2565b61289691906132c1565b905080156128da576010546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156128d8573d6000803e3d6000fd5b505b600f5460009061010090046001600160a01b03161561296f57600a546009546008546129069190613123565b6129109190613123565b600a5461291d90856132a2565b61292791906132c1565b9050801561296f57600f546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f1935050505015801561296d573d6000803e3d6000fd5b505b600080601560009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156129c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e9919061310a565b1115610f4457600a54600954600854612a029190613123565b612a0c9190613123565b600954612a1990866132a2565b612a2391906132c1565b90508015610f44576015546040516000916001600160a01b03169083908381818185875af1925050503d8060008114612a78576040519150601f19603f3d011682016040523d82523d6000602084013e612a7d565b606091505b505090508015610cd0576040518281527fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19060200160405180910390a1505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612af757612af761313b565b6001600160a01b03928316602091820292909201810191909152601654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612b50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b74919061316c565b81600181518110612b8757612b8761313b565b6001600160a01b039283166020918202929092010152601654612bad9130911684611deb565b60165460405163791ac94760e01b81526001600160a01b039091169063791ac94790610ca2908590600090869030904290600401613327565b600060208083528351808285015260005b81811015612c1357858101830151858201604001528201612bf7565b81811115612c25576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610e3a57600080fd5b60008060408385031215612c6357600080fd5b8235612c6e81612c3b565b946020939093013593505050565b6001600160a01b0391909116815260200190565b600080600060608486031215612ca557600080fd5b8335612cb081612c3b565b92506020840135612cc081612c3b565b929592945050506040919091013590565b60008060408385031215612ce457600080fd5b50508035926020909101359150565b60008083601f840112612d0557600080fd5b50813567ffffffffffffffff811115612d1d57600080fd5b6020830191508360208260051b8501011115612d3857600080fd5b9250929050565b60008060008060408587031215612d5557600080fd5b843567ffffffffffffffff80821115612d6d57600080fd5b612d7988838901612cf3565b90965094506020870135915080821115612d9257600080fd5b50612d9f87828801612cf3565b95989497509550505050565b600060208284031215612dbd57600080fd5b8135612dc881612c3b565b9392505050565b8015158114610e3a57600080fd5b600080600060608486031215612df257600080fd5b8335612dfd81612dcf565b9250602084013591506040840135612e1481612dcf565b809150509250925092565b60008060008060808587031215612e3557600080fd5b8435612e4081612dcf565b93506020850135612e5081612dcf565b92506040850135612e6081612dcf565b91506060850135612e7081612dcf565b939692955090935050565b60008060408385031215612e8e57600080fd5b823591506020830135612ea081612c3b565b809150509250929050565b600080600060608486031215612ec057600080fd5b8335612ecb81612c3b565b92506020840135612edb81612dcf565b91506040840135612e1481612dcf565b600060208284031215612efd57600080fd5b5035919050565b60008060408385031215612f1757600080fd5b8235612f2281612c3b565b91506020830135612ea081612dcf565b600080600080600060a08688031215612f4a57600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b600080600060408486031215612f8257600080fd5b833567ffffffffffffffff811115612f9957600080fd5b612fa586828701612cf3565b909790965060209590950135949350505050565b600060208284031215612fcb57600080fd5b8135612dc881612dcf565b60008060408385031215612fe957600080fd5b8235612ff481612c3b565b91506020830135612ea081612c3b565b600181811c9082168061301857607f821691505b6020821081141561303957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156130675761306761303f565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6001600160a01b03929092168252602082015260400190565b6000602082840312156130cc57600080fd5b8151612dc881612dcf565b602080825260199082015278125b9d4e881499599b1958dd1a5bdb9cc8111a5cd8589b1959603a1b604082015260600190565b60006020828403121561311c57600080fd5b5051919050565b600082198211156131365761313661303f565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156131655761316561303f565b5060010190565b60006020828403121561317e57600080fd5b8151612dc881612c3b565b600080600080600060a086880312156131a157600080fd5b85516131ac81612c3b565b602087015160408801516060890151608090990151929a91995097965090945092505050565b6001600160a01b039290921682521515602082015260400190565b602080825260179082015276125b9d4e88111a5d9a59195b991cc8111a5cd8589b1959604a1b604082015260600190565b60208082526023908201527f496e753a207472616e736665722066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526021908201527f496e753a207472616e7366657220746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60008160001904831182151516156132bc576132bc61303f565b500290565b6000826132de57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526024908201527f496e753a207472616e7366657220616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156133775784516001600160a01b031683529383019391830191600101613352565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220a94c756fc87b90d5cda48c65b7914424d612d5ee9fbd096d5327dd94a985e76564736f6c634300080a003360e0604052601360a08190527224b73aafa234bb34b232b7322a3930b1b5b2b960691b60c090815262000036916001919062000133565b506040805180820190915260138082527224b73aafa234bb34b232b7322a3930b1b5b2b960691b6020909201918252620000739160029162000133565b503480156200008157600080fd5b5060405162001d9138038062001d91833981016040819052620000a491620001d9565b620000af33620000e3565b69021e19e0c9bab2400000608052600c80546001600160a01b0319166001600160a01b039290921691909117905562000248565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000141906200020b565b90600052602060002090601f016020900481019282620001655760008555620001b0565b82601f106200018057805160ff1916838001178555620001b0565b82800160010185558215620001b0579182015b82811115620001b057825182559160200191906001019062000193565b50620001be929150620001c2565b5090565b5b80821115620001be5760008155600101620001c3565b600060208284031215620001ec57600080fd5b81516001600160a01b03811681146200020457600080fd5b9392505050565b600181811c908216806200022057607f821691505b602082108114156200024257634e487b7160e01b600052602260045260246000fd5b50919050565b608051611b1f6200027260003960008181610534015281816108820152610fb00152611b1f6000f3fe6080604052600436106101c85760003560e01c806386bf5639116100f8578063a99e6f1711610090578063a99e6f1714610502578063c49af5f014610522578063c705c56914610556578063c94a19b81461058f578063d7e080021461061d578063dd62ed3e14610633578063e30443bc1461064e578063e6375d3e1461066e578063f2fde38b146106ac57600080fd5b806386bf5639146103bf5780638da5cb5b146104115780638e1269441461043e57806395d89b411461045e5780639d76ea58146104735780639e1e066114610493578063a044b75f146104a9578063a680e0bc146104c9578063a9059cbb1461022f57600080fd5b80633009a6091161016b5780633009a609146102d9578063309ddd20146102ef578063313ce5671461030257806339a9f3b91461031e57806370a082311461033e578063715018a61461035e5780637ec8cc5b14610373578063807ab4f71461038957806385a6b3ae146103a957600080fd5b806303c83302146101dc5780630483f7a0146101e457806306fdde0314610204578063095ea7b31461022f57806318160ddd1461025f5780631fbef3f21461027e57806323b872dd1461029e57806327ce0147146102b957600080fd5b366101d7576101d56106cc565b005b600080fd5b6101d56106cc565b3480156101f057600080fd5b506101d56101ff36600461176d565b61075b565b34801561021057600080fd5b5061021961090c565b60405161022691906117ab565b60405180910390f35b34801561023b57600080fd5b5061024f61024a366004611800565b61099e565b6040519015158152602001610226565b34801561026b57600080fd5b506004545b604051908152602001610226565b34801561028a57600080fd5b506101d561029936600461176d565b6109fd565b3480156102aa57600080fd5b5061024f61024a36600461182c565b3480156102c557600080fd5b506102706102d436600461186d565b610ab0565b3480156102e557600080fd5b5061027060035481565b6101d56102fd366004611891565b610b09565b34801561030e57600080fd5b5060405160128152602001610226565b34801561032a57600080fd5b5061027061033936600461186d565b610b99565b34801561034a57600080fd5b5061027061035936600461186d565b610c42565b34801561036a57600080fd5b506101d5610c5d565b34801561037f57600080fd5b50610270600b5481565b34801561039557600080fd5b5061024f6103a436600461186d565b610c96565b3480156103b557600080fd5b5061027060075481565b3480156103cb57600080fd5b506103df6103da36600461186d565b610d45565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a001610226565b34801561041d57600080fd5b50610426610de1565b6040516001600160a01b039091168152602001610226565b34801561044a57600080fd5b506101d56104593660046118aa565b610df0565b34801561046a57600080fd5b50610219610e68565b34801561047f57600080fd5b50600c54610426906001600160a01b031681565b34801561049f57600080fd5b5061027060085481565b3480156104b557600080fd5b506102706104c436600461186d565b610e77565b3480156104d557600080fd5b506102706104e436600461186d565b6001600160a01b03166000908152600d602052604090206005015490565b34801561050e57600080fd5b506103df61051d36600461186d565b610ebe565b34801561052e57600080fd5b506102707f000000000000000000000000000000000000000000000000000000000000000081565b34801561056257600080fd5b5061024f61057136600461186d565b6001600160a01b03166000908152600d602052604090205460ff1690565b34801561059b57600080fd5b506105e66105aa36600461186d565b600d6020526000908152604090208054600182015460028301546003840154600485015460059095015460ff8086169661010090960416949087565b6040805197151588529515156020880152948601939093526060850191909152608084015260a083015260c082015260e001610226565b34801561062957600080fd5b50610270600a5481565b34801561063f57600080fd5b5061027061024a3660046118cf565b34801561065a57600080fd5b506101d5610669366004611800565b610f5a565b34801561067a57600080fd5b5061024f61068936600461186d565b6001600160a01b03166000908152600d6020526040902054610100900460ff1690565b3480156106b857600080fd5b506101d56106c736600461186d565b610fee565b6000600454116106db57600080fd5b3415610759576004546106f2600160801b34611913565b6106fc9190611932565b6006546107099190611954565b60065560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a234600760008282546107539190611954565b90915550505b565b33610764610de1565b6001600160a01b0316146107935760405162461bcd60e51b815260040161078a9061196c565b60405180910390fd5b6001600160a01b0382166000908152600d602052604090205460ff16151581151514156107d25760405162461bcd60e51b815260040161078a906119a1565b6001600160a01b0382166000908152600d60205260409020805460ff1916821580159190911790915561080f5761080a82600061108b565b6108c3565b600c546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a0823190602401602060405180830381865afa15801561085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087e91906119fe565b90507f000000000000000000000000000000000000000000000000000000000000000081106108b6576108b1838261108b565b6108c1565b6108c183600061108b565b505b816001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be82604051610900911515815260200190565b60405180910390a25050565b60606001805461091b90611a17565b80601f016020809104026020016040519081016040528092919081815260200182805461094790611a17565b80156109945780601f1061096957610100808354040283529160200191610994565b820191906000526020600020905b81548152906001019060200180831161097757829003601f168201915b5050505050905090565b60405162461bcd60e51b815260206004820152602b60248201527f496e755f4469766964656e64547261636b65723a206d6574686f64206e6f742060448201526a1a5b5c1b195b595b9d195960aa1b606482015260009060840161078a565b33610a06610de1565b6001600160a01b031614610a2c5760405162461bcd60e51b815260040161078a9061196c565b6001600160a01b0382166000908152600d602052604090205460ff6101009091041615158115151415610a715760405162461bcd60e51b815260040161078a906119a1565b6001600160a01b0382166000908152600d602052604090208054821580156101000261ff00199092169190911790915561080f5761080a82600061108b565b600080610abc83610c42565b600654610ac99190611913565b6001600160a01b0384166000908152600d6020526040902060010154909150600160801b610af78284611a52565b610b019190611932565b949350505050565b600060045411610b1857600080fd5b8015610b9657600454610b2f600160801b83611913565b610b399190611932565b600954610b469190611954565b60095560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a280600a6000828254610b909190611954565b90915550505b50565b600033610ba4610de1565b6001600160a01b031614610bca5760405162461bcd60e51b815260040161078a9061196c565b6000610bd5836110e9565b90508015610c3c576001600160a01b0383166000818152600d60205260409081902042600590910155517f5287962f37e8311d1f68b563b6969614e0eb2862c1a714c8781511520e87e44290610c2e9084815260200190565b60405180910390a292915050565b92915050565b6001600160a01b031660009081526005602052604090205490565b33610c66610de1565b6001600160a01b031614610c8c5760405162461bcd60e51b815260040161078a9061196c565b61075960006111af565b600033610ca1610de1565b6001600160a01b031614610cc75760405162461bcd60e51b815260040161078a9061196c565b6000610cd2836111ff565b90508015610d3c576001600160a01b0383166000818152600d60205260409081902042600590910155517f5287962f37e8311d1f68b563b6969614e0eb2862c1a714c8781511520e87e44290610d2b9084815260200190565b60405180910390a250600192915050565b50600092915050565b6000806000806000610d55611727565b6001600160a01b0387168082526000908152600d6020526040902060040154610d7d88610e77565b610d879190611a93565b6020820152610d9587610e77565b60408281019182526001600160a01b03989098166000908152600d60209081529890206005015460608301819052825198909201519051600b5498999198909750919550909350915050565b6000546001600160a01b031690565b33610df9610de1565b6001600160a01b031614610e1f5760405162461bcd60e51b815260040161078a9061196c565b476001600160a01b0382166108fc84610e385782610e3a565b845b6040518115909202916000818181858888f19350505050158015610e62573d6000803e3d6000fd5b50505050565b60606002805461091b90611a17565b600080610e8383610c42565b600954610e909190611913565b6001600160a01b0384166000908152600d6020526040902060030154909150600160801b610af78284611a52565b6000806000806000610ece611727565b6001600160a01b0387168082526000908152600d6020526040902060020154610ef688610ab0565b610f009190611a93565b6020820152610f0e87610ab0565b60408281019182526001600160a01b03989098166000908152600d6020908152989020600501546060830181905282519890920151905160085498999198909750919550909350915050565b33610f63610de1565b6001600160a01b031614610f895760405162461bcd60e51b815260040161078a9061196c565b6001600160a01b0382166000908152600d602052604090205460ff1615610fae575050565b7f00000000000000000000000000000000000000000000000000000000000000008110610fe357610fdf828261108b565b5050565b610fdf82600061108b565b33610ff7610de1565b6001600160a01b03161461101d5760405162461bcd60e51b815260040161078a9061196c565b6001600160a01b0381166110825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161078a565b610b96816111af565b6001600160a01b038216600090815260056020526040902054808211156110c45760006110b88284611a93565b9050610e628482611379565b808210156110e45760006110d88383611a93565b9050610e628482611511565b505050565b6001600160a01b0381166000908152600d6020526040812060040154819061111084610e77565b61111a9190611a93565b90508015610d3c576001600160a01b0383166000908152600d60205260408120600401805483929061114d908490611954565b9250508190555080600b60008282546111669190611954565b90915550506040518181526001600160a01b038416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a292915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381166000908152600d6020526040812060020154819061122684610ab0565b6112309190611a93565b90508015610d3c576001600160a01b0383166000908152600d602052604081206002018054839290611263908490611954565b92505081905550806008600082825461127c9190611954565b90915550506040518181526001600160a01b038416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a26000836001600160a01b031682610bb890604051600060405180830381858888f193505050503d8060008114611311576040519150601f19603f3d011682016040523d82523d6000602084013e611316565b606091505b5050905080611372576001600160a01b0384166000908152600d60205260408120600201805484929061134a908490611a93565b9250508190555081600860008282546113639190611a93565b90915550600095945050505050565b5092915050565b6001600160a01b0382166113e55760405162461bcd60e51b815260206004820152602d60248201527f496e755f4469766964656e64547261636b65723a206d696e7420746f2074686560448201526c207a65726f206164647265737360981b606482015260840161078a565b80600460008282546113f79190611954565b90915550506001600160a01b03821660009081526005602052604081208054839290611424908490611954565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3806006546114789190611913565b6001600160a01b0383166000908152600d602052604090206001015461149e9190611aaa565b6001600160a01b0383166000908152600d60205260409020600101556009546114c8908290611913565b6001600160a01b0383166000908152600d60205260409020600301546114ee9190611aaa565b6001600160a01b039092166000908152600d602052604090206003019190915550565b6001600160a01b03821661157f5760405162461bcd60e51b815260206004820152602f60248201527f496e755f4469766964656e64547261636b65723a206275726e2066726f6d207460448201526e6865207a65726f206164647265737360881b606482015260840161078a565b6001600160a01b038216600090815260056020526040902054818110156116015760405162461bcd60e51b815260206004820152603060248201527f496e755f4469766964656e64547261636b65723a206275726e20616d6f756e7460448201526f20657863656564732062616c616e636560801b606482015260840161078a565b61160b8282611a93565b6001600160a01b03841660009081526005602052604081209190915560048054849290611639908490611a93565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a38160065461168d9190611913565b6001600160a01b0384166000908152600d60205260409020600101546116b39190611a52565b6001600160a01b0384166000908152600d60205260409020600101556009546116dd908390611913565b6001600160a01b0384166000908152600d60205260409020600301546117039190611a52565b6001600160a01b039093166000908152600d60205260409020600301929092555050565b604051806080016040528060006001600160a01b031681526020016000815260200160008152602001600081525090565b6001600160a01b0381168114610b9657600080fd5b6000806040838503121561178057600080fd5b823561178b81611758565b9150602083013580151581146117a057600080fd5b809150509250929050565b600060208083528351808285015260005b818110156117d8578581018301518582016040015282016117bc565b818111156117ea576000604083870101525b50601f01601f1916929092016040019392505050565b6000806040838503121561181357600080fd5b823561181e81611758565b946020939093013593505050565b60008060006060848603121561184157600080fd5b833561184c81611758565b9250602084013561185c81611758565b929592945050506040919091013590565b60006020828403121561187f57600080fd5b813561188a81611758565b9392505050565b6000602082840312156118a357600080fd5b5035919050565b600080604083850312156118bd57600080fd5b8235915060208301356117a081611758565b600080604083850312156118e257600080fd5b82356118ed81611758565b915060208301356117a081611758565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561192d5761192d6118fd565b500290565b60008261194f57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611967576119676118fd565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603b908201527f496e755f4469766964656e64547261636b65723a206163636f756e7420616c7260408201527f656164792073657420746f207265717565737465642073746174650000000000606082015260800190565b600060208284031215611a1057600080fd5b5051919050565b600181811c90821680611a2b57607f821691505b60208210811415611a4c57634e487b7160e01b600052602260045260246000fd5b50919050565b600080821280156001600160ff1b0384900385131615611a7457611a746118fd565b600160ff1b8390038412811615611a8d57611a8d6118fd565b50500190565b600082821015611aa557611aa56118fd565b500390565b60008083128015600160ff1b850184121615611ac857611ac86118fd565b6001600160ff1b0384018313811615611ae357611ae36118fd565b5050039056fea2646970667358221220ad6faf70fb54022249e821df70b6fd50307289a4242f789c8fdd1ef4b865f20364736f6c634300080a00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x6080604052600436106103105760003560e01c8063744d15911161019c578063b32725eb116100e2578063d2fcc00111610090578063d2fcc001146109c1578063d4c989d3146109e1578063dd62ed3e14610a01578063e01af92c14610a47578063e2f4560514610a67578063f0fc6bca14610a7d578063f1b234ad14610a92578063f2fde38b14610ab257600080fd5b8063b32725eb146108cf578063b62496f5146108ef578063b80b6e891461091f578063c024666814610935578063c2e5ec0414610955578063c705c56914610975578063d1058e59146109ac57600080fd5b806398e99aa61161014a57806398e99aa6146107cf5780639a7a23d6146107ef5780639e252f001461080f578063a2e00d631461082f578063a457c2d71461084f578063a680e0bc1461086f578063a9059cbb1461088f578063a99e6f17146108af57600080fd5b8063744d1591146106dd57806386bf5639146106f3578063870bd30b146107455780638da5cb5b146107655780638e1269441461077a57806391095ccd1461079a57806395d89b41146107ba57600080fd5b806339509351116102615780635e843ad21161020f5780635e843ad2146105b7578063658c27a9146105d757806365b8dbc0146106105780636dd3d39f146106305780636ddd17131461066957806370a0823114610688578063715018a6146106a85780637319b9a2146106bd57600080fd5b806339509351146104d25780633b91ceef146104f2578063417e4fa61461051257806349bd5a5e146105325780634fbee1931461055257806357777d311461058b5780635937ea6c146105a157600080fd5b80632c1f5216116102be5780632c1f5216146104135780632c642f5114610433578063313ce5671461045557806333beafc01461047157806333f3d6281461048757806337563293146104a7578063377c27ac146104bc57600080fd5b806306fdde031461031c578063095ea7b3146103475780630dd87157146103775780631694505e1461039b57806318160ddd146103c8578063223c3947146103dd57806323b872dd146103f357600080fd5b3661031757005b600080fd5b34801561032857600080fd5b50610331610ad2565b60405161033e9190612be6565b60405180910390f35b34801561035357600080fd5b50610367610362366004612c50565b610b64565b604051901515815260200161033e565b34801561038357600080fd5b5061038d600c5481565b60405190815260200161033e565b3480156103a757600080fd5b506016546103bb906001600160a01b031681565b60405161033e9190612c7c565b3480156103d457600080fd5b50600e5461038d565b3480156103e957600080fd5b5061038d60075481565b3480156103ff57600080fd5b5061036761040e366004612c90565b610b7a565b34801561041f57600080fd5b506015546103bb906001600160a01b031681565b34801561043f57600080fd5b5061045361044e366004612c50565b610c2e565b005b34801561046157600080fd5b506040516012815260200161033e565b34801561047d57600080fd5b5061038d60065481565b34801561049357600080fd5b506104536104a2366004612c50565b610cd8565b3480156104b357600080fd5b50610453610d7d565b3480156104c857600080fd5b5061038d600a5481565b3480156104de57600080fd5b506103676104ed366004612c50565b610e3d565b3480156104fe57600080fd5b5061045361050d366004612cd1565b610e74565b34801561051e57600080fd5b5061045361052d366004612d3f565b610eae565b34801561053e57600080fd5b506017546103bb906001600160a01b031681565b34801561055e57600080fd5b5061036761056d366004612dab565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561059757600080fd5b5061038d60185481565b3480156105ad57600080fd5b5061038d60085481565b3480156105c357600080fd5b506104536105d2366004612ddd565b610f4b565b3480156105e357600080fd5b506103676105f2366004612dab565b6001600160a01b03166000908152601b602052604090205460ff1690565b34801561061c57600080fd5b5061045361062b366004612dab565b610fa8565b34801561063c57600080fd5b5061036761064b366004612dab565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561067557600080fd5b50600d5461036790610100900460ff1681565b34801561069457600080fd5b5061038d6106a3366004612dab565b611225565b3480156106b457600080fd5b50610453611240565b3480156106c957600080fd5b506104536106d8366004612e1f565b61127b565b3480156106e957600080fd5b5061038d60195481565b3480156106ff57600080fd5b5061071361070e366004612dab565b611307565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a00161033e565b34801561075157600080fd5b50600d546103679062010000900460ff1681565b34801561077157600080fd5b506103bb611393565b34801561078657600080fd5b50610453610795366004612e7b565b6113a2565b3480156107a657600080fd5b506104536107b5366004612eab565b61140a565b3480156107c657600080fd5b506103316114de565b3480156107db57600080fd5b506104536107ea366004612eeb565b6114ed565b3480156107fb57600080fd5b5061045361080a366004612f04565b611533565b34801561081b57600080fd5b5061045361082a366004612eeb565b6115ce565b34801561083b57600080fd5b5061045361084a366004612f32565b61162a565b34801561085b57600080fd5b5061036761086a366004612c50565b611670565b34801561087b57600080fd5b5061038d61088a366004612dab565b611709565b34801561089b57600080fd5b506103676108aa366004612c50565b611781565b3480156108bb57600080fd5b506107136108ca366004612dab565b61178e565b3480156108db57600080fd5b506104536108ea366004612f6d565b6117c7565b3480156108fb57600080fd5b5061036761090a366004612dab565b60146020526000908152604090205460ff1681565b34801561092b57600080fd5b5061038d60095481565b34801561094157600080fd5b50610453610950366004612f04565b61184b565b34801561096157600080fd5b50610453610970366004612fb9565b61192b565b34801561098157600080fd5b50610995610990366004612dab565b61196d565b60408051921515835290151560208301520161033e565b3480156109b857600080fd5b50610453611a5d565b3480156109cd57600080fd5b506104536109dc366004612f04565b611b46565b3480156109ed57600080fd5b506104536109fc366004612f04565b611ba0565b348015610a0d57600080fd5b5061038d610a1c366004612fd6565b6001600160a01b03918216600090815260126020908152604080832093909416825291909152205490565b348015610a5357600080fd5b50610453610a62366004612fb9565b611bfa565b348015610a7357600080fd5b5061038d600b5481565b348015610a8957600080fd5b50610453611c43565b348015610a9e57600080fd5b50610453610aad366004612fd6565b611ce3565b348015610abe57600080fd5b50610453610acd366004612dab565b611d4e565b606060048054610ae190613004565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0d90613004565b8015610b5a5780601f10610b2f57610100808354040283529160200191610b5a565b820191906000526020600020905b815481529060010190602001808311610b3d57829003601f168201915b5050505050905090565b6000610b71338484611deb565b50600192915050565b6000610b87848484611f03565b6001600160a01b038416600090815260126020908152604080832033845290915290205482811015610c0f5760405162461bcd60e51b815260206004820152602660248201527f496e753a207472616e7366657220616d6f756e74206578636565647320616c6c6044820152656f77616e636560d01b60648201526084015b60405180910390fd5b610c238533610c1e8685613055565b611deb565b506001949350505050565b33610c37611393565b6001600160a01b031614610c5d5760405162461bcd60e51b8152600401610c069061306c565b601554610c759083906001600160a01b031683612566565b601554604051630184eee960e51b8152600481018390526001600160a01b039091169063309ddd20906024015b600060405180830381600087803b158015610cbc57600080fd5b505af1158015610cd0573d6000803e3d6000fd5b505050505050565b33610ce1611393565b6001600160a01b031614610d075760405162461bcd60e51b8152600401610c069061306c565b60405163a9059cbb60e01b81526001600160a01b0383169063a9059cbb90610d3590339085906004016130a1565b6020604051808303816000875af1158015610d54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7891906130ba565b505050565b600d546301000000900460ff161515600114610dab5760405162461bcd60e51b8152600401610c06906130d7565b6015546000906001600160a01b03166339a9f3b9335b6040518263ffffffff1660e01b8152600401610ddd9190612c7c565b6020604051808303816000875af1158015610dfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e20919061310a565b601554909150610e3a906001600160a01b03163383612566565b50565b3360008181526012602090815260408083206001600160a01b03871684529091528120549091610b71918590610c1e908690613123565b33610e7d611393565b6001600160a01b031614610ea35760405162461bcd60e51b8152600401610c069061306c565b601891909155601955565b33610eb7611393565b6001600160a01b031614610edd5760405162461bcd60e51b8152600401610c069061306c565b60005b83811015610f4457610f3133868684818110610efe57610efe61313b565b9050602002016020810190610f139190612dab565b858585818110610f2557610f2561313b565b90506020020135610b7a565b5080610f3c81613151565b915050610ee0565b5050505050565b33610f54611393565b6001600160a01b031614610f7a5760405162461bcd60e51b8152600401610c069061306c565b600d8054600b9390935590151560ff19931515610100029390931661ffff1990921691909117919091179055565b33610fb1611393565b6001600160a01b031614610fd75760405162461bcd60e51b8152600401610c069061306c565b6016546001600160a01b038281169116141561104f5760405162461bcd60e51b815260206004820152603160248201527f496e753a2074686520726f7574657220697320616c72656164792073657420746044820152706f20746865206e6577206164647265737360781b6064820152608401610c06565b6016546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601680546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa1580156110e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110a919061316c565b6001600160a01b031663c9c6539630601660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561116c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611190919061316c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156111dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611201919061316c565b601780546001600160a01b0319166001600160a01b03929092169190911790555050565b6001600160a01b031660009081526011602052604090205490565b33611249611393565b6001600160a01b03161461126f5760405162461bcd60e51b8152600401610c069061306c565b6112796000612685565b565b33611284611393565b6001600160a01b0316146112aa5760405162461bcd60e51b8152600401610c069061306c565b600d8054601a805494151560ff1990951694909417909355901515620100000262ff00001993151563010000000263ff00000019951515640100000000029590951664ffff00000019909316929092179390931791909116179055565b6015546040516386bf563960e01b815260009182918291829182916001600160a01b0316906386bf563990611340908990600401612c7c565b60a060405180830381865afa15801561135d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113819190613189565b939a9299509097509550909350915050565b6000546001600160a01b031690565b336113ab611393565b6001600160a01b0316146113d15760405162461bcd60e51b8152600401610c069061306c565b6015546040516323849a5160e21b8152600481018490526001600160a01b03838116602483015290911690638e12694490604401610ca2565b33611413611393565b6001600160a01b0316146114395760405162461bcd60e51b8152600401610c069061306c565b600181151514156114ac5760155460405162241fbd60e51b81526001600160a01b0390911690630483f7a09061147590869086906004016131d2565b600060405180830381600087803b15801561148f57600080fd5b505af11580156114a3573d6000803e3d6000fd5b50505050505050565b601554604051630fdf79f960e11b81526001600160a01b0390911690631fbef3f29061147590869086906004016131d2565b606060058054610ae190613004565b336114f6611393565b6001600160a01b03161461151c5760405162461bcd60e51b8152600401610c069061306c565b601554610e3a906001600160a01b03163383612566565b3361153c611393565b6001600160a01b0316146115625760405162461bcd60e51b8152600401610c069061306c565b6017546001600160a01b03838116911614156115c05760405162461bcd60e51b815260206004820181905260248201527f496e753a2044455820706169722063616e206e6f742062652072656d6f7665646044820152606401610c06565b6115ca82826126d5565b5050565b336115d7611393565b6001600160a01b0316146115fd5760405162461bcd60e51b8152600401610c069061306c565b604051339082156108fc029083906000818181858888f193505050501580156115ca573d6000803e3d6000fd5b33611633611393565b6001600160a01b0316146116595760405162461bcd60e51b8152600401610c069061306c565b600794909455600692909255600855600955600a55565b3360009081526012602090815260408083206001600160a01b0386168452909152812054828110156116f05760405162461bcd60e51b815260206004820152602360248201527f496e753a2064656372656173656420616c6c6f77616e63652062656c6f77207a60448201526265726f60e81b6064820152608401610c06565b6116ff3385610c1e8685613055565b5060019392505050565b6015546040516329a0382f60e21b81526000916001600160a01b03169063a680e0bc9061173a908590600401612c7c565b602060405180830381865afa158015611757573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177b919061310a565b92915050565b6000610b71338484611f03565b60155460405163a99e6f1760e01b815260009182918291829182916001600160a01b03169063a99e6f1790611340908990600401612c7c565b336117d0611393565b6001600160a01b0316146117f65760405162461bcd60e51b8152600401610c069061306c565b60005b8281101561184557611832338585848181106118175761181761313b565b905060200201602081019061182c9190612dab565b84610b7a565b508061183d81613151565b9150506117f9565b50505050565b33611854611393565b6001600160a01b03161461187a5760405162461bcd60e51b8152600401610c069061306c565b6001600160a01b03821660009081526013602052604090205460ff16151581151514156119005760405162461bcd60e51b815260206004820152602e60248201527f496e753a206163636f756e7420697320616c72656164792073657420746f207260448201526d657175657374656420737461746560901b6064820152608401610c06565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b33611934611393565b6001600160a01b03161461195a5760405162461bcd60e51b8152600401610c069061306c565b601a805460ff1916911515919091179055565b60155460405163c705c56960e01b815260009182916001600160a01b039091169063c705c569906119a2908690600401612c7c565b602060405180830381865afa1580156119bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e391906130ba565b60155460405163731bae9f60e11b81526001600160a01b039091169063e6375d3e90611a13908790600401612c7c565b602060405180830381865afa158015611a30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5491906130ba565b91509150915091565b600d54640100000000900460ff161515600114611a8c5760405162461bcd60e51b8152600401610c06906131ed565b600d546301000000900460ff161515600114611aba5760405162461bcd60e51b8152600401610c06906130d7565b6015546001600160a01b031663807ab4f7336040518263ffffffff1660e01b8152600401611ae89190612c7c565b6020604051808303816000875af1158015611b07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2b91906130ba565b506015546000906001600160a01b03166339a9f3b933610dc1565b33611b4f611393565b6001600160a01b031614611b755760405162461bcd60e51b8152600401610c069061306c565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b33611ba9611393565b6001600160a01b031614611bcf5760405162461bcd60e51b8152600401610c069061306c565b6001600160a01b03919091166000908152601b60205260409020805460ff1916911515919091179055565b33611c03611393565b6001600160a01b031614611c295760405162461bcd60e51b8152600401610c069061306c565b600d80549115156101000261ff0019909216919091179055565b600d54640100000000900460ff161515600114611c725760405162461bcd60e51b8152600401610c06906131ed565b6015546001600160a01b031663807ab4f7336040518263ffffffff1660e01b8152600401611ca09190612c7c565b6020604051808303816000875af1158015611cbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3a91906130ba565b33611cec611393565b6001600160a01b031614611d125760405162461bcd60e51b8152600401610c069061306c565b601080546001600160a01b039384166001600160a01b0319909116179055600f80549190921661010002610100600160a81b0319909116179055565b33611d57611393565b6001600160a01b031614611d7d5760405162461bcd60e51b8152600401610c069061306c565b6001600160a01b038116611de25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c06565b610e3a81612685565b6001600160a01b038316611e4c5760405162461bcd60e51b815260206004820152602260248201527f496e753a20617070726f76652066726f6d20746865207a65726f206164647265604482015261737360f01b6064820152608401610c06565b6001600160a01b038216611ea25760405162461bcd60e51b815260206004820181905260248201527f496e753a20617070726f766520746f20746865207a65726f20616464726573736044820152606401610c06565b6001600160a01b0383811660008181526012602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b601a5460ff1680611f2c5750611f17611393565b6001600160a01b0316836001600160a01b0316145b80611f4f5750611f3a611393565b6001600160a01b0316826001600160a01b0316145b611f865760405162461bcd60e51b81526020600482015260086024820152672737ba1027b832b760c11b6044820152606401610c06565b6001600160a01b038316611fac5760405162461bcd60e51b8152600401610c069061321e565b6001600160a01b038216611fd25760405162461bcd60e51b8152600401610c0690613261565b6000612710601854611fe3600e5490565b611fed91906132a2565b611ff791906132c1565b9050600061271060195461200a600e5490565b61201491906132a2565b61201e91906132c1565b9050818311158061204757506001600160a01b0385166000908152601b602052604090205460ff165b6120875760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b6044820152606401610c06565b61208f611393565b6001600160a01b0316856001600160a01b0316141580156120b957506001600160a01b0384163014155b80156120d357506002546001600160a01b03858116911614155b80156120ed57506017546001600160a01b03858116911614155b1561213b5760006120fd85611225565b6001600160a01b0386166000908152601c602052604090205490915060ff168061213057508161212d8583613123565b11155b61213957600080fd5b505b6001600160a01b038516600090815260116020526040902054838110156121745760405162461bcd60e51b8152600401610c06906132e3565b600061217f30611225565b600b54600d5491925082101590610100900460ff16801561219d5750805b80156121ac5750600f5460ff16155b80156121d157506001600160a01b03881660009081526014602052604090205460ff16155b80156121eb57506016546001600160a01b03898116911614155b801561221057506121fa611393565b6001600160a01b0316886001600160a01b031614155b8015612235575061221f611393565b6001600160a01b0316876001600160a01b031614155b1561226f57600f805460ff19166001179055600d5460ff1661225757600b5491505b61226082612838565b42600c55600f805460ff191690555b6017546000906001600160a01b038a81169116148061229b57506017546001600160a01b038981169116145b156122a4575060015b6001600160a01b03891660009081526013602052604090205460ff16806122e357506001600160a01b03881660009081526013602052604090205460ff165b156122ec575060005b600f5460ff16806123065750600d5462010000900460ff16155b1561230f575060005b801561247a576017546000906001600160a01b038b81169116141561242b576127106007546006546123419190613123565b61234b908a6132a2565b61235591906132c1565b905060006127106006548a61236a91906132a2565b61237491906132c1565b905060006127106007548b61238991906132a2565b61239391906132c1565b6010549091506123ae908d906001600160a01b031684612566565b6015546123c6908d906001600160a01b031683612566565b601554604051630184eee960e51b8152600481018390526001600160a01b039091169063309ddd2090602401600060405180830381600087803b15801561240c57600080fd5b505af1158015612420573d6000803e3d6000fd5b50505050505061246c565b612710600a546009546008546124419190613123565b61244b9190613123565b612455908a6132a2565b61245f91906132c1565b905061246c8a3083612566565b6124768189613055565b9750505b612485898989612566565b6015546001600160a01b031663e30443bc8a6124a081611225565b6040518363ffffffff1660e01b81526004016124bd9291906130a1565b600060405180830381600087803b1580156124d757600080fd5b505af11580156124eb573d6000803e3d6000fd5b50506015546001600160a01b0316915063e30443bc90508961250c81611225565b6040518363ffffffff1660e01b81526004016125299291906130a1565b600060405180830381600087803b15801561254357600080fd5b505af1158015612557573d6000803e3d6000fd5b50505050505050505050505050565b6001600160a01b03831661258c5760405162461bcd60e51b8152600401610c069061321e565b6001600160a01b0382166125b25760405162461bcd60e51b8152600401610c0690613261565b6001600160a01b038316600090815260116020526040902054818110156125eb5760405162461bcd60e51b8152600401610c06906132e3565b6125f58282613055565b6001600160a01b03808616600090815260116020526040808220939093559085168152908120805484929061262b908490613123565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161267791815260200190565b60405180910390a350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821660009081526014602052604090205460ff161515811515141561276a5760405162461bcd60e51b815260206004820152603d60248201527f496e753a206175746f6d61746564206d61726b6574206d616b6572207061697260448201527f20697320616c72656164792073657420746f20746861742076616c75650000006064820152608401610c06565b6001600160a01b0382166000908152601460205260409020805460ff191682158015919091179091556127fc5760155460405162241fbd60e51b81526001600160a01b0390911690630483f7a0906127c99085906001906004016131d2565b600060405180830381600087803b1580156127e357600080fd5b505af11580156127f7573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b600081116128435750565b61284c81612ac2565b60105447906000906001600160a01b0316156128da57600a546009546008546128759190613123565b61287f9190613123565b60085461288c90846132a2565b61289691906132c1565b905080156128da576010546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156128d8573d6000803e3d6000fd5b505b600f5460009061010090046001600160a01b03161561296f57600a546009546008546129069190613123565b6129109190613123565b600a5461291d90856132a2565b61292791906132c1565b9050801561296f57600f546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f1935050505015801561296d573d6000803e3d6000fd5b505b600080601560009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156129c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e9919061310a565b1115610f4457600a54600954600854612a029190613123565b612a0c9190613123565b600954612a1990866132a2565b612a2391906132c1565b90508015610f44576015546040516000916001600160a01b03169083908381818185875af1925050503d8060008114612a78576040519150601f19603f3d011682016040523d82523d6000602084013e612a7d565b606091505b505090508015610cd0576040518281527fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19060200160405180910390a1505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612af757612af761313b565b6001600160a01b03928316602091820292909201810191909152601654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612b50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b74919061316c565b81600181518110612b8757612b8761313b565b6001600160a01b039283166020918202929092010152601654612bad9130911684611deb565b60165460405163791ac94760e01b81526001600160a01b039091169063791ac94790610ca2908590600090869030904290600401613327565b600060208083528351808285015260005b81811015612c1357858101830151858201604001528201612bf7565b81811115612c25576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610e3a57600080fd5b60008060408385031215612c6357600080fd5b8235612c6e81612c3b565b946020939093013593505050565b6001600160a01b0391909116815260200190565b600080600060608486031215612ca557600080fd5b8335612cb081612c3b565b92506020840135612cc081612c3b565b929592945050506040919091013590565b60008060408385031215612ce457600080fd5b50508035926020909101359150565b60008083601f840112612d0557600080fd5b50813567ffffffffffffffff811115612d1d57600080fd5b6020830191508360208260051b8501011115612d3857600080fd5b9250929050565b60008060008060408587031215612d5557600080fd5b843567ffffffffffffffff80821115612d6d57600080fd5b612d7988838901612cf3565b90965094506020870135915080821115612d9257600080fd5b50612d9f87828801612cf3565b95989497509550505050565b600060208284031215612dbd57600080fd5b8135612dc881612c3b565b9392505050565b8015158114610e3a57600080fd5b600080600060608486031215612df257600080fd5b8335612dfd81612dcf565b9250602084013591506040840135612e1481612dcf565b809150509250925092565b60008060008060808587031215612e3557600080fd5b8435612e4081612dcf565b93506020850135612e5081612dcf565b92506040850135612e6081612dcf565b91506060850135612e7081612dcf565b939692955090935050565b60008060408385031215612e8e57600080fd5b823591506020830135612ea081612c3b565b809150509250929050565b600080600060608486031215612ec057600080fd5b8335612ecb81612c3b565b92506020840135612edb81612dcf565b91506040840135612e1481612dcf565b600060208284031215612efd57600080fd5b5035919050565b60008060408385031215612f1757600080fd5b8235612f2281612c3b565b91506020830135612ea081612dcf565b600080600080600060a08688031215612f4a57600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b600080600060408486031215612f8257600080fd5b833567ffffffffffffffff811115612f9957600080fd5b612fa586828701612cf3565b909790965060209590950135949350505050565b600060208284031215612fcb57600080fd5b8135612dc881612dcf565b60008060408385031215612fe957600080fd5b8235612ff481612c3b565b91506020830135612ea081612c3b565b600181811c9082168061301857607f821691505b6020821081141561303957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156130675761306761303f565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6001600160a01b03929092168252602082015260400190565b6000602082840312156130cc57600080fd5b8151612dc881612dcf565b602080825260199082015278125b9d4e881499599b1958dd1a5bdb9cc8111a5cd8589b1959603a1b604082015260600190565b60006020828403121561311c57600080fd5b5051919050565b600082198211156131365761313661303f565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156131655761316561303f565b5060010190565b60006020828403121561317e57600080fd5b8151612dc881612c3b565b600080600080600060a086880312156131a157600080fd5b85516131ac81612c3b565b602087015160408801516060890151608090990151929a91995097965090945092505050565b6001600160a01b039290921682521515602082015260400190565b602080825260179082015276125b9d4e88111a5d9a59195b991cc8111a5cd8589b1959604a1b604082015260600190565b60208082526023908201527f496e753a207472616e736665722066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526021908201527f496e753a207472616e7366657220746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60008160001904831182151516156132bc576132bc61303f565b500290565b6000826132de57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526024908201527f496e753a207472616e7366657220616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156133775784516001600160a01b031683529383019391830191600101613352565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220a94c756fc87b90d5cda48c65b7914424d612d5ee9fbd096d5327dd94a985e76564736f6c634300080a0033
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.