ERC-20
Overview
Max Total Supply
10,000,000,000 INC
Holders
670
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,477,808.822316506784606921 INCValue
$0.00Loading...
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; 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 isOpen = 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 openTrading() external onlyOwner { isOpen = true; } function _transfer( address sender, address recipient, uint256 amount ) internal { require( isOpen || 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) public onlyOwner { dividendTracker.excludeFromDividends(account, excluded); } function isExcludedFromDividends(address account) public view returns (bool) { return dividendTracker.isExcludedFromDividends(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 { dividendTracker.processAccount(payable(_msgSender())); } function claimReflection() public { uint256 amount = dividendTracker.processAccountReflection(payable(_msgSender())); _executeTransfer(address(dividendTracker), address(_msgSender()), amount); } function claimAll() public { 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 setTaxEnabled(bool _enabled) external onlyOwner { taxEnabled = _enabled; } 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); } } } 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"}],"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"}],"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":"openTrading","outputs":[],"stateMutability":"nonpayable","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":"_enabled","type":"bool"}],"name":"setTaxEnabled","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":[],"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
600180546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1790915560028054821661dead17905560038054909116905560c0604052600b60808190526a125b9d4810d85c1a5d185b60aa1b60a09081526200006c916004919062000bff565b5060408051808201909152600380825262494e4360e81b6020909201918252620000999160059162000bff565b506101f460068190556007556105146008556102586009556064600a81905569152d02c7e14af6800000600b55600d805462ffffff191662010101179055600f8054610100600160a81b03191674acbe3d24455995e04c49645479caf8aa3341fecc001790556010805473a8f656435f632bbeaaa439e7a0f6a7ff96ff11b26001600160a01b03199091161790556019601881905555601a805460ff191690553480156200014657600080fd5b50620001523362000849565b30604051620001619062000c8e565b6001600160a01b039091168152602001604051809103906000f0801580156200018e573d6000803e3d6000fd5b50601580546001600160a01b0319166001600160a01b039283161790556001546040805163c45a015560e01b815290519190921691600091839163c45a01559160048083019260209291908290030181865afa158015620001f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000219919062000cb3565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000267573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200028d919062000cb3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002db573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000301919062000cb3565b601680546001600160a01b038086166001600160a01b031992831617909255601780549284169290911691909117905590506200034081600162000899565b60155460405162241fbd60e51b81526001600160a01b03909116600482018190526001602483015290630483f7a090604401600060405180830381600087803b1580156200038d57600080fd5b505af1158015620003a2573d6000803e3d6000fd5b505060155460405162241fbd60e51b8152306004820152600160248201526001600160a01b039091169250630483f7a09150604401600060405180830381600087803b158015620003f257600080fd5b505af115801562000407573d6000803e3d6000fd5b50506015546001600160a01b03169150630483f7a09050620004316000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b1580156200047a57600080fd5b505af11580156200048f573d6000803e3d6000fd5b505060155460405162241fbd60e51b81526001600160a01b038681166004830152600160248301529091169250630483f7a09150604401600060405180830381600087803b158015620004e157600080fd5b505af1158015620004f6573d6000803e3d6000fd5b5050601554604051630fdf79f960e11b81526001600160a01b0390911660048201819052600160248301529250631fbef3f29150604401600060405180830381600087803b1580156200054857600080fd5b505af11580156200055d573d6000803e3d6000fd5b5050601554604051630fdf79f960e11b8152306004820152600160248201526001600160a01b039091169250631fbef3f29150604401600060405180830381600087803b158015620005ae57600080fd5b505af1158015620005c3573d6000803e3d6000fd5b50506015546001600160a01b03169150631fbef3f29050620005ed6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b1580156200063657600080fd5b505af11580156200064b573d6000803e3d6000fd5b5050601554604051630fdf79f960e11b81526001600160a01b038681166004830152600160248301529091169250631fbef3f29150604401600060405180830381600087803b1580156200069e57600080fd5b505af1158015620006b3573d6000803e3d6000fd5b50505050620006d3620006cb62000a0660201b60201c565b600162000a15565b620006e030600162000a15565b601554620006f9906001600160a01b0316600162000a15565b62000718620007106000546001600160a01b031690565b600162000b13565b6200072530600162000b13565b6015546200073e906001600160a01b0316600162000b13565b6200075d620007556000546001600160a01b031690565b600162000b89565b6200076a30600162000b89565b60155462000783906001600160a01b0316600162000b89565b60006b204fce5e3e25026110000000905080600e6000828254620007a8919062000ce5565b9091555081905060116000620007c66000546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254620007f7919062000ce5565b9091555050600080546040518381526001600160a01b0390911691907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505062000d49565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821660009081526014602052604090205460ff1615158115151415620009345760405162461bcd60e51b815260206004820152603d60248201527f496e753a206175746f6d61746564206d61726b6574206d616b6572207061697260448201527f20697320616c72656164792073657420746f20746861742076616c756500000060648201526084015b60405180910390fd5b6001600160a01b0382166000908152601460205260409020805460ff19168215801591909117909155620009ca5760155460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b158015620009b057600080fd5b505af1158015620009c5573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6000546001600160a01b031690565b6000546001600160a01b0316331462000a605760405162461bcd60e51b8152602060048201819052602482015260008051602062005a4783398151915260448201526064016200092b565b6001600160a01b03821660009081526013602052604090205460ff161515811515141562000ae85760405162461bcd60e51b815260206004820152602e60248201527f496e753a206163636f756e7420697320616c72656164792073657420746f207260448201526d657175657374656420737461746560901b60648201526084016200092b565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6000546001600160a01b0316331462000b5e5760405162461bcd60e51b8152602060048201819052602482015260008051602062005a4783398151915260448201526064016200092b565b6001600160a01b03919091166000908152601b60205260409020805460ff1916911515919091179055565b6000546001600160a01b0316331462000bd45760405162461bcd60e51b8152602060048201819052602482015260008051602062005a4783398151915260448201526064016200092b565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b82805462000c0d9062000d0c565b90600052602060002090601f01602090048101928262000c31576000855562000c7c565b82601f1062000c4c57805160ff191683800117855562000c7c565b8280016001018555821562000c7c579182015b8281111562000c7c57825182559160200191906001019062000c5f565b5062000c8a92915062000c9c565b5090565b611d918062003cb683390190565b5b8082111562000c8a576000815560010162000c9d565b60006020828403121562000cc657600080fd5b81516001600160a01b038116811462000cde57600080fd5b9392505050565b6000821982111562000d0757634e487b7160e01b600052601160045260246000fd5b500190565b600181811c9082168062000d2157607f821691505b6020821081141562000d4357634e487b7160e01b600052602260045260246000fd5b50919050565b612f5d8062000d596000396000f3fe6080604052600436106103055760003560e01c806386bf563911610191578063b62496f5116100e2578063d2fcc00111610090578063d2fcc00114610974578063d4c989d314610994578063dd62ed3e146109b4578063e01af92c146109fa578063e2f4560514610a1a578063f0fc6bca14610a30578063f1b234ad14610a45578063f2fde38b14610a6557600080fd5b8063b62496f5146108a4578063b80b6e89146108d4578063c0246668146108ea578063c6af580b1461090a578063c705c5691461092a578063c9567bf91461094a578063d1058e591461095f57600080fd5b80639e252f001161013f5780639e252f00146107c4578063a2e00d63146107e4578063a457c2d714610804578063a680e0bc14610824578063a9059cbb14610844578063a99e6f1714610864578063b32725eb1461088457600080fd5b806386bf5639146106c8578063870bd30b1461071a5780638da5cb5b1461073a5780638e1269441461074f57806395d89b411461076f57806398e99aa6146107845780639a7a23d6146107a457600080fd5b8063377c27ac116102565780635e843ad2116102045780635e843ad2146105ac578063658c27a9146105cc57806365b8dbc0146106055780636dd3d39f146106255780636ddd17131461065e57806370a082311461067d578063715018a61461069d578063744d1591146106b257600080fd5b8063377c27ac146104d157806339509351146104e75780633b91ceef1461050757806349bd5a5e146105275780634fbee1931461054757806357777d31146105805780635937ea6c1461059657600080fd5b806323b872dd116102b357806323b872dd1461040a5780632c1f52161461042a5780632c642f511461044a578063313ce5671461046a57806333beafc01461048657806333f3d6281461049c57806337563293146104bc57600080fd5b80630483f7a01461031157806306fdde0314610333578063095ea7b31461035e5780630dd871571461038e5780631694505e146103b257806318160ddd146103df578063223c3947146103f457600080fd5b3661030c57005b600080fd5b34801561031d57600080fd5b5061033161032c36600461293c565b610a85565b005b34801561033f57600080fd5b50610348610b28565b6040516103559190612975565b60405180910390f35b34801561036a57600080fd5b5061037e6103793660046129ca565b610bba565b6040519015158152602001610355565b34801561039a57600080fd5b506103a4600c5481565b604051908152602001610355565b3480156103be57600080fd5b506016546103d2906001600160a01b031681565b60405161035591906129f6565b3480156103eb57600080fd5b50600e546103a4565b34801561040057600080fd5b506103a460075481565b34801561041657600080fd5b5061037e610425366004612a0a565b610bd0565b34801561043657600080fd5b506015546103d2906001600160a01b031681565b34801561045657600080fd5b506103316104653660046129ca565b610c7f565b34801561047657600080fd5b5060405160128152602001610355565b34801561049257600080fd5b506103a460065481565b3480156104a857600080fd5b506103316104b73660046129ca565b610cf7565b3480156104c857600080fd5b50610331610d9c565b3480156104dd57600080fd5b506103a4600a5481565b3480156104f357600080fd5b5061037e6105023660046129ca565b610e2e565b34801561051357600080fd5b50610331610522366004612a4b565b610e65565b34801561053357600080fd5b506017546103d2906001600160a01b031681565b34801561055357600080fd5b5061037e610562366004612a6d565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561058c57600080fd5b506103a460185481565b3480156105a257600080fd5b506103a460085481565b3480156105b857600080fd5b506103316105c7366004612a91565b610e9f565b3480156105d857600080fd5b5061037e6105e7366004612a6d565b6001600160a01b03166000908152601b602052604090205460ff1690565b34801561061157600080fd5b50610331610620366004612a6d565b610efc565b34801561063157600080fd5b5061037e610640366004612a6d565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561066a57600080fd5b50600d5461037e90610100900460ff1681565b34801561068957600080fd5b506103a4610698366004612a6d565b611179565b3480156106a957600080fd5b50610331611194565b3480156106be57600080fd5b506103a460195481565b3480156106d457600080fd5b506106e86106e3366004612a6d565b6111cf565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a001610355565b34801561072657600080fd5b50600d5461037e9062010000900460ff1681565b34801561074657600080fd5b506103d261125b565b34801561075b57600080fd5b5061033161076a366004612ad3565b61126a565b34801561077b57600080fd5b506103486112d2565b34801561079057600080fd5b5061033161079f366004612af8565b6112e1565b3480156107b057600080fd5b506103316107bf36600461293c565b611327565b3480156107d057600080fd5b506103316107df366004612af8565b6113c2565b3480156107f057600080fd5b506103316107ff366004612b11565b61141e565b34801561081057600080fd5b5061037e61081f3660046129ca565b611464565b34801561083057600080fd5b506103a461083f366004612a6d565b6114fd565b34801561085057600080fd5b5061037e61085f3660046129ca565b611575565b34801561087057600080fd5b506106e861087f366004612a6d565b611582565b34801561089057600080fd5b5061033161089f366004612b4c565b6115bb565b3480156108b057600080fd5b5061037e6108bf366004612a6d565b60146020526000908152604090205460ff1681565b3480156108e057600080fd5b506103a460095481565b3480156108f657600080fd5b5061033161090536600461293c565b61163f565b34801561091657600080fd5b50610331610925366004612bc7565b61171f565b34801561093657600080fd5b5061037e610945366004612a6d565b61176a565b34801561095657600080fd5b506103316117dc565b34801561096b57600080fd5b5061033161181a565b34801561098057600080fd5b5061033161098f36600461293c565b6118a6565b3480156109a057600080fd5b506103316109af36600461293c565b611900565b3480156109c057600080fd5b506103a46109cf366004612be4565b6001600160a01b03918216600090815260126020908152604080832093909416825291909152205490565b348015610a0657600080fd5b50610331610a15366004612bc7565b61195a565b348015610a2657600080fd5b506103a4600b5481565b348015610a3c57600080fd5b506103316119a3565b348015610a5157600080fd5b50610331610a60366004612be4565b611a14565b348015610a7157600080fd5b50610331610a80366004612a6d565b611a7f565b33610a8e61125b565b6001600160a01b031614610abd5760405162461bcd60e51b8152600401610ab490612c12565b60405180910390fd5b60155460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b158015610b0c57600080fd5b505af1158015610b20573d6000803e3d6000fd5b505050505050565b606060048054610b3790612c47565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6390612c47565b8015610bb05780601f10610b8557610100808354040283529160200191610bb0565b820191906000526020600020905b815481529060010190602001808311610b9357829003601f168201915b5050505050905090565b6000610bc7338484611b1c565b50600192915050565b6000610bdd848484611c34565b6001600160a01b038416600090815260126020908152604080832033845290915290205482811015610c605760405162461bcd60e51b815260206004820152602660248201527f496e753a207472616e7366657220616d6f756e74206578636565647320616c6c6044820152656f77616e636560d01b6064820152608401610ab4565b610c748533610c6f8685612c98565b611b1c565b506001949350505050565b33610c8861125b565b6001600160a01b031614610cae5760405162461bcd60e51b8152600401610ab490612c12565b601554610cc69083906001600160a01b031683612297565b601554604051630184eee960e51b8152600481018390526001600160a01b039091169063309ddd2090602401610af2565b33610d0061125b565b6001600160a01b031614610d265760405162461bcd60e51b8152600401610ab490612c12565b60405163a9059cbb60e01b81526001600160a01b0383169063a9059cbb90610d549033908590600401612caf565b6020604051808303816000875af1158015610d73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d979190612cc8565b505050565b6015546000906001600160a01b03166339a9f3b9335b6040518263ffffffff1660e01b8152600401610dce91906129f6565b6020604051808303816000875af1158015610ded573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e119190612ce5565b601554909150610e2b906001600160a01b03163383612297565b50565b3360008181526012602090815260408083206001600160a01b03871684529091528120549091610bc7918590610c6f908690612cfe565b33610e6e61125b565b6001600160a01b031614610e945760405162461bcd60e51b8152600401610ab490612c12565b601891909155601955565b33610ea861125b565b6001600160a01b031614610ece5760405162461bcd60e51b8152600401610ab490612c12565b600d8054600b9390935590151560ff19931515610100029390931661ffff1990921691909117919091179055565b33610f0561125b565b6001600160a01b031614610f2b5760405162461bcd60e51b8152600401610ab490612c12565b6016546001600160a01b0382811691161415610fa35760405162461bcd60e51b815260206004820152603160248201527f496e753a2074686520726f7574657220697320616c72656164792073657420746044820152706f20746865206e6577206164647265737360781b6064820152608401610ab4565b6016546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601680546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa15801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e9190612d16565b6001600160a01b031663c9c6539630601660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e49190612d16565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611131573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111559190612d16565b601780546001600160a01b0319166001600160a01b03929092169190911790555050565b6001600160a01b031660009081526011602052604090205490565b3361119d61125b565b6001600160a01b0316146111c35760405162461bcd60e51b8152600401610ab490612c12565b6111cd60006123b6565b565b6015546040516386bf563960e01b815260009182918291829182916001600160a01b0316906386bf5639906112089089906004016129f6565b60a060405180830381865afa158015611225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112499190612d33565b939a9299509097509550909350915050565b6000546001600160a01b031690565b3361127361125b565b6001600160a01b0316146112995760405162461bcd60e51b8152600401610ab490612c12565b6015546040516323849a5160e21b8152600481018490526001600160a01b03838116602483015290911690638e12694490604401610af2565b606060058054610b3790612c47565b336112ea61125b565b6001600160a01b0316146113105760405162461bcd60e51b8152600401610ab490612c12565b601554610e2b906001600160a01b03163383612297565b3361133061125b565b6001600160a01b0316146113565760405162461bcd60e51b8152600401610ab490612c12565b6017546001600160a01b03838116911614156113b45760405162461bcd60e51b815260206004820181905260248201527f496e753a2044455820706169722063616e206e6f742062652072656d6f7665646044820152606401610ab4565b6113be8282612406565b5050565b336113cb61125b565b6001600160a01b0316146113f15760405162461bcd60e51b8152600401610ab490612c12565b604051339082156108fc029083906000818181858888f193505050501580156113be573d6000803e3d6000fd5b3361142761125b565b6001600160a01b03161461144d5760405162461bcd60e51b8152600401610ab490612c12565b600794909455600692909255600855600955600a55565b3360009081526012602090815260408083206001600160a01b0386168452909152812054828110156114e45760405162461bcd60e51b815260206004820152602360248201527f496e753a2064656372656173656420616c6c6f77616e63652062656c6f77207a60448201526265726f60e81b6064820152608401610ab4565b6114f33385610c6f8685612c98565b5060019392505050565b6015546040516329a0382f60e21b81526000916001600160a01b03169063a680e0bc9061152e9085906004016129f6565b602060405180830381865afa15801561154b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156f9190612ce5565b92915050565b6000610bc7338484611c34565b60155460405163a99e6f1760e01b815260009182918291829182916001600160a01b03169063a99e6f17906112089089906004016129f6565b336115c461125b565b6001600160a01b0316146115ea5760405162461bcd60e51b8152600401610ab490612c12565b60005b82811015611639576116263385858481811061160b5761160b612d7c565b90506020020160208101906116209190612a6d565b84610bd0565b508061163181612d92565b9150506115ed565b50505050565b3361164861125b565b6001600160a01b03161461166e5760405162461bcd60e51b8152600401610ab490612c12565b6001600160a01b03821660009081526013602052604090205460ff16151581151514156116f45760405162461bcd60e51b815260206004820152602e60248201527f496e753a206163636f756e7420697320616c72656164792073657420746f207260448201526d657175657374656420737461746560901b6064820152608401610ab4565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b3361172861125b565b6001600160a01b03161461174e5760405162461bcd60e51b8152600401610ab490612c12565b600d8054911515620100000262ff000019909216919091179055565b60155460405163c705c56960e01b81526000916001600160a01b03169063c705c5699061179b9085906004016129f6565b602060405180830381865afa1580156117b8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156f9190612cc8565b336117e561125b565b6001600160a01b03161461180b5760405162461bcd60e51b8152600401610ab490612c12565b601a805460ff19166001179055565b6015546001600160a01b031663807ab4f7336040518263ffffffff1660e01b815260040161184891906129f6565b6020604051808303816000875af1158015611867573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188b9190612cc8565b506015546000906001600160a01b03166339a9f3b933610db2565b336118af61125b565b6001600160a01b0316146118d55760405162461bcd60e51b8152600401610ab490612c12565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b3361190961125b565b6001600160a01b03161461192f5760405162461bcd60e51b8152600401610ab490612c12565b6001600160a01b03919091166000908152601b60205260409020805460ff1916911515919091179055565b3361196361125b565b6001600160a01b0316146119895760405162461bcd60e51b8152600401610ab490612c12565b600d80549115156101000261ff0019909216919091179055565b6015546001600160a01b031663807ab4f7336040518263ffffffff1660e01b81526004016119d191906129f6565b6020604051808303816000875af11580156119f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2b9190612cc8565b33611a1d61125b565b6001600160a01b031614611a435760405162461bcd60e51b8152600401610ab490612c12565b601080546001600160a01b039384166001600160a01b0319909116179055600f80549190921661010002610100600160a81b0319909116179055565b33611a8861125b565b6001600160a01b031614611aae5760405162461bcd60e51b8152600401610ab490612c12565b6001600160a01b038116611b135760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ab4565b610e2b816123b6565b6001600160a01b038316611b7d5760405162461bcd60e51b815260206004820152602260248201527f496e753a20617070726f76652066726f6d20746865207a65726f206164647265604482015261737360f01b6064820152608401610ab4565b6001600160a01b038216611bd35760405162461bcd60e51b815260206004820181905260248201527f496e753a20617070726f766520746f20746865207a65726f20616464726573736044820152606401610ab4565b6001600160a01b0383811660008181526012602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b601a5460ff1680611c5d5750611c4861125b565b6001600160a01b0316836001600160a01b0316145b80611c805750611c6b61125b565b6001600160a01b0316826001600160a01b0316145b611cb75760405162461bcd60e51b81526020600482015260086024820152672737ba1027b832b760c11b6044820152606401610ab4565b6001600160a01b038316611cdd5760405162461bcd60e51b8152600401610ab490612dad565b6001600160a01b038216611d035760405162461bcd60e51b8152600401610ab490612df0565b6000612710601854611d14600e5490565b611d1e9190612e31565b611d289190612e50565b90506000612710601954611d3b600e5490565b611d459190612e31565b611d4f9190612e50565b90508183111580611d7857506001600160a01b0385166000908152601b602052604090205460ff165b611db85760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b6044820152606401610ab4565b611dc061125b565b6001600160a01b0316856001600160a01b031614158015611dea57506001600160a01b0384163014155b8015611e0457506002546001600160a01b03858116911614155b8015611e1e57506017546001600160a01b03858116911614155b15611e6c576000611e2e85611179565b6001600160a01b0386166000908152601c602052604090205490915060ff1680611e61575081611e5e8583612cfe565b11155b611e6a57600080fd5b505b6001600160a01b03851660009081526011602052604090205483811015611ea55760405162461bcd60e51b8152600401610ab490612e72565b6000611eb030611179565b600b54600d5491925082101590610100900460ff168015611ece5750805b8015611edd5750600f5460ff16155b8015611f0257506001600160a01b03881660009081526014602052604090205460ff16155b8015611f1c57506016546001600160a01b03898116911614155b8015611f415750611f2b61125b565b6001600160a01b0316886001600160a01b031614155b8015611f665750611f5061125b565b6001600160a01b0316876001600160a01b031614155b15611fa057600f805460ff19166001179055600d5460ff16611f8857600b5491505b611f918261256a565b42600c55600f805460ff191690555b6017546000906001600160a01b038a811691161480611fcc57506017546001600160a01b038981169116145b15611fd5575060015b6001600160a01b03891660009081526013602052604090205460ff168061201457506001600160a01b03881660009081526013602052604090205460ff165b1561201d575060005b600f5460ff16806120375750600d5462010000900460ff16155b15612040575060005b80156121ab576017546000906001600160a01b038b81169116141561215c576127106007546006546120729190612cfe565b61207c908a612e31565b6120869190612e50565b905060006127106006548a61209b9190612e31565b6120a59190612e50565b905060006127106007548b6120ba9190612e31565b6120c49190612e50565b6010549091506120df908d906001600160a01b031684612297565b6015546120f7908d906001600160a01b031683612297565b601554604051630184eee960e51b8152600481018390526001600160a01b039091169063309ddd2090602401600060405180830381600087803b15801561213d57600080fd5b505af1158015612151573d6000803e3d6000fd5b50505050505061219d565b612710600a546009546008546121729190612cfe565b61217c9190612cfe565b612186908a612e31565b6121909190612e50565b905061219d8a3083612297565b6121a78189612c98565b9750505b6121b6898989612297565b6015546001600160a01b031663e30443bc8a6121d181611179565b6040518363ffffffff1660e01b81526004016121ee929190612caf565b600060405180830381600087803b15801561220857600080fd5b505af115801561221c573d6000803e3d6000fd5b50506015546001600160a01b0316915063e30443bc90508961223d81611179565b6040518363ffffffff1660e01b815260040161225a929190612caf565b600060405180830381600087803b15801561227457600080fd5b505af1158015612288573d6000803e3d6000fd5b50505050505050505050505050565b6001600160a01b0383166122bd5760405162461bcd60e51b8152600401610ab490612dad565b6001600160a01b0382166122e35760405162461bcd60e51b8152600401610ab490612df0565b6001600160a01b0383166000908152601160205260409020548181101561231c5760405162461bcd60e51b8152600401610ab490612e72565b6123268282612c98565b6001600160a01b03808616600090815260116020526040808220939093559085168152908120805484929061235c908490612cfe565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516123a891815260200190565b60405180910390a350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821660009081526014602052604090205460ff161515811515141561249b5760405162461bcd60e51b815260206004820152603d60248201527f496e753a206175746f6d61746564206d61726b6574206d616b6572207061697260448201527f20697320616c72656164792073657420746f20746861742076616c75650000006064820152608401610ab4565b6001600160a01b0382166000908152601460205260409020805460ff1916821580159190911790915561252e5760155460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b15801561251557600080fd5b505af1158015612529573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b600081116125755750565b61257e816127f5565b60105447906000906001600160a01b03161561260c57600a546009546008546125a79190612cfe565b6125b19190612cfe565b6008546125be9084612e31565b6125c89190612e50565b9050801561260c576010546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561260a573d6000803e3d6000fd5b505b600f5460009061010090046001600160a01b0316156126a157600a546009546008546126389190612cfe565b6126429190612cfe565b600a5461264f9085612e31565b6126599190612e50565b905080156126a157600f546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f1935050505015801561269f573d6000803e3d6000fd5b505b600080601560009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271b9190612ce5565b11156127ee57600a546009546008546127349190612cfe565b61273e9190612cfe565b60095461274b9086612e31565b6127559190612e50565b905080156127ee576015546040516000916001600160a01b03169083908381818185875af1925050503d80600081146127aa576040519150601f19603f3d011682016040523d82523d6000602084013e6127af565b606091505b505090508015610b20576040518281527fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19060200160405180910390a1505b5050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061282a5761282a612d7c565b6001600160a01b03928316602091820292909201810191909152601654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612883573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a79190612d16565b816001815181106128ba576128ba612d7c565b6001600160a01b0392831660209182029290920101526016546128e09130911684611b1c565b60165460405163791ac94760e01b81526001600160a01b039091169063791ac94790610af2908590600090869030904290600401612eb6565b6001600160a01b0381168114610e2b57600080fd5b8015158114610e2b57600080fd5b6000806040838503121561294f57600080fd5b823561295a81612919565b9150602083013561296a8161292e565b809150509250929050565b600060208083528351808285015260005b818110156129a257858101830151858201604001528201612986565b818111156129b4576000604083870101525b50601f01601f1916929092016040019392505050565b600080604083850312156129dd57600080fd5b82356129e881612919565b946020939093013593505050565b6001600160a01b0391909116815260200190565b600080600060608486031215612a1f57600080fd5b8335612a2a81612919565b92506020840135612a3a81612919565b929592945050506040919091013590565b60008060408385031215612a5e57600080fd5b50508035926020909101359150565b600060208284031215612a7f57600080fd5b8135612a8a81612919565b9392505050565b600080600060608486031215612aa657600080fd5b8335612ab18161292e565b9250602084013591506040840135612ac88161292e565b809150509250925092565b60008060408385031215612ae657600080fd5b82359150602083013561296a81612919565b600060208284031215612b0a57600080fd5b5035919050565b600080600080600060a08688031215612b2957600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b600080600060408486031215612b6157600080fd5b833567ffffffffffffffff80821115612b7957600080fd5b818601915086601f830112612b8d57600080fd5b813581811115612b9c57600080fd5b8760208260051b8501011115612bb157600080fd5b6020928301989097509590910135949350505050565b600060208284031215612bd957600080fd5b8135612a8a8161292e565b60008060408385031215612bf757600080fd5b8235612c0281612919565b9150602083013561296a81612919565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612c5b57607f821691505b60208210811415612c7c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612caa57612caa612c82565b500390565b6001600160a01b03929092168252602082015260400190565b600060208284031215612cda57600080fd5b8151612a8a8161292e565b600060208284031215612cf757600080fd5b5051919050565b60008219821115612d1157612d11612c82565b500190565b600060208284031215612d2857600080fd5b8151612a8a81612919565b600080600080600060a08688031215612d4b57600080fd5b8551612d5681612919565b602087015160408801516060890151608090990151929a91995097965090945092505050565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612da657612da6612c82565b5060010190565b60208082526023908201527f496e753a207472616e736665722066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526021908201527f496e753a207472616e7366657220746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6000816000190483118215151615612e4b57612e4b612c82565b500290565b600082612e6d57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526024908201527f496e753a207472616e7366657220616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612f065784516001600160a01b031683529383019391830191600101612ee1565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220329a76b4ceb7981e9631087465fdf75b88f1afb6bb6fe3752861454fff50108064736f6c634300080a003360e0604052601360a08190527224b73aafa234bb34b232b7322a3930b1b5b2b960691b60c090815262000036916001919062000133565b506040805180820190915260138082527224b73aafa234bb34b232b7322a3930b1b5b2b960691b6020909201918252620000739160029162000133565b503480156200008157600080fd5b5060405162001d9138038062001d91833981016040819052620000a491620001d9565b620000af33620000e3565b69021e19e0c9bab2400000608052600c80546001600160a01b0319166001600160a01b039290921691909117905562000248565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000141906200020b565b90600052602060002090601f016020900481019282620001655760008555620001b0565b82601f106200018057805160ff1916838001178555620001b0565b82800160010185558215620001b0579182015b82811115620001b057825182559160200191906001019062000193565b50620001be929150620001c2565b5090565b5b80821115620001be5760008155600101620001c3565b600060208284031215620001ec57600080fd5b81516001600160a01b03811681146200020457600080fd5b9392505050565b600181811c908216806200022057607f821691505b602082108114156200024257634e487b7160e01b600052602260045260246000fd5b50919050565b608051611b1f6200027260003960008181610534015281816108820152610fb00152611b1f6000f3fe6080604052600436106101c85760003560e01c806386bf5639116100f8578063a99e6f1711610090578063a99e6f1714610502578063c49af5f014610522578063c705c56914610556578063c94a19b81461058f578063d7e080021461061d578063dd62ed3e14610633578063e30443bc1461064e578063e6375d3e1461066e578063f2fde38b146106ac57600080fd5b806386bf5639146103bf5780638da5cb5b146104115780638e1269441461043e57806395d89b411461045e5780639d76ea58146104735780639e1e066114610493578063a044b75f146104a9578063a680e0bc146104c9578063a9059cbb1461022f57600080fd5b80633009a6091161016b5780633009a609146102d9578063309ddd20146102ef578063313ce5671461030257806339a9f3b91461031e57806370a082311461033e578063715018a61461035e5780637ec8cc5b14610373578063807ab4f71461038957806385a6b3ae146103a957600080fd5b806303c83302146101dc5780630483f7a0146101e457806306fdde0314610204578063095ea7b31461022f57806318160ddd1461025f5780631fbef3f21461027e57806323b872dd1461029e57806327ce0147146102b957600080fd5b366101d7576101d56106cc565b005b600080fd5b6101d56106cc565b3480156101f057600080fd5b506101d56101ff36600461176d565b61075b565b34801561021057600080fd5b5061021961090c565b60405161022691906117ab565b60405180910390f35b34801561023b57600080fd5b5061024f61024a366004611800565b61099e565b6040519015158152602001610226565b34801561026b57600080fd5b506004545b604051908152602001610226565b34801561028a57600080fd5b506101d561029936600461176d565b6109fd565b3480156102aa57600080fd5b5061024f61024a36600461182c565b3480156102c557600080fd5b506102706102d436600461186d565b610ab0565b3480156102e557600080fd5b5061027060035481565b6101d56102fd366004611891565b610b09565b34801561030e57600080fd5b5060405160128152602001610226565b34801561032a57600080fd5b5061027061033936600461186d565b610b99565b34801561034a57600080fd5b5061027061035936600461186d565b610c42565b34801561036a57600080fd5b506101d5610c5d565b34801561037f57600080fd5b50610270600b5481565b34801561039557600080fd5b5061024f6103a436600461186d565b610c96565b3480156103b557600080fd5b5061027060075481565b3480156103cb57600080fd5b506103df6103da36600461186d565b610d45565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a001610226565b34801561041d57600080fd5b50610426610de1565b6040516001600160a01b039091168152602001610226565b34801561044a57600080fd5b506101d56104593660046118aa565b610df0565b34801561046a57600080fd5b50610219610e68565b34801561047f57600080fd5b50600c54610426906001600160a01b031681565b34801561049f57600080fd5b5061027060085481565b3480156104b557600080fd5b506102706104c436600461186d565b610e77565b3480156104d557600080fd5b506102706104e436600461186d565b6001600160a01b03166000908152600d602052604090206005015490565b34801561050e57600080fd5b506103df61051d36600461186d565b610ebe565b34801561052e57600080fd5b506102707f000000000000000000000000000000000000000000000000000000000000000081565b34801561056257600080fd5b5061024f61057136600461186d565b6001600160a01b03166000908152600d602052604090205460ff1690565b34801561059b57600080fd5b506105e66105aa36600461186d565b600d6020526000908152604090208054600182015460028301546003840154600485015460059095015460ff8086169661010090960416949087565b6040805197151588529515156020880152948601939093526060850191909152608084015260a083015260c082015260e001610226565b34801561062957600080fd5b50610270600a5481565b34801561063f57600080fd5b5061027061024a3660046118cf565b34801561065a57600080fd5b506101d5610669366004611800565b610f5a565b34801561067a57600080fd5b5061024f61068936600461186d565b6001600160a01b03166000908152600d6020526040902054610100900460ff1690565b3480156106b857600080fd5b506101d56106c736600461186d565b610fee565b6000600454116106db57600080fd5b3415610759576004546106f2600160801b34611913565b6106fc9190611932565b6006546107099190611954565b60065560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a234600760008282546107539190611954565b90915550505b565b33610764610de1565b6001600160a01b0316146107935760405162461bcd60e51b815260040161078a9061196c565b60405180910390fd5b6001600160a01b0382166000908152600d602052604090205460ff16151581151514156107d25760405162461bcd60e51b815260040161078a906119a1565b6001600160a01b0382166000908152600d60205260409020805460ff1916821580159190911790915561080f5761080a82600061108b565b6108c3565b600c546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a0823190602401602060405180830381865afa15801561085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087e91906119fe565b90507f000000000000000000000000000000000000000000000000000000000000000081106108b6576108b1838261108b565b6108c1565b6108c183600061108b565b505b816001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be82604051610900911515815260200190565b60405180910390a25050565b60606001805461091b90611a17565b80601f016020809104026020016040519081016040528092919081815260200182805461094790611a17565b80156109945780601f1061096957610100808354040283529160200191610994565b820191906000526020600020905b81548152906001019060200180831161097757829003601f168201915b5050505050905090565b60405162461bcd60e51b815260206004820152602b60248201527f496e755f4469766964656e64547261636b65723a206d6574686f64206e6f742060448201526a1a5b5c1b195b595b9d195960aa1b606482015260009060840161078a565b33610a06610de1565b6001600160a01b031614610a2c5760405162461bcd60e51b815260040161078a9061196c565b6001600160a01b0382166000908152600d602052604090205460ff6101009091041615158115151415610a715760405162461bcd60e51b815260040161078a906119a1565b6001600160a01b0382166000908152600d602052604090208054821580156101000261ff00199092169190911790915561080f5761080a82600061108b565b600080610abc83610c42565b600654610ac99190611913565b6001600160a01b0384166000908152600d6020526040902060010154909150600160801b610af78284611a52565b610b019190611932565b949350505050565b600060045411610b1857600080fd5b8015610b9657600454610b2f600160801b83611913565b610b399190611932565b600954610b469190611954565b60095560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a280600a6000828254610b909190611954565b90915550505b50565b600033610ba4610de1565b6001600160a01b031614610bca5760405162461bcd60e51b815260040161078a9061196c565b6000610bd5836110e9565b90508015610c3c576001600160a01b0383166000818152600d60205260409081902042600590910155517f5287962f37e8311d1f68b563b6969614e0eb2862c1a714c8781511520e87e44290610c2e9084815260200190565b60405180910390a292915050565b92915050565b6001600160a01b031660009081526005602052604090205490565b33610c66610de1565b6001600160a01b031614610c8c5760405162461bcd60e51b815260040161078a9061196c565b61075960006111af565b600033610ca1610de1565b6001600160a01b031614610cc75760405162461bcd60e51b815260040161078a9061196c565b6000610cd2836111ff565b90508015610d3c576001600160a01b0383166000818152600d60205260409081902042600590910155517f5287962f37e8311d1f68b563b6969614e0eb2862c1a714c8781511520e87e44290610d2b9084815260200190565b60405180910390a250600192915050565b50600092915050565b6000806000806000610d55611727565b6001600160a01b0387168082526000908152600d6020526040902060040154610d7d88610e77565b610d879190611a93565b6020820152610d9587610e77565b60408281019182526001600160a01b03989098166000908152600d60209081529890206005015460608301819052825198909201519051600b5498999198909750919550909350915050565b6000546001600160a01b031690565b33610df9610de1565b6001600160a01b031614610e1f5760405162461bcd60e51b815260040161078a9061196c565b476001600160a01b0382166108fc84610e385782610e3a565b845b6040518115909202916000818181858888f19350505050158015610e62573d6000803e3d6000fd5b50505050565b60606002805461091b90611a17565b600080610e8383610c42565b600954610e909190611913565b6001600160a01b0384166000908152600d6020526040902060030154909150600160801b610af78284611a52565b6000806000806000610ece611727565b6001600160a01b0387168082526000908152600d6020526040902060020154610ef688610ab0565b610f009190611a93565b6020820152610f0e87610ab0565b60408281019182526001600160a01b03989098166000908152600d6020908152989020600501546060830181905282519890920151905160085498999198909750919550909350915050565b33610f63610de1565b6001600160a01b031614610f895760405162461bcd60e51b815260040161078a9061196c565b6001600160a01b0382166000908152600d602052604090205460ff1615610fae575050565b7f00000000000000000000000000000000000000000000000000000000000000008110610fe357610fdf828261108b565b5050565b610fdf82600061108b565b33610ff7610de1565b6001600160a01b03161461101d5760405162461bcd60e51b815260040161078a9061196c565b6001600160a01b0381166110825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161078a565b610b96816111af565b6001600160a01b038216600090815260056020526040902054808211156110c45760006110b88284611a93565b9050610e628482611379565b808210156110e45760006110d88383611a93565b9050610e628482611511565b505050565b6001600160a01b0381166000908152600d6020526040812060040154819061111084610e77565b61111a9190611a93565b90508015610d3c576001600160a01b0383166000908152600d60205260408120600401805483929061114d908490611954565b9250508190555080600b60008282546111669190611954565b90915550506040518181526001600160a01b038416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a292915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381166000908152600d6020526040812060020154819061122684610ab0565b6112309190611a93565b90508015610d3c576001600160a01b0383166000908152600d602052604081206002018054839290611263908490611954565b92505081905550806008600082825461127c9190611954565b90915550506040518181526001600160a01b038416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a26000836001600160a01b031682610bb890604051600060405180830381858888f193505050503d8060008114611311576040519150601f19603f3d011682016040523d82523d6000602084013e611316565b606091505b5050905080611372576001600160a01b0384166000908152600d60205260408120600201805484929061134a908490611a93565b9250508190555081600860008282546113639190611a93565b90915550600095945050505050565b5092915050565b6001600160a01b0382166113e55760405162461bcd60e51b815260206004820152602d60248201527f496e755f4469766964656e64547261636b65723a206d696e7420746f2074686560448201526c207a65726f206164647265737360981b606482015260840161078a565b80600460008282546113f79190611954565b90915550506001600160a01b03821660009081526005602052604081208054839290611424908490611954565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3806006546114789190611913565b6001600160a01b0383166000908152600d602052604090206001015461149e9190611aaa565b6001600160a01b0383166000908152600d60205260409020600101556009546114c8908290611913565b6001600160a01b0383166000908152600d60205260409020600301546114ee9190611aaa565b6001600160a01b039092166000908152600d602052604090206003019190915550565b6001600160a01b03821661157f5760405162461bcd60e51b815260206004820152602f60248201527f496e755f4469766964656e64547261636b65723a206275726e2066726f6d207460448201526e6865207a65726f206164647265737360881b606482015260840161078a565b6001600160a01b038216600090815260056020526040902054818110156116015760405162461bcd60e51b815260206004820152603060248201527f496e755f4469766964656e64547261636b65723a206275726e20616d6f756e7460448201526f20657863656564732062616c616e636560801b606482015260840161078a565b61160b8282611a93565b6001600160a01b03841660009081526005602052604081209190915560048054849290611639908490611a93565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a38160065461168d9190611913565b6001600160a01b0384166000908152600d60205260409020600101546116b39190611a52565b6001600160a01b0384166000908152600d60205260409020600101556009546116dd908390611913565b6001600160a01b0384166000908152600d60205260409020600301546117039190611aaa565b6001600160a01b039093166000908152600d60205260409020600301929092555050565b604051806080016040528060006001600160a01b031681526020016000815260200160008152602001600081525090565b6001600160a01b0381168114610b9657600080fd5b6000806040838503121561178057600080fd5b823561178b81611758565b9150602083013580151581146117a057600080fd5b809150509250929050565b600060208083528351808285015260005b818110156117d8578581018301518582016040015282016117bc565b818111156117ea576000604083870101525b50601f01601f1916929092016040019392505050565b6000806040838503121561181357600080fd5b823561181e81611758565b946020939093013593505050565b60008060006060848603121561184157600080fd5b833561184c81611758565b9250602084013561185c81611758565b929592945050506040919091013590565b60006020828403121561187f57600080fd5b813561188a81611758565b9392505050565b6000602082840312156118a357600080fd5b5035919050565b600080604083850312156118bd57600080fd5b8235915060208301356117a081611758565b600080604083850312156118e257600080fd5b82356118ed81611758565b915060208301356117a081611758565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561192d5761192d6118fd565b500290565b60008261194f57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611967576119676118fd565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603b908201527f496e755f4469766964656e64547261636b65723a206163636f756e7420616c7260408201527f656164792073657420746f207265717565737465642073746174650000000000606082015260800190565b600060208284031215611a1057600080fd5b5051919050565b600181811c90821680611a2b57607f821691505b60208210811415611a4c57634e487b7160e01b600052602260045260246000fd5b50919050565b600080821280156001600160ff1b0384900385131615611a7457611a746118fd565b600160ff1b8390038412811615611a8d57611a8d6118fd565b50500190565b600082821015611aa557611aa56118fd565b500390565b60008083128015600160ff1b850184121615611ac857611ac86118fd565b6001600160ff1b0384018313811615611ae357611ae36118fd565b5050039056fea264697066735822122044b85d73cf8f26dd70c7346455b557c061e19f599d472fe78f606507b7e16ebb64736f6c634300080a00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x6080604052600436106103055760003560e01c806386bf563911610191578063b62496f5116100e2578063d2fcc00111610090578063d2fcc00114610974578063d4c989d314610994578063dd62ed3e146109b4578063e01af92c146109fa578063e2f4560514610a1a578063f0fc6bca14610a30578063f1b234ad14610a45578063f2fde38b14610a6557600080fd5b8063b62496f5146108a4578063b80b6e89146108d4578063c0246668146108ea578063c6af580b1461090a578063c705c5691461092a578063c9567bf91461094a578063d1058e591461095f57600080fd5b80639e252f001161013f5780639e252f00146107c4578063a2e00d63146107e4578063a457c2d714610804578063a680e0bc14610824578063a9059cbb14610844578063a99e6f1714610864578063b32725eb1461088457600080fd5b806386bf5639146106c8578063870bd30b1461071a5780638da5cb5b1461073a5780638e1269441461074f57806395d89b411461076f57806398e99aa6146107845780639a7a23d6146107a457600080fd5b8063377c27ac116102565780635e843ad2116102045780635e843ad2146105ac578063658c27a9146105cc57806365b8dbc0146106055780636dd3d39f146106255780636ddd17131461065e57806370a082311461067d578063715018a61461069d578063744d1591146106b257600080fd5b8063377c27ac146104d157806339509351146104e75780633b91ceef1461050757806349bd5a5e146105275780634fbee1931461054757806357777d31146105805780635937ea6c1461059657600080fd5b806323b872dd116102b357806323b872dd1461040a5780632c1f52161461042a5780632c642f511461044a578063313ce5671461046a57806333beafc01461048657806333f3d6281461049c57806337563293146104bc57600080fd5b80630483f7a01461031157806306fdde0314610333578063095ea7b31461035e5780630dd871571461038e5780631694505e146103b257806318160ddd146103df578063223c3947146103f457600080fd5b3661030c57005b600080fd5b34801561031d57600080fd5b5061033161032c36600461293c565b610a85565b005b34801561033f57600080fd5b50610348610b28565b6040516103559190612975565b60405180910390f35b34801561036a57600080fd5b5061037e6103793660046129ca565b610bba565b6040519015158152602001610355565b34801561039a57600080fd5b506103a4600c5481565b604051908152602001610355565b3480156103be57600080fd5b506016546103d2906001600160a01b031681565b60405161035591906129f6565b3480156103eb57600080fd5b50600e546103a4565b34801561040057600080fd5b506103a460075481565b34801561041657600080fd5b5061037e610425366004612a0a565b610bd0565b34801561043657600080fd5b506015546103d2906001600160a01b031681565b34801561045657600080fd5b506103316104653660046129ca565b610c7f565b34801561047657600080fd5b5060405160128152602001610355565b34801561049257600080fd5b506103a460065481565b3480156104a857600080fd5b506103316104b73660046129ca565b610cf7565b3480156104c857600080fd5b50610331610d9c565b3480156104dd57600080fd5b506103a4600a5481565b3480156104f357600080fd5b5061037e6105023660046129ca565b610e2e565b34801561051357600080fd5b50610331610522366004612a4b565b610e65565b34801561053357600080fd5b506017546103d2906001600160a01b031681565b34801561055357600080fd5b5061037e610562366004612a6d565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561058c57600080fd5b506103a460185481565b3480156105a257600080fd5b506103a460085481565b3480156105b857600080fd5b506103316105c7366004612a91565b610e9f565b3480156105d857600080fd5b5061037e6105e7366004612a6d565b6001600160a01b03166000908152601b602052604090205460ff1690565b34801561061157600080fd5b50610331610620366004612a6d565b610efc565b34801561063157600080fd5b5061037e610640366004612a6d565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561066a57600080fd5b50600d5461037e90610100900460ff1681565b34801561068957600080fd5b506103a4610698366004612a6d565b611179565b3480156106a957600080fd5b50610331611194565b3480156106be57600080fd5b506103a460195481565b3480156106d457600080fd5b506106e86106e3366004612a6d565b6111cf565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a001610355565b34801561072657600080fd5b50600d5461037e9062010000900460ff1681565b34801561074657600080fd5b506103d261125b565b34801561075b57600080fd5b5061033161076a366004612ad3565b61126a565b34801561077b57600080fd5b506103486112d2565b34801561079057600080fd5b5061033161079f366004612af8565b6112e1565b3480156107b057600080fd5b506103316107bf36600461293c565b611327565b3480156107d057600080fd5b506103316107df366004612af8565b6113c2565b3480156107f057600080fd5b506103316107ff366004612b11565b61141e565b34801561081057600080fd5b5061037e61081f3660046129ca565b611464565b34801561083057600080fd5b506103a461083f366004612a6d565b6114fd565b34801561085057600080fd5b5061037e61085f3660046129ca565b611575565b34801561087057600080fd5b506106e861087f366004612a6d565b611582565b34801561089057600080fd5b5061033161089f366004612b4c565b6115bb565b3480156108b057600080fd5b5061037e6108bf366004612a6d565b60146020526000908152604090205460ff1681565b3480156108e057600080fd5b506103a460095481565b3480156108f657600080fd5b5061033161090536600461293c565b61163f565b34801561091657600080fd5b50610331610925366004612bc7565b61171f565b34801561093657600080fd5b5061037e610945366004612a6d565b61176a565b34801561095657600080fd5b506103316117dc565b34801561096b57600080fd5b5061033161181a565b34801561098057600080fd5b5061033161098f36600461293c565b6118a6565b3480156109a057600080fd5b506103316109af36600461293c565b611900565b3480156109c057600080fd5b506103a46109cf366004612be4565b6001600160a01b03918216600090815260126020908152604080832093909416825291909152205490565b348015610a0657600080fd5b50610331610a15366004612bc7565b61195a565b348015610a2657600080fd5b506103a4600b5481565b348015610a3c57600080fd5b506103316119a3565b348015610a5157600080fd5b50610331610a60366004612be4565b611a14565b348015610a7157600080fd5b50610331610a80366004612a6d565b611a7f565b33610a8e61125b565b6001600160a01b031614610abd5760405162461bcd60e51b8152600401610ab490612c12565b60405180910390fd5b60155460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b158015610b0c57600080fd5b505af1158015610b20573d6000803e3d6000fd5b505050505050565b606060048054610b3790612c47565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6390612c47565b8015610bb05780601f10610b8557610100808354040283529160200191610bb0565b820191906000526020600020905b815481529060010190602001808311610b9357829003601f168201915b5050505050905090565b6000610bc7338484611b1c565b50600192915050565b6000610bdd848484611c34565b6001600160a01b038416600090815260126020908152604080832033845290915290205482811015610c605760405162461bcd60e51b815260206004820152602660248201527f496e753a207472616e7366657220616d6f756e74206578636565647320616c6c6044820152656f77616e636560d01b6064820152608401610ab4565b610c748533610c6f8685612c98565b611b1c565b506001949350505050565b33610c8861125b565b6001600160a01b031614610cae5760405162461bcd60e51b8152600401610ab490612c12565b601554610cc69083906001600160a01b031683612297565b601554604051630184eee960e51b8152600481018390526001600160a01b039091169063309ddd2090602401610af2565b33610d0061125b565b6001600160a01b031614610d265760405162461bcd60e51b8152600401610ab490612c12565b60405163a9059cbb60e01b81526001600160a01b0383169063a9059cbb90610d549033908590600401612caf565b6020604051808303816000875af1158015610d73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d979190612cc8565b505050565b6015546000906001600160a01b03166339a9f3b9335b6040518263ffffffff1660e01b8152600401610dce91906129f6565b6020604051808303816000875af1158015610ded573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e119190612ce5565b601554909150610e2b906001600160a01b03163383612297565b50565b3360008181526012602090815260408083206001600160a01b03871684529091528120549091610bc7918590610c6f908690612cfe565b33610e6e61125b565b6001600160a01b031614610e945760405162461bcd60e51b8152600401610ab490612c12565b601891909155601955565b33610ea861125b565b6001600160a01b031614610ece5760405162461bcd60e51b8152600401610ab490612c12565b600d8054600b9390935590151560ff19931515610100029390931661ffff1990921691909117919091179055565b33610f0561125b565b6001600160a01b031614610f2b5760405162461bcd60e51b8152600401610ab490612c12565b6016546001600160a01b0382811691161415610fa35760405162461bcd60e51b815260206004820152603160248201527f496e753a2074686520726f7574657220697320616c72656164792073657420746044820152706f20746865206e6577206164647265737360781b6064820152608401610ab4565b6016546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601680546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa15801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e9190612d16565b6001600160a01b031663c9c6539630601660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e49190612d16565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611131573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111559190612d16565b601780546001600160a01b0319166001600160a01b03929092169190911790555050565b6001600160a01b031660009081526011602052604090205490565b3361119d61125b565b6001600160a01b0316146111c35760405162461bcd60e51b8152600401610ab490612c12565b6111cd60006123b6565b565b6015546040516386bf563960e01b815260009182918291829182916001600160a01b0316906386bf5639906112089089906004016129f6565b60a060405180830381865afa158015611225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112499190612d33565b939a9299509097509550909350915050565b6000546001600160a01b031690565b3361127361125b565b6001600160a01b0316146112995760405162461bcd60e51b8152600401610ab490612c12565b6015546040516323849a5160e21b8152600481018490526001600160a01b03838116602483015290911690638e12694490604401610af2565b606060058054610b3790612c47565b336112ea61125b565b6001600160a01b0316146113105760405162461bcd60e51b8152600401610ab490612c12565b601554610e2b906001600160a01b03163383612297565b3361133061125b565b6001600160a01b0316146113565760405162461bcd60e51b8152600401610ab490612c12565b6017546001600160a01b03838116911614156113b45760405162461bcd60e51b815260206004820181905260248201527f496e753a2044455820706169722063616e206e6f742062652072656d6f7665646044820152606401610ab4565b6113be8282612406565b5050565b336113cb61125b565b6001600160a01b0316146113f15760405162461bcd60e51b8152600401610ab490612c12565b604051339082156108fc029083906000818181858888f193505050501580156113be573d6000803e3d6000fd5b3361142761125b565b6001600160a01b03161461144d5760405162461bcd60e51b8152600401610ab490612c12565b600794909455600692909255600855600955600a55565b3360009081526012602090815260408083206001600160a01b0386168452909152812054828110156114e45760405162461bcd60e51b815260206004820152602360248201527f496e753a2064656372656173656420616c6c6f77616e63652062656c6f77207a60448201526265726f60e81b6064820152608401610ab4565b6114f33385610c6f8685612c98565b5060019392505050565b6015546040516329a0382f60e21b81526000916001600160a01b03169063a680e0bc9061152e9085906004016129f6565b602060405180830381865afa15801561154b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156f9190612ce5565b92915050565b6000610bc7338484611c34565b60155460405163a99e6f1760e01b815260009182918291829182916001600160a01b03169063a99e6f17906112089089906004016129f6565b336115c461125b565b6001600160a01b0316146115ea5760405162461bcd60e51b8152600401610ab490612c12565b60005b82811015611639576116263385858481811061160b5761160b612d7c565b90506020020160208101906116209190612a6d565b84610bd0565b508061163181612d92565b9150506115ed565b50505050565b3361164861125b565b6001600160a01b03161461166e5760405162461bcd60e51b8152600401610ab490612c12565b6001600160a01b03821660009081526013602052604090205460ff16151581151514156116f45760405162461bcd60e51b815260206004820152602e60248201527f496e753a206163636f756e7420697320616c72656164792073657420746f207260448201526d657175657374656420737461746560901b6064820152608401610ab4565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b3361172861125b565b6001600160a01b03161461174e5760405162461bcd60e51b8152600401610ab490612c12565b600d8054911515620100000262ff000019909216919091179055565b60155460405163c705c56960e01b81526000916001600160a01b03169063c705c5699061179b9085906004016129f6565b602060405180830381865afa1580156117b8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156f9190612cc8565b336117e561125b565b6001600160a01b03161461180b5760405162461bcd60e51b8152600401610ab490612c12565b601a805460ff19166001179055565b6015546001600160a01b031663807ab4f7336040518263ffffffff1660e01b815260040161184891906129f6565b6020604051808303816000875af1158015611867573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188b9190612cc8565b506015546000906001600160a01b03166339a9f3b933610db2565b336118af61125b565b6001600160a01b0316146118d55760405162461bcd60e51b8152600401610ab490612c12565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b3361190961125b565b6001600160a01b03161461192f5760405162461bcd60e51b8152600401610ab490612c12565b6001600160a01b03919091166000908152601b60205260409020805460ff1916911515919091179055565b3361196361125b565b6001600160a01b0316146119895760405162461bcd60e51b8152600401610ab490612c12565b600d80549115156101000261ff0019909216919091179055565b6015546001600160a01b031663807ab4f7336040518263ffffffff1660e01b81526004016119d191906129f6565b6020604051808303816000875af11580156119f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2b9190612cc8565b33611a1d61125b565b6001600160a01b031614611a435760405162461bcd60e51b8152600401610ab490612c12565b601080546001600160a01b039384166001600160a01b0319909116179055600f80549190921661010002610100600160a81b0319909116179055565b33611a8861125b565b6001600160a01b031614611aae5760405162461bcd60e51b8152600401610ab490612c12565b6001600160a01b038116611b135760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ab4565b610e2b816123b6565b6001600160a01b038316611b7d5760405162461bcd60e51b815260206004820152602260248201527f496e753a20617070726f76652066726f6d20746865207a65726f206164647265604482015261737360f01b6064820152608401610ab4565b6001600160a01b038216611bd35760405162461bcd60e51b815260206004820181905260248201527f496e753a20617070726f766520746f20746865207a65726f20616464726573736044820152606401610ab4565b6001600160a01b0383811660008181526012602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b601a5460ff1680611c5d5750611c4861125b565b6001600160a01b0316836001600160a01b0316145b80611c805750611c6b61125b565b6001600160a01b0316826001600160a01b0316145b611cb75760405162461bcd60e51b81526020600482015260086024820152672737ba1027b832b760c11b6044820152606401610ab4565b6001600160a01b038316611cdd5760405162461bcd60e51b8152600401610ab490612dad565b6001600160a01b038216611d035760405162461bcd60e51b8152600401610ab490612df0565b6000612710601854611d14600e5490565b611d1e9190612e31565b611d289190612e50565b90506000612710601954611d3b600e5490565b611d459190612e31565b611d4f9190612e50565b90508183111580611d7857506001600160a01b0385166000908152601b602052604090205460ff165b611db85760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b6044820152606401610ab4565b611dc061125b565b6001600160a01b0316856001600160a01b031614158015611dea57506001600160a01b0384163014155b8015611e0457506002546001600160a01b03858116911614155b8015611e1e57506017546001600160a01b03858116911614155b15611e6c576000611e2e85611179565b6001600160a01b0386166000908152601c602052604090205490915060ff1680611e61575081611e5e8583612cfe565b11155b611e6a57600080fd5b505b6001600160a01b03851660009081526011602052604090205483811015611ea55760405162461bcd60e51b8152600401610ab490612e72565b6000611eb030611179565b600b54600d5491925082101590610100900460ff168015611ece5750805b8015611edd5750600f5460ff16155b8015611f0257506001600160a01b03881660009081526014602052604090205460ff16155b8015611f1c57506016546001600160a01b03898116911614155b8015611f415750611f2b61125b565b6001600160a01b0316886001600160a01b031614155b8015611f665750611f5061125b565b6001600160a01b0316876001600160a01b031614155b15611fa057600f805460ff19166001179055600d5460ff16611f8857600b5491505b611f918261256a565b42600c55600f805460ff191690555b6017546000906001600160a01b038a811691161480611fcc57506017546001600160a01b038981169116145b15611fd5575060015b6001600160a01b03891660009081526013602052604090205460ff168061201457506001600160a01b03881660009081526013602052604090205460ff165b1561201d575060005b600f5460ff16806120375750600d5462010000900460ff16155b15612040575060005b80156121ab576017546000906001600160a01b038b81169116141561215c576127106007546006546120729190612cfe565b61207c908a612e31565b6120869190612e50565b905060006127106006548a61209b9190612e31565b6120a59190612e50565b905060006127106007548b6120ba9190612e31565b6120c49190612e50565b6010549091506120df908d906001600160a01b031684612297565b6015546120f7908d906001600160a01b031683612297565b601554604051630184eee960e51b8152600481018390526001600160a01b039091169063309ddd2090602401600060405180830381600087803b15801561213d57600080fd5b505af1158015612151573d6000803e3d6000fd5b50505050505061219d565b612710600a546009546008546121729190612cfe565b61217c9190612cfe565b612186908a612e31565b6121909190612e50565b905061219d8a3083612297565b6121a78189612c98565b9750505b6121b6898989612297565b6015546001600160a01b031663e30443bc8a6121d181611179565b6040518363ffffffff1660e01b81526004016121ee929190612caf565b600060405180830381600087803b15801561220857600080fd5b505af115801561221c573d6000803e3d6000fd5b50506015546001600160a01b0316915063e30443bc90508961223d81611179565b6040518363ffffffff1660e01b815260040161225a929190612caf565b600060405180830381600087803b15801561227457600080fd5b505af1158015612288573d6000803e3d6000fd5b50505050505050505050505050565b6001600160a01b0383166122bd5760405162461bcd60e51b8152600401610ab490612dad565b6001600160a01b0382166122e35760405162461bcd60e51b8152600401610ab490612df0565b6001600160a01b0383166000908152601160205260409020548181101561231c5760405162461bcd60e51b8152600401610ab490612e72565b6123268282612c98565b6001600160a01b03808616600090815260116020526040808220939093559085168152908120805484929061235c908490612cfe565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516123a891815260200190565b60405180910390a350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821660009081526014602052604090205460ff161515811515141561249b5760405162461bcd60e51b815260206004820152603d60248201527f496e753a206175746f6d61746564206d61726b6574206d616b6572207061697260448201527f20697320616c72656164792073657420746f20746861742076616c75650000006064820152608401610ab4565b6001600160a01b0382166000908152601460205260409020805460ff1916821580159190911790915561252e5760155460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b15801561251557600080fd5b505af1158015612529573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b600081116125755750565b61257e816127f5565b60105447906000906001600160a01b03161561260c57600a546009546008546125a79190612cfe565b6125b19190612cfe565b6008546125be9084612e31565b6125c89190612e50565b9050801561260c576010546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561260a573d6000803e3d6000fd5b505b600f5460009061010090046001600160a01b0316156126a157600a546009546008546126389190612cfe565b6126429190612cfe565b600a5461264f9085612e31565b6126599190612e50565b905080156126a157600f546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f1935050505015801561269f573d6000803e3d6000fd5b505b600080601560009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271b9190612ce5565b11156127ee57600a546009546008546127349190612cfe565b61273e9190612cfe565b60095461274b9086612e31565b6127559190612e50565b905080156127ee576015546040516000916001600160a01b03169083908381818185875af1925050503d80600081146127aa576040519150601f19603f3d011682016040523d82523d6000602084013e6127af565b606091505b505090508015610b20576040518281527fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19060200160405180910390a1505b5050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061282a5761282a612d7c565b6001600160a01b03928316602091820292909201810191909152601654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612883573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a79190612d16565b816001815181106128ba576128ba612d7c565b6001600160a01b0392831660209182029290920101526016546128e09130911684611b1c565b60165460405163791ac94760e01b81526001600160a01b039091169063791ac94790610af2908590600090869030904290600401612eb6565b6001600160a01b0381168114610e2b57600080fd5b8015158114610e2b57600080fd5b6000806040838503121561294f57600080fd5b823561295a81612919565b9150602083013561296a8161292e565b809150509250929050565b600060208083528351808285015260005b818110156129a257858101830151858201604001528201612986565b818111156129b4576000604083870101525b50601f01601f1916929092016040019392505050565b600080604083850312156129dd57600080fd5b82356129e881612919565b946020939093013593505050565b6001600160a01b0391909116815260200190565b600080600060608486031215612a1f57600080fd5b8335612a2a81612919565b92506020840135612a3a81612919565b929592945050506040919091013590565b60008060408385031215612a5e57600080fd5b50508035926020909101359150565b600060208284031215612a7f57600080fd5b8135612a8a81612919565b9392505050565b600080600060608486031215612aa657600080fd5b8335612ab18161292e565b9250602084013591506040840135612ac88161292e565b809150509250925092565b60008060408385031215612ae657600080fd5b82359150602083013561296a81612919565b600060208284031215612b0a57600080fd5b5035919050565b600080600080600060a08688031215612b2957600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b600080600060408486031215612b6157600080fd5b833567ffffffffffffffff80821115612b7957600080fd5b818601915086601f830112612b8d57600080fd5b813581811115612b9c57600080fd5b8760208260051b8501011115612bb157600080fd5b6020928301989097509590910135949350505050565b600060208284031215612bd957600080fd5b8135612a8a8161292e565b60008060408385031215612bf757600080fd5b8235612c0281612919565b9150602083013561296a81612919565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612c5b57607f821691505b60208210811415612c7c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612caa57612caa612c82565b500390565b6001600160a01b03929092168252602082015260400190565b600060208284031215612cda57600080fd5b8151612a8a8161292e565b600060208284031215612cf757600080fd5b5051919050565b60008219821115612d1157612d11612c82565b500190565b600060208284031215612d2857600080fd5b8151612a8a81612919565b600080600080600060a08688031215612d4b57600080fd5b8551612d5681612919565b602087015160408801516060890151608090990151929a91995097965090945092505050565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612da657612da6612c82565b5060010190565b60208082526023908201527f496e753a207472616e736665722066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526021908201527f496e753a207472616e7366657220746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6000816000190483118215151615612e4b57612e4b612c82565b500290565b600082612e6d57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526024908201527f496e753a207472616e7366657220616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612f065784516001600160a01b031683529383019391830191600101612ee1565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220329a76b4ceb7981e9631087465fdf75b88f1afb6bb6fe3752861454fff50108064736f6c634300080a0033
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.