Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16000457 | 753 days ago | 0.01325068 ETH | ||||
16000457 | 753 days ago | 0.01325068 ETH | ||||
15843495 | 775 days ago | 0.01391127 ETH | ||||
15843495 | 775 days ago | 0.01391127 ETH | ||||
15813751 | 779 days ago | 0.01402846 ETH | ||||
15813751 | 779 days ago | 0.01402846 ETH | ||||
15801303 | 781 days ago | 0.01695731 ETH | ||||
15801303 | 781 days ago | 0.01695731 ETH | ||||
15797643 | 782 days ago | 0.019928 ETH | ||||
15797643 | 782 days ago | 0.019928 ETH | ||||
15795203 | 782 days ago | 0.02552304 ETH | ||||
15795203 | 782 days ago | 0.02552304 ETH | ||||
15794430 | 782 days ago | 0.01869723 ETH | ||||
15794430 | 782 days ago | 0.01869723 ETH | ||||
15793261 | 782 days ago | 0.03200291 ETH | ||||
15793261 | 782 days ago | 0.03200291 ETH | ||||
15793164 | 782 days ago | 0.02516626 ETH | ||||
15793164 | 782 days ago | 0.02516626 ETH | ||||
15793140 | 782 days ago | 0.03127879 ETH | ||||
15793140 | 782 days ago | 0.03127879 ETH | ||||
15793124 | 782 days ago | 0.02748281 ETH | ||||
15793124 | 782 days ago | 0.02748281 ETH | ||||
15793121 | 782 days ago | 0.02748281 ETH | ||||
15793121 | 782 days ago | 0.02748281 ETH | ||||
15793082 | 782 days ago | 0.03215424 ETH |
Loading...
Loading
Contract Name:
TAROTCARDS
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /** ████████╗ █████╗ ██████╗ ██████╗ ████████╗ ▄▄███▄▄· ██████╗ █████╗ ██████╗ ██████╗ ███████╗ ╚══██╔══╝██╔══██╗██╔══██╗██╔═══██╗╚══██╔══╝ ██╔════╝██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔════╝ ██║ ███████║██████╔╝██║ ██║ ██║ ███████╗██║ ███████║██████╔╝██║ ██║███████╗ ██║ ██╔══██║██╔══██╗██║ ██║ ██║ ╚════██║██║ ██╔══██║██╔══██╗██║ ██║╚════██║ ██║ ██║ ██║██║ ██║╚██████╔╝ ██║ ███████║╚██████╗██║ ██║██║ ██║██████╔╝███████║ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═▀▀▀══╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚══════╝ 🂠 Tarot $CARDS 🂠 Fortune Awaits 🂠 https://tarot.black/ 🂠 https://t.me/tarotcardseth */ pragma solidity 0.8.15; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; return msg.data; } } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } function _createInitialSupply(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } } interface DividendPayingTokenOptionalInterface { function withdrawableDividendOf(address _owner, address _rewardToken) external view returns(uint256); function withdrawnDividendOf(address _owner, address _rewardToken) external view returns(uint256); function accumulativeDividendOf(address _owner, address _rewardToken) external view returns(uint256); } interface DividendPayingTokenInterface { function dividendOf(address _owner, address _rewardToken) external view returns(uint256); function distributeDividends() external payable; function withdrawDividend(address _rewardToken) external; event DividendsDistributed( address indexed from, uint256 weiAmount ); event DividendWithdrawn( address indexed to, uint256 weiAmount ); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } function div(int256 a, int256 b) internal pure returns (int256) { require(b != -1 || a != MIN_INT256); return a / b; } function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } interface 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); } 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; } contract DividendPayingToken is DividendPayingTokenInterface, DividendPayingTokenOptionalInterface, Ownable { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small. // For more discussion about choosing the value of `magnitude`, // see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728 uint256 constant internal magnitude = 2**128; mapping(address => uint256) internal magnifiedDividendPerShare; address[] public rewardTokens; address public nextRewardToken; uint256 public rewardTokenCounter; IUniswapV2Router02 public immutable uniswapV2Router; mapping(address => mapping(address => int256)) internal magnifiedDividendCorrections; mapping(address => mapping(address => uint256)) internal withdrawnDividends; mapping (address => uint256) public holderBalance; uint256 public totalBalance; mapping(address => uint256) public totalDividendsDistributed; constructor(){ // Uni v2 router 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Router = _uniswapV2Router; // USDC - 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 rewardTokens.push(address(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48)); nextRewardToken = rewardTokens[0]; } receive() external payable { distributeDividends(); } function distributeDividends() public override payable { require(totalBalance > 0); uint256 initialBalance = IERC20(nextRewardToken).balanceOf(address(this)); buyTokens(msg.value, nextRewardToken); uint256 newBalance = IERC20(nextRewardToken).balanceOf(address(this)).sub(initialBalance); if (newBalance > 0) { magnifiedDividendPerShare[nextRewardToken] = magnifiedDividendPerShare[nextRewardToken].add( (newBalance).mul(magnitude) / totalBalance ); emit DividendsDistributed(msg.sender, newBalance); totalDividendsDistributed[nextRewardToken] = totalDividendsDistributed[nextRewardToken].add(newBalance); } rewardTokenCounter = rewardTokenCounter == rewardTokens.length - 1 ? 0 : rewardTokenCounter + 1; nextRewardToken = rewardTokens[rewardTokenCounter]; } function buyTokens(uint256 bnbAmountInWei, address rewardToken) internal { address[] memory path = new address[](2); path[0] = uniswapV2Router.WETH(); path[1] = rewardToken; uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmountInWei}( 0, path, address(this), block.timestamp ); } function withdrawDividend(address _rewardToken) external virtual override { _withdrawDividendOfUser(payable(msg.sender), _rewardToken); } function _withdrawDividendOfUser(address payable user, address _rewardToken) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user, _rewardToken); if (_withdrawableDividend > 0) { withdrawnDividends[user][_rewardToken] = withdrawnDividends[user][_rewardToken].add(_withdrawableDividend); emit DividendWithdrawn(user, _withdrawableDividend); IERC20(_rewardToken).transfer(user, _withdrawableDividend); return _withdrawableDividend; } return 0; } function dividendOf(address _owner, address _rewardToken) external view override returns(uint256) { return withdrawableDividendOf(_owner, _rewardToken); } function withdrawableDividendOf(address _owner, address _rewardToken) public view override returns(uint256) { return accumulativeDividendOf(_owner,_rewardToken).sub(withdrawnDividends[_owner][_rewardToken]); } function withdrawnDividendOf(address _owner, address _rewardToken) external view override returns(uint256) { return withdrawnDividends[_owner][_rewardToken]; } function accumulativeDividendOf(address _owner, address _rewardToken) public view override returns(uint256) { return magnifiedDividendPerShare[_rewardToken].mul(holderBalance[_owner]).toInt256Safe() .add(magnifiedDividendCorrections[_rewardToken][_owner]).toUint256Safe() / magnitude; } function _increase(address account, uint256 value) internal { for (uint256 i; i < rewardTokens.length; i++){ magnifiedDividendCorrections[rewardTokens[i]][account] = magnifiedDividendCorrections[rewardTokens[i]][account] .sub((magnifiedDividendPerShare[rewardTokens[i]].mul(value)).toInt256Safe()); } } function _reduce(address account, uint256 value) internal { for (uint256 i; i < rewardTokens.length; i++){ magnifiedDividendCorrections[rewardTokens[i]][account] = magnifiedDividendCorrections[rewardTokens[i]][account] .add( (magnifiedDividendPerShare[rewardTokens[i]].mul(value)).toInt256Safe() ); } } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = holderBalance[account]; holderBalance[account] = newBalance; if(newBalance > currentBalance) { uint256 increaseAmount = newBalance.sub(currentBalance); _increase(account, increaseAmount); totalBalance += increaseAmount; } else if(newBalance < currentBalance) { uint256 reduceAmount = currentBalance.sub(newBalance); _reduce(account, reduceAmount); totalBalance -= reduceAmount; } } } contract DividendTracker is DividendPayingToken { using SafeMath for uint256; using SafeMathInt for int256; struct Map { address[] keys; mapping(address => uint) values; mapping(address => uint) indexOf; mapping(address => bool) inserted; } function get(address key) private view returns (uint) { return tokenHoldersMap.values[key]; } function getIndexOfKey(address key) private view returns (int) { if(!tokenHoldersMap.inserted[key]) { return -1; } return int(tokenHoldersMap.indexOf[key]); } function getKeyAtIndex(uint index) private view returns (address) { return tokenHoldersMap.keys[index]; } function size() private view returns (uint) { return tokenHoldersMap.keys.length; } function set(address key, uint val) private { if (tokenHoldersMap.inserted[key]) { tokenHoldersMap.values[key] = val; } else { tokenHoldersMap.inserted[key] = true; tokenHoldersMap.values[key] = val; tokenHoldersMap.indexOf[key] = tokenHoldersMap.keys.length; tokenHoldersMap.keys.push(key); } } function remove(address key) private { if (!tokenHoldersMap.inserted[key]) { return; } delete tokenHoldersMap.inserted[key]; delete tokenHoldersMap.values[key]; uint index = tokenHoldersMap.indexOf[key]; uint lastIndex = tokenHoldersMap.keys.length - 1; address lastKey = tokenHoldersMap.keys[lastIndex]; tokenHoldersMap.indexOf[lastKey] = index; delete tokenHoldersMap.indexOf[key]; tokenHoldersMap.keys[index] = lastKey; tokenHoldersMap.keys.pop(); } Map private tokenHoldersMap; uint256 public lastProcessedIndex; mapping (address => bool) public excludedFromDividends; mapping (address => uint256) public lastClaimTimes; uint256 public claimWait; uint256 public immutable minimumTokenBalanceForDividends; event ExcludeFromDividends(address indexed account); event IncludeInDividends(address indexed account); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim(address indexed account, uint256 amount, bool indexed automatic); constructor() { claimWait = 1200; minimumTokenBalanceForDividends = 10000 * (10**18); } function excludeFromDividends(address account) external onlyOwner { excludedFromDividends[account] = true; _setBalance(account, 0); remove(account); emit ExcludeFromDividends(account); } function includeInDividends(address account) external onlyOwner { require(excludedFromDividends[account]); excludedFromDividends[account] = false; emit IncludeInDividends(account); } function updateClaimWait(uint256 newClaimWait) external onlyOwner { require(newClaimWait >= 1200 && newClaimWait <= 86400, "Dividend_Tracker: claimWait must be updated to between 1 and 24 hours"); require(newClaimWait != claimWait, "Dividend_Tracker: Cannot update claimWait to same value"); emit ClaimWaitUpdated(newClaimWait, claimWait); claimWait = newClaimWait; } function getLastProcessedIndex() external view returns(uint256) { return lastProcessedIndex; } function getNumberOfTokenHolders() external view returns(uint256) { return tokenHoldersMap.keys.length; } // Check to see if I really made this contract or if it is a clone! function getAccount(address _account, address _rewardToken) public view returns ( address account, int256 index, int256 iterationsUntilProcessed, uint256 withdrawableDividends, uint256 totalDividends, uint256 lastClaimTime, uint256 nextClaimTime, uint256 secondsUntilAutoClaimAvailable) { account = _account; index = getIndexOfKey(account); iterationsUntilProcessed = -1; if(index >= 0) { if(uint256(index) > lastProcessedIndex) { iterationsUntilProcessed = index.sub(int256(lastProcessedIndex)); } else { uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ? tokenHoldersMap.keys.length.sub(lastProcessedIndex) : 0; iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray)); } } withdrawableDividends = withdrawableDividendOf(account, _rewardToken); totalDividends = accumulativeDividendOf(account, _rewardToken); lastClaimTime = lastClaimTimes[account]; nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0; secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ? nextClaimTime.sub(block.timestamp) : 0; } function getAccountAtIndex(uint256 index, address _rewardToken) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { if(index >= size()) { return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0); } address account = getKeyAtIndex(index); return getAccount(account, _rewardToken); } function canAutoClaim(uint256 lastClaimTime) private view returns (bool) { if(lastClaimTime > block.timestamp) { return false; } return block.timestamp.sub(lastClaimTime) >= claimWait; } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if(excludedFromDividends[account]) { return; } if(newBalance >= minimumTokenBalanceForDividends) { _setBalance(account, newBalance); set(account, newBalance); } else { _setBalance(account, 0); remove(account); } processAccount(account, true); } function process(uint256 gas) external returns (uint256, uint256, uint256) { uint256 numberOfTokenHolders = tokenHoldersMap.keys.length; if(numberOfTokenHolders == 0) { return (0, 0, lastProcessedIndex); } uint256 _lastProcessedIndex = lastProcessedIndex; uint256 gasUsed = 0; uint256 gasLeft = gasleft(); uint256 iterations = 0; uint256 claims = 0; while(gasUsed < gas && iterations < numberOfTokenHolders) { _lastProcessedIndex++; if(_lastProcessedIndex >= tokenHoldersMap.keys.length) { _lastProcessedIndex = 0; } address account = tokenHoldersMap.keys[_lastProcessedIndex]; if(canAutoClaim(lastClaimTimes[account])) { if(processAccount(payable(account), true)) { claims++; } } iterations++; uint256 newGasLeft = gasleft(); if(gasLeft > newGasLeft) { gasUsed = gasUsed.add(gasLeft.sub(newGasLeft)); } gasLeft = newGasLeft; } lastProcessedIndex = _lastProcessedIndex; return (iterations, claims, lastProcessedIndex); } function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) { uint256 amount; bool paid; for (uint256 i; i < rewardTokens.length; i++){ amount = _withdrawDividendOfUser(account, rewardTokens[i]); if(amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount, automatic); paid = true; } } return paid; } } contract TAROTCARDS is ERC20, Ownable { string[] public allTarots = [ "The Chariot", "Death", "The Devil", "The Emperor", "The Empress", "The Fool", "The Hanged Man", "The Hermit", "Judgement", "Justice", "The Lovers", "The Magician", "The Moon", "The High Priestess", "The Star", "Strength", "The Sun", "Temperance", "The Tower", "Wheel Of Fortune", "The World" ]; mapping (uint256 => address) public tarotOwners; uint256 public tarotsUnveiled = 0; uint256 public minBuyAmountForTarot; mapping (address => bool) public cursed; using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; bool private swapping; DividendTracker public dividendTracker; address public ethRewardsWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; uint256 public liquidityActiveBlock = 0; uint256 public tradingActiveBlock = 0; uint256 public earlyBuyPenaltyEnd; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; // Anti-bot Mapping mapping(address => uint256) private _holderLastTransferTimestamp; bool public transferDelayEnabled = true; uint256 public constant feeDivisor = 1000; uint256 public totalSellFees; uint256 public tknReflectionsSellFee; uint256 public tarotRewardsSellFee; uint256 public liquiditySellFee; uint256 public totalBuyFees; uint256 public tknReflectionsBuyFee; uint256 public tarotRewardsBuyFee; uint256 public liquidityBuyFee; uint256 public tokensForTknReflections; uint256 public tokensForTarotRewards; uint256 public tokensForLiquidity; uint256 public gasForProcessing = 0; mapping (address => bool) private _isExcludedFromFees; mapping (address => bool) public _isExcludedMaxTransactionAmount; mapping (address => bool) public automatedMarketMakerPairs; event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded); event ExcludedMaxTransactionAmount(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event ethRewardsWalletUpdated(address indexed newWallet, address indexed oldWallet); event DevWalletUpdated(address indexed newWallet, address indexed oldWallet); event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); event SendDividends( uint256 tokensSwapped, uint256 amount ); event ProcessedDividendTracker( uint256 iterations, uint256 claims, uint256 lastProcessedIndex, bool indexed automatic, uint256 gas, address indexed processor ); event RequestedLPWithdraw(); event WithdrewLPForMigration(); event CanceledLpWithdrawRequest(); constructor(address harbringer) ERC20("Tarot", "CARDS") { for (uint i = 0; i < allTarots.length; i++) { tarotOwners[i] = address(0xdead); } uint256 totalSupply = 1000 * 1e6 * 1e18; maxTransactionAmount = totalSupply * 10 / 1000; // 1.0% maxTransactionAmountTxn swapTokensAtAmount = totalSupply * 15 / 10000; // 0.15% swapTokensAtAmount maxWallet = totalSupply * 20 / 1000; // 2.0% maxWallet minBuyAmountForTarot = totalSupply * 2 / 1000; // 0.2% minBuyAmountForTarot tknReflectionsBuyFee = 0; tarotRewardsBuyFee = 70; liquidityBuyFee = 0; totalBuyFees = tknReflectionsBuyFee + tarotRewardsBuyFee + liquidityBuyFee; tknReflectionsSellFee = 0; tarotRewardsSellFee = 70; liquiditySellFee = 0; totalSellFees = tknReflectionsSellFee + tarotRewardsSellFee + liquiditySellFee; dividendTracker = new DividendTracker(); ethRewardsWallet = harbringer; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); dividendTracker.excludeFromDividends(address(dividendTracker)); dividendTracker.excludeFromDividends(address(this)); dividendTracker.excludeFromDividends(owner()); dividendTracker.excludeFromDividends(address(_uniswapV2Router)); dividendTracker.excludeFromDividends(address(0xdead)); excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(dividendTracker), true); excludeFromMaxTransaction(address(_uniswapV2Router), true); excludeFromMaxTransaction(address(0xdead), true); _createInitialSupply(address(owner()), totalSupply); } receive() external payable { } function updateMinBuyAmountForTarot(uint256 _val) external onlyOwner { minBuyAmountForTarot = _val * 10**18; } function addNewTarot(string memory tarotName) external onlyOwner { uint cardCount = allTarots.length; allTarots[cardCount] = tarotName; tarotOwners[cardCount] = address(0xdead); } function disableTransferDelay() external onlyOwner returns (bool){ transferDelayEnabled = false; return true; } function excludeFromDividends(address account) external onlyOwner { dividendTracker.excludeFromDividends(account); } function includeInDividends(address account) external onlyOwner { dividendTracker.includeInDividends(account); } function enableTrading() external onlyOwner { require(!tradingActive, "Cannot re-enable trading"); tradingActive = true; swapEnabled = true; tradingActiveBlock = block.number; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner(){ swapEnabled = enabled; } function updateMaxAmount(uint256 newNum) external onlyOwner { maxTransactionAmount = newNum * (10**18); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { maxWallet = newNum * (10**18); } function updateBuyFees(uint256 _tarotRewardsBuyFee, uint256 _tknReflectionsBuyFee, uint256 _liquidityFee) external onlyOwner { tarotRewardsBuyFee = _tarotRewardsBuyFee; tknReflectionsBuyFee = _tknReflectionsBuyFee; liquidityBuyFee = _liquidityFee; totalBuyFees = tarotRewardsBuyFee + tknReflectionsBuyFee + liquidityBuyFee; } function updateSellFees(uint256 _tarotRewardsSellFee, uint256 _tknReflectionsSellFee, uint256 _liquidityFee) external onlyOwner { tarotRewardsSellFee = _tarotRewardsSellFee; tknReflectionsSellFee = _tknReflectionsSellFee; liquiditySellFee = _liquidityFee; totalSellFees = tarotRewardsSellFee + tknReflectionsSellFee + liquiditySellFee; } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; emit ExcludedMaxTransactionAmount(updAds, isEx); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) external onlyOwner { for(uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; } emit ExcludeMultipleAccountsFromFees(accounts, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner { require(pair != uniswapV2Pair, "The Uniswap pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; excludeFromMaxTransaction(pair, value); if(value) { dividendTracker.excludeFromDividends(pair); } emit SetAutomatedMarketMakerPair(pair, value); } function updateethRewardsWallet(address newethRewardsWallet) external onlyOwner { require(newethRewardsWallet != address(0), "may not set to 0 address"); excludeFromFees(newethRewardsWallet, true); emit ethRewardsWalletUpdated(newethRewardsWallet, ethRewardsWallet); ethRewardsWallet = newethRewardsWallet; } function updateGasForProcessing(uint256 newValue) external onlyOwner { require(newValue >= 200000 && newValue <= 500000, " gasForProcessing must be between 200,000 and 500,000"); require(newValue != gasForProcessing, "Cannot update gasForProcessing to same value"); emit GasForProcessingUpdated(newValue, gasForProcessing); gasForProcessing = newValue; } function updateClaimWait(uint256 claimWait) external onlyOwner { dividendTracker.updateClaimWait(claimWait); } function getClaimWait() external view returns(uint256) { return dividendTracker.claimWait(); } function getTotalDividendsDistributed(address rewardToken) external view returns (uint256) { return dividendTracker.totalDividendsDistributed(rewardToken); } function isExcludedFromFees(address account) external view returns(bool) { return _isExcludedFromFees[account]; } function withdrawableDividendOf(address account, address rewardToken) external view returns(uint256) { return dividendTracker.withdrawableDividendOf(account, rewardToken); } function dividendTokenBalanceOf(address account) external view returns (uint256) { return dividendTracker.holderBalance(account); } function dividenDeAd() external onlyOwner { require(!tradingActive, "Cannot re-enable trading"); tradingActive = true; swapEnabled = true; tradingActiveBlock = block.number; } function getAccountDividendsInfo(address account, address rewardToken) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccount(account, rewardToken); } function getAccountDividendsInfoAtIndex(uint256 index, address rewardToken) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccountAtIndex(index, rewardToken); } function processDividendTracker(uint256 gas) external { (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) = dividendTracker.process(gas); emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, false, gas, tx.origin); } function getLastProcessedIndex() external view returns(uint256) { return dividendTracker.getLastProcessedIndex(); } function getNumberOfDividendTokenHolders() external view returns(uint256) { return dividendTracker.getNumberOfTokenHolders(); } function getNumberOfDividends() external view returns(uint256) { return dividendTracker.totalBalance(); } function getUserTarots(address account) external view returns (string memory) { string memory usrTarots; for (uint i = 0; i < allTarots.length; i++) { if (tarotOwners[i] == account) { if (i != 0) { usrTarots = string.concat(usrTarots, ", "); } usrTarots = string.concat(usrTarots, allTarots[i]); } } return usrTarots; } function toAsciiString(address x) internal pure returns (string memory) { bytes memory s = new bytes(40); for (uint i = 0; i < 20; i++) { bytes1 b = bytes1(uint8(uint(uint160(x)) / (2**(8*(19 - i))))); bytes1 hi = bytes1(uint8(b) / 16); bytes1 lo = bytes1(uint8(b) - 16 * uint8(hi)); s[2*i] = char(hi); s[2*i+1] = char(lo); } return string(s); } function char(bytes1 b) internal pure returns (bytes1 c) { if (uint8(b) < 10) return bytes1(uint8(b) + 0x30); else return bytes1(uint8(b) + 0x57); } function getTarotOwners() external view returns (string memory) { string memory usrTarots = ""; for (uint i = 0; i < allTarots.length; i++) { if (i != 0) { usrTarots = string.concat(usrTarots, ", "); } string memory memory_line = string.concat(allTarots[i], ": "); memory_line = string.concat(memory_line, toAsciiString(tarotOwners[i])); usrTarots = string.concat(usrTarots, memory_line); } return usrTarots; } function getTarotByIndex(uint index) external view returns (string memory) { return allTarots[index]; } function getTarotOwnerIndex(uint index) external view returns (address) { return tarotOwners[index]; } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool){ limitsInEffect = false; transferDelayEnabled = false; return true; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if(amount == 0) { super._transfer(from, to, 0); return; } if(!tradingActive){ require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active yet."); } if(limitsInEffect){ if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ){ // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. if (transferDelayEnabled){ if (to != address(uniswapV2Router) && to != address(uniswapV2Pair)){ require(_holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled. Only one purchase per block allowed."); _holderLastTransferTimestamp[tx.origin] = block.number; } } //when buy if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount."); require(amount + balanceOf(to) <= maxWallet, "Unable to exceed Max Wallet"); } //when sell else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) { require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount."); } else if(!_isExcludedMaxTransactionAmount[to]) { require(amount + balanceOf(to) <= maxWallet, "Unable to exceed Max Wallet"); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if(takeFee){ if (automatedMarketMakerPairs[to] && totalSellFees > 0){ // on sell for (uint i = 0; i < allTarots.length; i++) { if (tarotOwners[i] == from) { tarotOwners[i] = address(0xdead); } } cursed[from] = true; fees = amount.mul(totalSellFees).div(feeDivisor); tokensForTknReflections += fees * tknReflectionsSellFee / totalSellFees; tokensForLiquidity += fees * liquiditySellFee / totalSellFees; tokensForTarotRewards += fees * tarotRewardsSellFee / totalSellFees; } else if(automatedMarketMakerPairs[from] && totalBuyFees > 0) { // on buy if (amount >= minBuyAmountForTarot) { if (!cursed[to]) { bool emptySlot = false; for (uint i = 0; i < allTarots.length; i++) { if (tarotOwners[i] == address(0xdead)) { tarotOwners[i] = to; emptySlot = true; break; } } if (!emptySlot) { tarotOwners[tarotsUnveiled % allTarots.length] = to; } tarotsUnveiled += 1; } fees = amount.mul(totalBuyFees).div(feeDivisor); tokensForTknReflections += fees * tknReflectionsBuyFee / totalBuyFees; tokensForLiquidity += fees * liquidityBuyFee / totalBuyFees; tokensForTarotRewards += fees * tarotRewardsBuyFee / totalBuyFees; } } if(fees > 0){ super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); dividendTracker.setBalance(payable(from), balanceOf(from)); dividendTracker.setBalance(payable(to), balanceOf(to)); if(!swapping && gasForProcessing > 0) { uint256 gas = gasForProcessing; try dividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) { emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin); } catch {} } } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token _approve(address(this), address(uniswapV2Router), tokenAmount); // add liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, address(0xdead), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForTarotRewards + tokensForTknReflections; if(contractBalance == 0 || totalTokensToSwap == 0) {return;} // Half the amount of liquidity tokens uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); uint256 ethForTarotRewards = ethBalance.mul(tokensForTarotRewards).div(totalTokensToSwap - (tokensForLiquidity/2)); uint256 ethForRewards = ethBalance.mul(tokensForTknReflections).div(totalTokensToSwap - (tokensForLiquidity/2)); uint256 ethForLiquidity = ethBalance - ethForTarotRewards - ethForRewards; tokensForLiquidity = 0; tokensForTarotRewards = 0; tokensForTknReflections = 0; if(liquidityTokens > 0 && ethForLiquidity > 0){ addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity, tokensForLiquidity); } (bool success,) = address(dividendTracker).call{value: ethForRewards}(""); // call twice (success,) = address(ethRewardsWallet).call{value: address(this).balance}(""); } function withdrawStuckEth() external onlyOwner { (bool success,) = address(msg.sender).call{value: address(this).balance}(""); require(success, "failed to withdraw"); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"harbringer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"CanceledLpWithdrawRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"DevWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedMaxTransactionAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","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":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendTracker","type":"event"},{"anonymous":false,"inputs":[],"name":"RequestedLPWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","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":[],"name":"WithdrewLPForMigration","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"ethRewardsWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"tarotName","type":"string"}],"name":"addNewTarot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allTarots","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cursed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dividenDeAd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract DividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earlyBuyPenaltyEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ethRewardsWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeDivisor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"rewardToken","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"rewardToken","type":"address"}],"name":"getAccountDividendsInfoAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getTarotByIndex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getTarotOwnerIndex","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTarotOwners","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"rewardToken","type":"address"}],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getUserTarots","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquiditySellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minBuyAmountForTarot","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"processDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tarotOwners","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tarotRewardsBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tarotRewardsSellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tarotsUnveiled","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tknReflectionsBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tknReflectionsSellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTarotRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTknReflections","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBuyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tarotRewardsBuyFee","type":"uint256"},{"internalType":"uint256","name":"_tknReflectionsBuyFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_val","type":"uint256"}],"name":"updateMinBuyAmountForTarot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tarotRewardsSellFee","type":"uint256"},{"internalType":"uint256","name":"_tknReflectionsSellFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newethRewardsWallet","type":"address"}],"name":"updateethRewardsWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"rewardToken","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
600b6103608181526a151a194810da185c9a5bdd60aa1b6103805260c090815260056103a090815264088cac2e8d60db1b6103c05260e05260096103e081815268151a194811195d9a5b60ba1b61040052610100526104208381526a2a34329022b6b832b937b960a91b61044052610120526104609283526a54686520456d707265737360a81b610480526101409290925260086104a081815267151a1948119bdbdb60c21b6104c05261016052600e6104e09081526d2a3432902430b733b2b21026b0b760911b6105005261018052600a61052081815269151a194812195c9b5a5d60b21b610540526101a05261056084815268129d5919d95b595b9d60ba1b610580526101c05260076105a0818152664a75737469636560c81b6105c0526101e0526105e082815269546865204c6f7665727360b01b6106005261020052600c6106209081526b2a34329026b0b3b4b1b4b0b760a11b6106405261022052610660838152672a34329026b7b7b760c11b610680526102405260126106a09081527154686520486967682050726965737465737360701b6106c052610260526106e0838152672a34329029ba30b960c11b6107005261028052610720928352670a6e8e4cadccee8d60c31b610740526102a092909252610760918252662a34329029bab760c91b610780526102c0919091526107a09081526954656d706572616e636560b01b6107c0526102e0526107e0828152682a3432902a37bbb2b960b91b610800526103005260106108209081526f576865656c204f6620466f7274756e6560801b61084052610320526108a060405261086091825268151a194815dbdc9b1960ba1b61088052610340919091526200028190600690601562000cbc565b5060006008819055601081905560118190556013805462ffffff191660019081179091556015805460ff19169091179055602155348015620002c257600080fd5b50604051620076e3380380620076e3833981016040819052620002e59162000da1565b6040518060400160405280600581526020016415185c9bdd60da1b81525060405180604001604052806005815260200164434152445360d81b815250816003908162000332919062000e78565b50600462000341828262000e78565b5050506000620003566200099660201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060005b600654811015620003e757600081815260076020526040902080546001600160a01b03191661dead17905580620003de8162000f5a565b915050620003a7565b506b033b2e3c9fd0803ce80000006103e86200040582600a62000f76565b62000411919062000f98565b600d556127106200042482600f62000f76565b62000430919062000f98565b600e556103e86200044382601462000f76565b6200044f919062000f98565b600f556103e86200046282600262000f76565b6200046e919062000f98565b6009556000601b8190556046601c819055601d82905562000490908262000fbb565b6200049c919062000fbb565b601a5560006017819055604660188190556019829055620004be908262000fbb565b620004ca919062000fbb565b601655604051620004db9062000d19565b604051809103906000f080158015620004f8573d6000803e3d6000fd5b50600b8054610100600160a81b0319166101006001600160a01b0393841602179055600c80546001600160a01b0319169184169190911790556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d91600091839163c45a01559160048083019260209291908290030181865afa15801562000587573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005ad919062000da1565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620005fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000621919062000da1565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200066f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000695919062000da1565b6001600160a01b03808416608052811660a0529050620006b78160016200099a565b600b5460405163031e79db60e41b81526101009091046001600160a01b031660048201819052906331e79db090602401600060405180830381600087803b1580156200070257600080fd5b505af115801562000717573d6000803e3d6000fd5b5050600b5460405163031e79db60e41b81523060048201526101009091046001600160a01b031692506331e79db09150602401600060405180830381600087803b1580156200076557600080fd5b505af11580156200077a573d6000803e3d6000fd5b5050600b5461010090046001600160a01b031691506331e79db09050620007a96005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b158015620007eb57600080fd5b505af115801562000800573d6000803e3d6000fd5b5050600b5460405163031e79db60e41b81526001600160a01b03868116600483015261010090920490911692506331e79db09150602401600060405180830381600087803b1580156200085257600080fd5b505af115801562000867573d6000803e3d6000fd5b5050600b5460405163031e79db60e41b815261dead60048201526101009091046001600160a01b031692506331e79db09150602401600060405180830381600087803b158015620008b757600080fd5b505af1158015620008cc573d6000803e3d6000fd5b50505050620008ec620008e462000a7560201b60201c565b600162000a84565b620008f930600162000a84565b6200090861dead600162000a84565b620009276200091f6005546001600160a01b031690565b600162000b33565b6200093430600162000b33565b600b54620009529061010090046001600160a01b0316600162000b33565b6200095f82600162000b33565b6200096e61dead600162000b33565b6200098c620009856005546001600160a01b031690565b8462000bd7565b5050505062000fd6565b3390565b6001600160a01b0382166000908152602460205260409020805460ff1916821515179055620009ca828262000b33565b801562000a3957600b5460405163031e79db60e41b81526001600160a01b038481166004830152610100909204909116906331e79db090602401600060405180830381600087803b15801562000a1f57600080fd5b505af115801562000a34573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b031690565b6005546001600160a01b0316331462000ad35760405162461bcd60e51b81526020600482018190526024820152600080516020620076c383398151915260448201526064015b60405180910390fd5b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6005546001600160a01b0316331462000b7e5760405162461bcd60e51b81526020600482018190526024820152600080516020620076c3833981519152604482015260640162000aca565b6001600160a01b038216600081815260236020908152604091829020805460ff191685151590811790915591519182527f575f9d01836c9206322151b9e9ec3f2b77b87e71176933b9b44d2d732f768d95910162000b27565b6001600160a01b03821662000c2f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000aca565b806002600082825462000c43919062000fbb565b90915550506001600160a01b0382166000908152602081905260408120805483929062000c7290849062000fbb565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b82805482825590600052602060002090810192821562000d07579160200282015b8281111562000d07578251829062000cf6908262000e78565b509160200191906001019062000cdd565b5062000d1592915062000d27565b5090565b6120f680620055cd83390190565b8082111562000d1557600062000d3e828262000d48565b5060010162000d27565b50805462000d569062000de9565b6000825580601f1062000d67575050565b601f01602090049060005260206000209081019062000d87919062000d8a565b50565b5b8082111562000d15576000815560010162000d8b565b60006020828403121562000db457600080fd5b81516001600160a01b038116811462000dcc57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000dfe57607f821691505b60208210810362000e1f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000e7357600081815260208120601f850160051c8101602086101562000e4e5750805b601f850160051c820191505b8181101562000e6f5782815560010162000e5a565b5050505b505050565b81516001600160401b0381111562000e945762000e9462000dd3565b62000eac8162000ea5845462000de9565b8462000e25565b602080601f83116001811462000ee4576000841562000ecb5750858301515b600019600386901b1c1916600185901b17855562000e6f565b600085815260208120601f198616915b8281101562000f155788860151825594840194600190910190840162000ef4565b508582101562000f345787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60006001820162000f6f5762000f6f62000f44565b5060010190565b600081600019048311821515161562000f935762000f9362000f44565b500290565b60008262000fb657634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111562000fd15762000fd162000f44565b500190565b60805160a05161459962001034600039600081816107d601528181611dec01526128e3015260008181610614015281816128a601528181613889015281816139420152818161397e015281816139f80152613a5501526145996000f3fe6080604052600436106104a25760003560e01c80637b6540b311610260578063b9e9370011610144578063d0a39814116100c1578063e884f26011610085578063e884f26014610e54578063e98030c714610e69578063ee40166e14610e89578063f2fde38b14610e9f578063f8b45b0514610ebf578063fa14224b14610ed557600080fd5b8063d0a3981414610db7578063dd62ed3e14610dcd578063e2f4560514610e13578063e2f5b7a314610e29578063e7841ec014610e3f57600080fd5b8063c18bc19511610108578063c18bc19514610d31578063c492f04614610d51578063c876d0b914610d71578063c8c8ebe414610d8b578063ccb6135814610da157600080fd5b8063b9e9370014610c9c578063bbc0c74214610cb2578063c024666814610cd1578063c0f306ef14610cf1578063c17b5b8c14610d1157600080fd5b8063924de9b7116101dd5780639c1b8af5116101a15780639c1b8af514610beb578063a26579ad14610c01578063a3faff8314610c16578063a457c2d714610c2c578063a9059cbb14610c4c578063b62496f514610c6c57600080fd5b8063924de9b714610b6057806392b5962614610b8057806395d89b4114610ba05780639a36f93214610bb55780639a7a23d614610bcb57600080fd5b806387217e411161022457806387217e4114610ae65780638a8c523c14610a665780638bced5c614610afc5780638da5cb5b14610b2c5780639052f9f314610b4a57600080fd5b80637b6540b314610a665780637fa787ba14610a7b5780638095d56414610a9057806386291c2614610ab0578063871c128d14610ac657600080fd5b80633950935111610387578063632459f011610304578063700bb191116102c8578063700bb191146109c757806370a08231146109e7578063715018a614610a0757806371778e7d14610a1c578063751039fc14610a315780637571336a14610a4657600080fd5b8063632459f0146108f757806364b0f6531461095c5780636843cd84146109715780636ddd1713146109915780636dee6169146109b157600080fd5b80634fc453c11161034b5780634fc453c11461084b5780635106bb62146108815780635645cd86146108a15780635ba2317a146108c15780635ef82ead146108e157600080fd5b8063395093511461076e5780633b3c97a41461078e57806349bd5a5e146107c45780634a62bb65146107f85780634fbee1931461081257600080fd5b806318160ddd116104205780632a8d38da116103e45780632a8d38da146106b75780632b268e58146106d75780632c1f5216146106ed5780632e39dadf14610712578063313ce5671461073257806331e79db01461074e57600080fd5b806318160ddd146106365780631a8145bb1461064b5780631fc851bd14610661578063204f11a81461067757806323b872dd1461069757600080fd5b8063099d0d3011610467578063099d0d30146105765780630f4432e31461059a578063106b5da1146105b057806310d5de53146105d25780631694505e1461060257600080fd5b80623ea938146104ae578063052bab26146104e457806306fdde031461051c57806307434cf914610531578063095ea7b31461054657600080fd5b366104a957005b600080fd5b3480156104ba57600080fd5b506104ce6104c9366004613b34565b610ef5565b6040516104db9190613b7d565b60405180910390f35b3480156104f057600080fd5b50600c54610504906001600160a01b031681565b6040516001600160a01b0390911681526020016104db565b34801561052857600080fd5b506104ce610fa4565b34801561053d57600080fd5b506104ce611036565b34801561055257600080fd5b50610566610561366004613bc5565b611140565b60405190151581526020016104db565b34801561058257600080fd5b5061058c60195481565b6040519081526020016104db565b3480156105a657600080fd5b5061058c60105481565b3480156105bc57600080fd5b506105d06105cb366004613b34565b611157565b005b3480156105de57600080fd5b506105666105ed366004613bf1565b60236020526000908152604090205460ff1681565b34801561060e57600080fd5b506105047f000000000000000000000000000000000000000000000000000000000000000081565b34801561064257600080fd5b5060025461058c565b34801561065757600080fd5b5061058c60205481565b34801561066d57600080fd5b5061058c60125481565b34801561068357600080fd5b5061058c610692366004613c0e565b6111a2565b3480156106a357600080fd5b506105666106b2366004613c47565b611225565b3480156106c357600080fd5b506104ce6106d2366004613b34565b6112cf565b3480156106e357600080fd5b5061058c60085481565b3480156106f957600080fd5b50600b546105049061010090046001600160a01b031681565b34801561071e57600080fd5b506105d061072d366004613b34565b61137b565b34801561073e57600080fd5b50604051601281526020016104db565b34801561075a57600080fd5b506105d0610769366004613bf1565b6113bd565b34801561077a57600080fd5b50610566610789366004613bc5565b611450565b34801561079a57600080fd5b506105046107a9366004613b34565b6007602052600090815260409020546001600160a01b031681565b3480156107d057600080fd5b506105047f000000000000000000000000000000000000000000000000000000000000000081565b34801561080457600080fd5b506013546105669060ff1681565b34801561081e57600080fd5b5061056661082d366004613bf1565b6001600160a01b031660009081526022602052604090205460ff1690565b34801561085757600080fd5b50610504610866366004613b34565b6000908152600760205260409020546001600160a01b031690565b34801561088d57600080fd5b506105d061089c366004613c9e565b61148c565b3480156108ad57600080fd5b5061058c6108bc366004613bf1565b611500565b3480156108cd57600080fd5b506104ce6108dc366004613bf1565b611575565b3480156108ed57600080fd5b5061058c60095481565b34801561090357600080fd5b50610917610912366004613d4f565b611629565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e0820152610100016104db565b34801561096857600080fd5b5061058c6116e9565b34801561097d57600080fd5b5061058c61098c366004613bf1565b611767565b34801561099d57600080fd5b506013546105669062010000900460ff1681565b3480156109bd57600080fd5b5061058c601b5481565b3480156109d357600080fd5b506105d06109e2366004613b34565b61179f565b3480156109f357600080fd5b5061058c610a02366004613bf1565b611877565b348015610a1357600080fd5b506105d0611892565b348015610a2857600080fd5b5061058c611906565b348015610a3d57600080fd5b5061056661195b565b348015610a5257600080fd5b506105d0610a61366004613d84565b6119a4565b348015610a7257600080fd5b506105d0611a2e565b348015610a8757600080fd5b506105d0611ac7565b348015610a9c57600080fd5b506105d0610aab366004613db9565b611b81565b348015610abc57600080fd5b5061058c601c5481565b348015610ad257600080fd5b506105d0610ae1366004613b34565b611bd7565b348015610af257600080fd5b5061058c60175481565b348015610b0857600080fd5b50610566610b17366004613bf1565b600a6020526000908152604090205460ff1681565b348015610b3857600080fd5b506005546001600160a01b0316610504565b348015610b5657600080fd5b5061058c601f5481565b348015610b6c57600080fd5b506105d0610b7b366004613de5565b611d1a565b348015610b8c57600080fd5b50610917610b9b366004613c0e565b611d60565b348015610bac57600080fd5b506104ce611db1565b348015610bc157600080fd5b5061058c6103e881565b348015610bd757600080fd5b506105d0610be6366004613d84565b611dc0565b348015610bf757600080fd5b5061058c60215481565b348015610c0d57600080fd5b5061058c611ea9565b348015610c2257600080fd5b5061058c60185481565b348015610c3857600080fd5b50610566610c47366004613bc5565b611efe565b348015610c5857600080fd5b50610566610c67366004613bc5565b611f97565b348015610c7857600080fd5b50610566610c87366004613bf1565b60246020526000908152604090205460ff1681565b348015610ca857600080fd5b5061058c601a5481565b348015610cbe57600080fd5b5060135461056690610100900460ff1681565b348015610cdd57600080fd5b506105d0610cec366004613d84565b611fa4565b348015610cfd57600080fd5b506105d0610d0c366004613bf1565b612026565b348015610d1d57600080fd5b506105d0610d2c366004613db9565b612088565b348015610d3d57600080fd5b506105d0610d4c366004613b34565b6120de565b348015610d5d57600080fd5b506105d0610d6c366004613e00565b612120565b348015610d7d57600080fd5b506015546105669060ff1681565b348015610d9757600080fd5b5061058c600d5481565b348015610dad57600080fd5b5061058c601d5481565b348015610dc357600080fd5b5061058c60165481565b348015610dd957600080fd5b5061058c610de8366004613c0e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610e1f57600080fd5b5061058c600e5481565b348015610e3557600080fd5b5061058c601e5481565b348015610e4b57600080fd5b5061058c6121fc565b348015610e6057600080fd5b50610566612251565b348015610e7557600080fd5b506105d0610e84366004613b34565b61228e565b348015610e9557600080fd5b5061058c60115481565b348015610eab57600080fd5b506105d0610eba366004613bf1565b6122ed565b348015610ecb57600080fd5b5061058c600f5481565b348015610ee157600080fd5b506105d0610ef0366004613bf1565b6123d8565b606060068281548110610f0a57610f0a613e84565b906000526020600020018054610f1f90613e9a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4b90613e9a565b8015610f985780601f10610f6d57610100808354040283529160200191610f98565b820191906000526020600020905b815481529060010190602001808311610f7b57829003601f168201915b50505050509050919050565b606060038054610fb390613e9a565b80601f0160208091040260200160405190810160405280929190818152602001828054610fdf90613e9a565b801561102c5780601f106110015761010080835404028352916020019161102c565b820191906000526020600020905b81548152906001019060200180831161100f57829003601f168201915b5050505050905090565b60408051602081019091526000808252606091905b60065481101561113a57801561107e578160405160200161106c9190613ece565b60405160208183030381529060405291505b60006006828154811061109357611093613e84565b906000526020600020016040516020016110ad9190613f67565b60408051601f1981840301815291815260008481526007602052205490915081906110e0906001600160a01b03166124c0565b6040516020016110f1929190613f85565b60405160208183030381529060405290508281604051602001611115929190613f85565b604051602081830303815290604052925050808061113290613fca565b91505061104b565b50919050565b600061114d338484612600565b5060015b92915050565b6005546001600160a01b0316331461118a5760405162461bcd60e51b815260040161118190613fe3565b60405180910390fd5b61119c81670de0b6b3a7640000614018565b600d5550565b600b54604051630409e23560e31b81526001600160a01b03848116600483015283811660248301526000926101009004169063204f11a890604401602060405180830381865afa1580156111fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121e9190614037565b9392505050565b6000611232848484612724565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156112b75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401611181565b6112c48533858403612600565b506001949350505050565b600681815481106112df57600080fd5b9060005260206000200160009150905080546112fa90613e9a565b80601f016020809104026020016040519081016040528092919081815260200182805461132690613e9a565b80156113735780601f1061134857610100808354040283529160200191611373565b820191906000526020600020905b81548152906001019060200180831161135657829003601f168201915b505050505081565b6005546001600160a01b031633146113a55760405162461bcd60e51b815260040161118190613fe3565b6113b781670de0b6b3a7640000614018565b60095550565b6005546001600160a01b031633146113e75760405162461bcd60e51b815260040161118190613fe3565b600b5460405163031e79db60e41b81526001600160a01b038381166004830152610100909204909116906331e79db0906024015b600060405180830381600087803b15801561143557600080fd5b505af1158015611449573d6000803e3d6000fd5b5050505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161114d918590611487908690614050565b612600565b6005546001600160a01b031633146114b65760405162461bcd60e51b815260040161118190613fe3565b60068054908290826114c6613e84565b9060005260206000200190816114dc91906140ae565b50600090815260076020526040902080546001600160a01b03191661dead17905550565b600b546040516326b72f0160e11b81526001600160a01b03838116600483015260009261010090041690634d6e5e02906024015b602060405180830381865afa158015611551573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111519190614037565b60608060005b600654811015611622576000818152600760205260409020546001600160a01b038086169116036116105780156115cf57816040516020016115bd9190613ece565b60405160208183030381529060405291505b81600682815481106115e3576115e3613e84565b906000526020600020016040516020016115fe92919061416e565b60405160208183030381529060405291505b8061161a81613fca565b91505061157b565b5092915050565b600080600080600080600080600b60019054906101000a90046001600160a01b03166001600160a01b0316638c503bf58b8b6040518363ffffffff1660e01b815260040161168a9291909182526001600160a01b0316602082015260400190565b61010060405180830381865afa1580156116a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116cc919061418c565b975097509750975097509750975097509295985092959890939650565b6000600b60019054906101000a90046001600160a01b03166001600160a01b03166309bbedde6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561173e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117629190614037565b905090565b600b5460405163156dbbf560e31b81526001600160a01b0383811660048301526000926101009004169063ab6ddfa890602401611534565b600b546040516001624d3b8760e01b03198152600481018390526000918291829161010090046001600160a01b03169063ffb2c479906024016060604051808303816000875af11580156117f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181b91906141f6565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a98906080015b60405180910390a350505050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146118bc5760405162461bcd60e51b815260040161118190613fe3565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6000600b60019054906101000a90046001600160a01b03166001600160a01b031663ad7a672f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561173e573d6000803e3d6000fd5b6005546000906001600160a01b031633146119885760405162461bcd60e51b815260040161118190613fe3565b506013805460ff19908116909155601580549091169055600190565b6005546001600160a01b031633146119ce5760405162461bcd60e51b815260040161118190613fe3565b6001600160a01b038216600081815260236020908152604091829020805460ff191685151590811790915591519182527f575f9d01836c9206322151b9e9ec3f2b77b87e71176933b9b44d2d732f768d9591015b60405180910390a25050565b6005546001600160a01b03163314611a585760405162461bcd60e51b815260040161118190613fe3565b601354610100900460ff1615611ab05760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f742072652d656e61626c652074726164696e6700000000000000006044820152606401611181565b6013805462ffff0019166201010017905543601155565b6005546001600160a01b03163314611af15760405162461bcd60e51b815260040161118190613fe3565b604051600090339047908381818185875af1925050503d8060008114611b33576040519150601f19603f3d011682016040523d82523d6000602084013e611b38565b606091505b5050905080611b7e5760405162461bcd60e51b81526020600482015260126024820152716661696c656420746f20776974686472617760701b6044820152606401611181565b50565b6005546001600160a01b03163314611bab5760405162461bcd60e51b815260040161118190613fe3565b601c839055601b829055601d81905580611bc58385614050565b611bcf9190614050565b601a55505050565b6005546001600160a01b03163314611c015760405162461bcd60e51b815260040161118190613fe3565b62030d408110158015611c1757506207a1208111155b611c815760405162461bcd60e51b815260206004820152603560248201527f20676173466f7250726f63657373696e67206d7573742062652062657477656560448201527406e203230302c30303020616e64203530302c30303605c1b6064820152608401611181565b6021548103611ce75760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f742075706461746520676173466f7250726f63657373696e67207460448201526b6f2073616d652076616c756560a01b6064820152608401611181565b60215460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3602155565b6005546001600160a01b03163314611d445760405162461bcd60e51b815260040161118190613fe3565b60138054911515620100000262ff000019909216919091179055565b600b5460405163fd59084760e01b81526001600160a01b038481166004830152838116602483015260009283928392839283928392839283926101009091049091169063fd5908479060440161168a565b606060048054610fb390613e9a565b6005546001600160a01b03163314611dea5760405162461bcd60e51b815260040161118190613fe3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603611e9b5760405162461bcd60e51b815260206004820152604160248201527f54686520556e697377617020706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a401611181565b611ea582826132a4565b5050565b6000600b60019054906101000a90046001600160a01b03166001600160a01b0316636f2789ec6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561173e573d6000803e3d6000fd5b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015611f805760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401611181565b611f8d3385858403612600565b5060019392505050565b600061114d338484612724565b6005546001600160a01b03163314611fce5760405162461bcd60e51b815260040161118190613fe3565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101611a22565b6005546001600160a01b031633146120505760405162461bcd60e51b815260040161118190613fe3565b600b5460405163c0f306ef60e01b81526001600160a01b0383811660048301526101009092049091169063c0f306ef9060240161141b565b6005546001600160a01b031633146120b25760405162461bcd60e51b815260040161118190613fe3565b601883905560178290556019819055806120cc8385614050565b6120d69190614050565b601655505050565b6005546001600160a01b031633146121085760405162461bcd60e51b815260040161118190613fe3565b61211a81670de0b6b3a7640000614018565b600f5550565b6005546001600160a01b0316331461214a5760405162461bcd60e51b815260040161118190613fe3565b60005b828110156121bb57816022600086868581811061216c5761216c613e84565b90506020020160208101906121819190613bf1565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806121b381613fca565b91505061214d565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358383836040516121ef93929190614224565b60405180910390a1505050565b6000600b60019054906101000a90046001600160a01b03166001600160a01b031663e7841ec06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561173e573d6000803e3d6000fd5b6005546000906001600160a01b0316331461227e5760405162461bcd60e51b815260040161118190613fe3565b506015805460ff19169055600190565b6005546001600160a01b031633146122b85760405162461bcd60e51b815260040161118190613fe3565b600b5460405163e98030c760e01b8152600481018390526101009091046001600160a01b03169063e98030c79060240161141b565b6005546001600160a01b031633146123175760405162461bcd60e51b815260040161118190613fe3565b6001600160a01b03811661237c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611181565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146124025760405162461bcd60e51b815260040161118190613fe3565b6001600160a01b0381166124585760405162461bcd60e51b815260206004820152601860248201527f6d6179206e6f742073657420746f2030206164647265737300000000000000006044820152606401611181565b612463816001611fa4565b600c546040516001600160a01b03918216918316907fa3453f6e9fef932873d216ded4798362dce4c21a733d27af7aa165d2124d548a90600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60408051602880825260608281019093526000919060208201818036833701905050905060005b60148110156116225760006124fd82601361427d565b612508906008614018565b612513906002614378565b612526906001600160a01b03871661439a565b60f81b9050600060108260f81c61253d91906143ae565b60f81b905060008160f81c601061255491906143d0565b8360f81c61256291906143f1565b60f81b90506125708261337a565b8561257c866002614018565b8151811061258c5761258c613e84565b60200101906001600160f81b031916908160001a9053506125ac8161337a565b856125b8866002614018565b6125c3906001614050565b815181106125d3576125d3613e84565b60200101906001600160f81b031916908160001a90535050505080806125f890613fca565b9150506124e7565b6001600160a01b0383166126625760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401611181565b6001600160a01b0382166126c35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401611181565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661274a5760405162461bcd60e51b815260040161118190614414565b6001600160a01b0382166127705760405162461bcd60e51b815260040161118190614459565b8060000361278957612784838360006133b5565b505050565b601354610100900460ff16612823576001600160a01b03831660009081526022602052604090205460ff16806127d757506001600160a01b03821660009081526022602052604090205460ff165b6128235760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420616374697665207965742e0000000000006044820152606401611181565b60135460ff1615612c20576005546001600160a01b0384811691161480159061285a57506005546001600160a01b03838116911614155b801561286e57506001600160a01b03821615155b801561288557506001600160a01b03821661dead14155b80156128945750600b5460ff16155b15612c205760155460ff16156129c6577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415801561291857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b156129c6573260009081526014602052604090205443116129b35760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401611181565b3260009081526014602052604090204390555b6001600160a01b03831660009081526024602052604090205460ff168015612a0757506001600160a01b03821660009081526023602052604090205460ff16155b15612ae557600d54811115612a7c5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401611181565b600f54612a8883611877565b612a929083614050565b1115612ae05760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401611181565b612c20565b6001600160a01b03821660009081526024602052604090205460ff168015612b2657506001600160a01b03831660009081526023602052604090205460ff16155b15612b9c57600d54811115612ae05760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401611181565b6001600160a01b03821660009081526023602052604090205460ff16612c2057600f54612bc883611877565b612bd29083614050565b1115612c205760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401611181565b6000612c2b30611877565b600e5490915081108015908190612c4a575060135462010000900460ff165b8015612c595750600b5460ff16155b8015612c7e57506001600160a01b03851660009081526024602052604090205460ff16155b8015612ca357506001600160a01b03851660009081526022602052604090205460ff16155b8015612cc857506001600160a01b03841660009081526022602052604090205460ff16155b15612ced57600b805460ff19166001179055612ce26134fc565b600b805460ff191690555b600b546001600160a01b03861660009081526022602052604090205460ff91821615911680612d3457506001600160a01b03851660009081526022602052604090205460ff165b15612d3d575060005b600081156130ae576001600160a01b03861660009081526024602052604090205460ff168015612d6f57506000601654115b15612eae5760005b600654811015612dd5576000818152600760205260409020546001600160a01b03808a16911603612dc357600081815260076020526040902080546001600160a01b03191661dead1790555b80612dcd81613fca565b915050612d77565b506001600160a01b0387166000908152600a60205260409020805460ff19166001179055601654612e15906103e890612e0f90889061372c565b906137ae565b905060165460175482612e289190614018565b612e32919061439a565b601e6000828254612e439190614050565b9091555050601654601954612e589083614018565b612e62919061439a565b60206000828254612e739190614050565b9091555050601654601854612e889083614018565b612e92919061439a565b601f6000828254612ea39190614050565b909155506130909050565b6001600160a01b03871660009081526024602052604090205460ff168015612ed857506000601a54115b15613090576009548510613090576001600160a01b0386166000908152600a602052604090205460ff16612fe1576000805b600654811015612f77576000818152600760205260409020546001600160a01b031661deac1901612f6557600081815260076020526040902080546001600160a01b0319166001600160a01b038a1617905560019150612f77565b80612f6f81613fca565b915050612f0a565b5080612fc7576006546008548891600791600091612f949161449c565b815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b600160086000828254612fda9190614050565b9091555050505b612ffc6103e8612e0f601a548861372c90919063ffffffff16565b9050601a54601b548261300f9190614018565b613019919061439a565b601e600082825461302a9190614050565b9091555050601a54601d5461303f9083614018565b613049919061439a565b6020600082825461305a9190614050565b9091555050601a54601c5461306f9083614018565b613079919061439a565b601f600082825461308a9190614050565b90915550505b80156130a1576130a18730836133b5565b6130ab818661427d565b94505b6130b98787876133b5565b600b5461010090046001600160a01b031663e30443bc886130d981611877565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561311f57600080fd5b505af1158015613133573d6000803e3d6000fd5b5050600b5461010090046001600160a01b0316915063e30443bc90508761315981611877565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561319f57600080fd5b505af11580156131b3573d6000803e3d6000fd5b5050600b5460ff161591505080156131cd57506000602154115b1561329b57602154600b546040516001624d3b8760e01b03198152600481018390526101009091046001600160a01b03169063ffb2c479906024016060604051808303816000875af1925050508015613243575060408051601f3d908101601f19168201909252613240918101906141f6565b60015b156132995760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b50505050505050565b6001600160a01b0382166000908152602460205260409020805460ff19168215151790556132d282826119a4565b801561333e57600b5460405163031e79db60e41b81526001600160a01b038481166004830152610100909204909116906331e79db090602401600060405180830381600087803b15801561332557600080fd5b505af1158015613339573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6000600a60f883901c10156133a15761339860f883901c60306144b0565b60f81b92915050565b61339860f883901c60576144b0565b919050565b6001600160a01b0383166133db5760405162461bcd60e51b815260040161118190614414565b6001600160a01b0382166134015760405162461bcd60e51b815260040161118190614459565b6001600160a01b038316600090815260208190526040902054818110156134795760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401611181565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906134b0908490614050565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161186991815260200190565b600061350730611877565b90506000601e54601f5460205461351e9190614050565b6135289190614050565b9050811580613535575080155b1561353e575050565b6000600282602054856135519190614018565b61355b919061439a565b613565919061439a565b9050600061357384836137f0565b90504761357f82613832565b600061358b47836137f0565b905060006135b960026020546135a1919061439a565b6135ab908861427d565b601f54612e0f90859061372c565b905060006135e760026020546135cf919061439a565b6135d9908961427d565b601e54612e0f90869061372c565b90506000816135f6848661427d565b613600919061427d565b60006020819055601f819055601e55905086158015906136205750600081115b156136715761362f87826139f2565b60208054604080518981529283018490528201527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15b600b5460405160009161010090046001600160a01b03169084908381818185875af1925050503d80600081146136c3576040519150601f19603f3d011682016040523d82523d6000602084013e6136c8565b606091505b5050600c546040519192506001600160a01b0316904790600081818185875af1925050503d8060008114613718576040519150601f19603f3d011682016040523d82523d6000602084013e61371d565b606091505b50505050505050505050505050565b60008260000361373e57506000611151565b600061374a8385614018565b905082613757858361439a565b1461121e5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401611181565b600061121e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613acc565b600061121e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613b03565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061386757613867613e84565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061390991906144d5565b8160018151811061391c5761391c613e84565b60200260200101906001600160a01b031690816001600160a01b031681525050613967307f000000000000000000000000000000000000000000000000000000000000000084612600565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906139bc9085906000908690309042906004016144f2565b600060405180830381600087803b1580156139d657600080fd5b505af11580156139ea573d6000803e3d6000fd5b505050505050565b613a1d307f000000000000000000000000000000000000000000000000000000000000000084612600565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015261dead60848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015613aa7573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061144991906141f6565b60008183613aed5760405162461bcd60e51b81526004016111819190613b7d565b506000613afa848661439a565b95945050505050565b60008184841115613b275760405162461bcd60e51b81526004016111819190613b7d565b506000613afa848661427d565b600060208284031215613b4657600080fd5b5035919050565b60005b83811015613b68578181015183820152602001613b50565b83811115613b77576000848401525b50505050565b6020815260008251806020840152613b9c816040850160208701613b4d565b601f01601f19169190910160400192915050565b6001600160a01b0381168114611b7e57600080fd5b60008060408385031215613bd857600080fd5b8235613be381613bb0565b946020939093013593505050565b600060208284031215613c0357600080fd5b813561121e81613bb0565b60008060408385031215613c2157600080fd5b8235613c2c81613bb0565b91506020830135613c3c81613bb0565b809150509250929050565b600080600060608486031215613c5c57600080fd5b8335613c6781613bb0565b92506020840135613c7781613bb0565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600060208284031215613cb057600080fd5b813567ffffffffffffffff80821115613cc857600080fd5b818401915084601f830112613cdc57600080fd5b813581811115613cee57613cee613c88565b604051601f8201601f19908116603f01168101908382118183101715613d1657613d16613c88565b81604052828152876020848701011115613d2f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60008060408385031215613d6257600080fd5b823591506020830135613c3c81613bb0565b803580151581146133b057600080fd5b60008060408385031215613d9757600080fd5b8235613da281613bb0565b9150613db060208401613d74565b90509250929050565b600080600060608486031215613dce57600080fd5b505081359360208301359350604090920135919050565b600060208284031215613df757600080fd5b61121e82613d74565b600080600060408486031215613e1557600080fd5b833567ffffffffffffffff80821115613e2d57600080fd5b818601915086601f830112613e4157600080fd5b813581811115613e5057600080fd5b8760208260051b8501011115613e6557600080fd5b602092830195509350613e7b9186019050613d74565b90509250925092565b634e487b7160e01b600052603260045260246000fd5b600181811c90821680613eae57607f821691505b60208210810361113a57634e487b7160e01b600052602260045260246000fd5b60008251613ee0818460208701613b4d565b61016160f51b920191825250600201919050565b60008154613f0181613e9a565b60018281168015613f195760018114613f2e57613f5d565b60ff1984168752821515830287019450613f5d565b8560005260208060002060005b85811015613f545781548a820152908401908201613f3b565b50505082870194505b5050505092915050565b6000613f738284613ef4565b6101d160f51b81526002019392505050565b60008351613f97818460208801613b4d565b835190830190613fab818360208801613b4d565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b600060018201613fdc57613fdc613fb4565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600081600019048311821515161561403257614032613fb4565b500290565b60006020828403121561404957600080fd5b5051919050565b6000821982111561406357614063613fb4565b500190565b601f82111561278457600081815260208120601f850160051c8101602086101561408f5750805b601f850160051c820191505b818110156139ea5782815560010161409b565b815167ffffffffffffffff8111156140c8576140c8613c88565b6140dc816140d68454613e9a565b84614068565b602080601f83116001811461411157600084156140f95750858301515b600019600386901b1c1916600185901b1785556139ea565b600085815260208120601f198616915b8281101561414057888601518255948401946001909101908401614121565b508582101561415e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351614180818460208801613b4d565b613afa81840185613ef4565b600080600080600080600080610100898b0312156141a957600080fd5b88516141b481613bb0565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b60008060006060848603121561420b57600080fd5b8351925060208401519150604084015190509250925092565b6040808252810183905260008460608301825b8681101561426757823561424a81613bb0565b6001600160a01b0316825260209283019290910190600101614237565b5080925050508215156020830152949350505050565b60008282101561428f5761428f613fb4565b500390565b600181815b808511156142cf5781600019048211156142b5576142b5613fb4565b808516156142c257918102915b93841c9390800290614299565b509250929050565b6000826142e657506001611151565b816142f357506000611151565b816001811461430957600281146143135761432f565b6001915050611151565b60ff84111561432457614324613fb4565b50506001821b611151565b5060208310610133831016604e8410600b8410161715614352575081810a611151565b61435c8383614294565b806000190482111561437057614370613fb4565b029392505050565b600061121e83836142d7565b634e487b7160e01b600052601260045260246000fd5b6000826143a9576143a9614384565b500490565b600060ff8316806143c1576143c1614384565b8060ff84160491505092915050565b600060ff821660ff84168160ff048111821515161561437057614370613fb4565b600060ff821660ff84168082101561440b5761440b613fb4565b90039392505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6000826144ab576144ab614384565b500690565b600060ff821660ff84168060ff038211156144cd576144cd613fb4565b019392505050565b6000602082840312156144e757600080fd5b815161121e81613bb0565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156145425784516001600160a01b03168352938301939183019160010161451d565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220e0b97cf043cef2689b873ccdc4e90877c07f618bb5259e47bd71977d7f83a53f64736f6c634300080f003360c060405234801561001057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526002805460018101825560008281527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace90910180546001600160a01b03191673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4817905581546100d1576100d1610116565b600091825260209091200154600380546001600160a01b0319166001600160a01b03909216919091179055506104b060115569021e19e0c9bab240000060a05261012c565b634e487b7160e01b600052603260045260246000fd5b60805160a051611f90610166600039600081816104d10152610d3901526000818161022e0152818161121901526113050152611f906000f3fe6080604052600436106101dc5760003560e01c80639c53c0ca11610102578063e30443bc11610095578063e98030c711610064578063e98030c7146105ee578063f2fde38b1461060e578063fd5908471461062e578063ffb2c4791461064e57600080fd5b8063e30443bc14610553578063e6f083f414610573578063e7841ec0146105b9578063e7f4d2c3146105ce57600080fd5b8063be10b614116100d1578063be10b614146104bf578063c0f306ef146104f3578063cb83bcd614610513578063cc5489df1461053357600080fd5b80639c53c0ca1461043c578063ab6ddfa81461045c578063ad7a672f14610489578063bc4c4b371461049f57600080fd5b80634d6e5e021161017a5780637bb7bed1116101495780637bb7bed1146103835780638c503bf5146103a35780638da5cb5b1461040857806393fcfe611461042657600080fd5b80634d6e5e02146102eb5780634e7b827f146103185780636f2789ec14610358578063715018a61461036e57600080fd5b8063204f11a8116101b6578063204f11a814610268578063226cfa3d146102885780633009a609146102b557806331e79db0146102cb57600080fd5b806303c83302146101f057806309bbedde146101f85780631694505e1461021c57600080fd5b366101eb576101e9610689565b005b600080fd5b6101e9610689565b34801561020457600080fd5b50600a545b6040519081526020015b60405180910390f35b34801561022857600080fd5b506102507f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610213565b34801561027457600080fd5b50610209610283366004611bcc565b6108eb565b34801561029457600080fd5b506102096102a3366004611c05565b60106020526000908152604090205481565b3480156102c157600080fd5b50610209600e5481565b3480156102d757600080fd5b506101e96102e6366004611c05565b61092a565b3480156102f757600080fd5b50610209610306366004611c05565b60096020526000908152604090205481565b34801561032457600080fd5b50610348610333366004611c05565b600f6020526000908152604090205460ff1681565b6040519015158152602001610213565b34801561036457600080fd5b5061020960115481565b34801561037a57600080fd5b506101e96109cb565b34801561038f57600080fd5b5061025061039e366004611c22565b610a3f565b3480156103af57600080fd5b506103c36103be366004611c3b565b610a69565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610213565b34801561041457600080fd5b506000546001600160a01b0316610250565b34801561043257600080fd5b5061020960045481565b34801561044857600080fd5b506101e9610457366004611c05565b610ad9565b34801561046857600080fd5b50610209610477366004611c05565b60076020526000908152604090205481565b34801561049557600080fd5b5061020960085481565b3480156104ab57600080fd5b506103486104ba366004611c6e565b610ae7565b3480156104cb57600080fd5b506102097f000000000000000000000000000000000000000000000000000000000000000081565b3480156104ff57600080fd5b506101e961050e366004611c05565b610bd5565b34801561051f57600080fd5b5061020961052e366004611bcc565b610c6d565b34801561053f57600080fd5b5061020961054e366004611bcc565b610c79565b34801561055f57600080fd5b506101e961056e366004611c9c565b610ced565b34801561057f57600080fd5b5061020961058e366004611bcc565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156105c557600080fd5b50600e54610209565b3480156105da57600080fd5b50600354610250906001600160a01b031681565b3480156105fa57600080fd5b506101e9610609366004611c22565b610d9b565b34801561061a57600080fd5b506101e9610629366004611c05565b610f04565b34801561063a57600080fd5b506103c3610649366004611bcc565b610fee565b34801561065a57600080fd5b5061066e610669366004611c22565b6110d9565b60408051938452602084019290925290820152606001610213565b60006008541161069857600080fd5b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156106e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107059190611cc8565b60035490915061071f9034906001600160a01b03166111f6565b6003546040516370a0823160e01b81523060048201526000916107989184916001600160a01b0316906370a0823190602401602060405180830381865afa15801561076e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107929190611cc8565b9061137c565b90508015610874576008546107e0906107b583600160801b6113be565b6107bf9190611cf7565b6003546001600160a01b031660009081526001602052604090205490611440565b6003546001600160a01b0316600090815260016020908152604091829020929092555182815233917fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511910160405180910390a26003546001600160a01b03166000908152600960205260409020546108589082611440565b6003546001600160a01b03166000908152600960205260409020555b60025461088390600190611d19565b6004541461089e57600454610899906001611d30565b6108a1565b60005b6004819055506002600454815481106108bc576108bc611d48565b600091825260209091200154600380546001600160a01b0319166001600160a01b039092169190911790555050565b6001600160a01b038083166000908152600660209081526040808320938516835292905290812054610921906107928585610c79565b90505b92915050565b6000546001600160a01b0316331461095d5760405162461bcd60e51b815260040161095490611d5e565b60405180910390fd5b6001600160a01b0381166000908152600f60205260408120805460ff1916600117905561098b90829061149f565b61099481611538565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a250565b6000546001600160a01b031633146109f55760405162461bcd60e51b815260040161095490611d5e565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60028181548110610a4f57600080fd5b6000918252602090912001546001600160a01b0316905081565b600080600080600080600080610a7e600a5490565b8a10610aa3575060009650600019955085945086935083925082915081905080610acc565b6000610aae8b61166b565b9050610aba818b610fee565b98509850985098509850985098509850505b9295985092959890939650565b610ae3338261169e565b5050565b600080546001600160a01b03163314610b125760405162461bcd60e51b815260040161095490611d5e565b60008060005b600254811015610bcc57610b538660028381548110610b3957610b39611d48565b6000918252602090912001546001600160a01b031661169e565b92508215610bba576001600160a01b038616600081815260106020526040908190204290555186151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610bad9087815260200190565b60405180910390a3600191505b80610bc481611d93565b915050610b18565b50949350505050565b6000546001600160a01b03163314610bff5760405162461bcd60e51b815260040161095490611d5e565b6001600160a01b0381166000908152600f602052604090205460ff16610c2457600080fd5b6001600160a01b0381166000818152600f6020526040808220805460ff19169055517f40a78dcf8526b72f2eaf598af1c7e49c8d5fc577f6c8f1bed887f3e4dfa289329190a250565b600061092183836108eb565b6001600160a01b03808216600081815260056020908152604080832094871683529381528382205460078252848320549383526001909152928120549092600160801b92610ce392610cde9291610cd891610cd3916113be565b6117cb565b906117db565b611819565b6109219190611cf7565b6000546001600160a01b03163314610d175760405162461bcd60e51b815260040161095490611d5e565b6001600160a01b0382166000908152600f602052604090205460ff16610ae3577f00000000000000000000000000000000000000000000000000000000000000008110610d7757610d68828261149f565b610d72828261182c565b610d8b565b610d8282600061149f565b610d8b82611538565b610d96826001610ae7565b505050565b6000546001600160a01b03163314610dc55760405162461bcd60e51b815260040161095490611d5e565b6104b08110158015610dda5750620151808111155b610e5a5760405162461bcd60e51b815260206004820152604560248201527f4469766964656e645f547261636b65723a20636c61696d57616974206d75737460448201527f206265207570646174656420746f206265747765656e203120616e6420323420606482015264686f75727360d81b608482015260a401610954565b6011548103610ed15760405162461bcd60e51b815260206004820152603760248201527f4469766964656e645f547261636b65723a2043616e6e6f74207570646174652060448201527f636c61696d5761697420746f2073616d652076616c75650000000000000000006064820152608401610954565b60115460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601155565b6000546001600160a01b03163314610f2e5760405162461bcd60e51b815260040161095490611d5e565b6001600160a01b038116610f935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610954565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b816000808080808080611000886118ea565b965060001995506000871261106257600e5487111561102e57600e5461102790889061192f565b9550611062565b600e54600a5460009110611043576000611052565b600e54600a546110529161137c565b905061105e88826117db565b9650505b61106c888a6108eb565b9450611078888a610c79565b6001600160a01b0389166000908152601060205260409020549094509250826110a25760006110b0565b6011546110b0908490611440565b91504282116110c05760006110ca565b6110ca824261137c565b90509295985092959890939650565b600a54600090819081908082036110fb575050600e54600092508291506111ef565b600e546000805a90506000805b898410801561111657508582105b156111de578461112581611d93565b600a549096508610905061113857600094505b6000600a600001868154811061115057611150611d48565b60009182526020808320909101546001600160a01b031680835260109091526040909120549091506111819061196c565b156111a457611191816001610ae7565b156111a457816111a081611d93565b9250505b826111ae81611d93565b93505060005a9050808511156111d5576111d26111cb868361137c565b8790611440565b95505b93506111089050565b600e85905590975095509193505050505b9193909250565b6040805160028082526060820183526000926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611275573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112999190611dac565b816000815181106112ac576112ac611d48565b60200260200101906001600160a01b031690816001600160a01b03168152505081816001815181106112e0576112e0611d48565b6001600160a01b03928316602091820292909201015260405163b6f9de9560e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063b6f9de9590859061134590600090869030904290600401611dc9565b6000604051808303818588803b15801561135e57600080fd5b505af1158015611372573d6000803e3d6000fd5b5050505050505050565b600061092183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611993565b6000826000036113d057506000610924565b60006113dc8385611e33565b9050826113e98583611cf7565b146109215760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610954565b60008061144d8385611d30565b9050838110156109215760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610954565b6001600160a01b0382166000908152600760205260409020805490829055808211156114fb5760006114d1838361137c565b90506114dd84826119cd565b80600860008282546114ef9190611d30565b90915550610d96915050565b80821015610d9657600061150f828461137c565b905061151b8482611ad6565b806008600082825461152d9190611d19565b909155505050505050565b6001600160a01b0381166000908152600d602052604090205460ff1661155b5750565b6001600160a01b0381166000908152600d60209081526040808320805460ff19169055600b8252808320839055600c909152812054600a549091906115a290600190611d19565b90506000600a60000182815481106115bc576115bc611d48565b60009182526020808320909101546001600160a01b03908116808452600c90925260408084208790559087168352822091909155600a805491925082918590811061160957611609611d48565b600091825260209091200180546001600160a01b0319166001600160a01b0392909216919091179055600a80548061164357611643611e52565b600082815260209020810160001990810180546001600160a01b031916905501905550505050565b6000600a600001828154811061168357611683611d48565b6000918252602090912001546001600160a01b031692915050565b6000806116ab84846108eb565b905080156117c1576001600160a01b038085166000908152600660209081526040808320938716835292905220546116e39082611440565b6001600160a01b038086166000818152600660209081526040808320948916835293905282902092909255517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9061173e9084815260200190565b60405180910390a260405163a9059cbb60e01b81526001600160a01b0385811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af1158015611795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b99190611e68565b509050610924565b5060009392505050565b6000818181121561092457600080fd5b6000806117e88385611e85565b9050600083121580156117fb5750838112155b80611810575060008312801561181057508381125b61092157600080fd5b60008082121561182857600080fd5b5090565b6001600160a01b0382166000908152600d602052604090205460ff161561186a576001600160a01b03919091166000908152600b6020526040902055565b6001600160a01b0382166000818152600d60209081526040808320805460ff19166001908117909155600b8352818420869055600a8054600c909452918420839055820181559091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b03191690911790555050565b6001600160a01b0381166000908152600d602052604081205460ff166119135750600019919050565b506001600160a01b03166000908152600c602052604090205490565b60008061193c8385611ec6565b90506000831215801561194f5750838113155b806118105750600083128015611810575083811361092157600080fd5b60004282111561197e57506000919050565b60115461198b428461137c565b101592915050565b600081848411156119b75760405162461bcd60e51b81526004016109549190611f05565b5060006119c48486611d19565b95945050505050565b60005b600254811015610d9657611a78611a26610cd38460016000600287815481106119fb576119fb611d48565b60009182526020808320909101546001600160a01b03168352820192909252604001902054906113be565b6005600060028581548110611a3d57611a3d611d48565b60009182526020808320909101546001600160a01b03908116845283820194909452604092830182209389168252929092529020549061192f565b6005600060028481548110611a8f57611a8f611d48565b60009182526020808320909101546001600160a01b039081168452838201949094526040928301822093881682529290925290205580611ace81611d93565b9150506119d0565b60005b600254811015610d9657611b56611b04610cd38460016000600287815481106119fb576119fb611d48565b6005600060028581548110611b1b57611b1b611d48565b60009182526020808320909101546001600160a01b0390811684528382019490945260409283018220938916825292909252902054906117db565b6005600060028481548110611b6d57611b6d611d48565b60009182526020808320909101546001600160a01b039081168452838201949094526040928301822093881682529290925290205580611bac81611d93565b915050611ad9565b6001600160a01b0381168114611bc957600080fd5b50565b60008060408385031215611bdf57600080fd5b8235611bea81611bb4565b91506020830135611bfa81611bb4565b809150509250929050565b600060208284031215611c1757600080fd5b813561092181611bb4565b600060208284031215611c3457600080fd5b5035919050565b60008060408385031215611c4e57600080fd5b823591506020830135611bfa81611bb4565b8015158114611bc957600080fd5b60008060408385031215611c8157600080fd5b8235611c8c81611bb4565b91506020830135611bfa81611c60565b60008060408385031215611caf57600080fd5b8235611cba81611bb4565b946020939093013593505050565b600060208284031215611cda57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082611d1457634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611d2b57611d2b611ce1565b500390565b60008219821115611d4357611d43611ce1565b500190565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060018201611da557611da5611ce1565b5060010190565b600060208284031215611dbe57600080fd5b815161092181611bb4565b600060808201868352602060808185015281875180845260a086019150828901935060005b81811015611e135784516001600160a01b031683529383019391830191600101611dee565b50506001600160a01b039690961660408501525050506060015292915050565b6000816000190483118215151615611e4d57611e4d611ce1565b500290565b634e487b7160e01b600052603160045260246000fd5b600060208284031215611e7a57600080fd5b815161092181611c60565b600080821280156001600160ff1b0384900385131615611ea757611ea7611ce1565b600160ff1b8390038412811615611ec057611ec0611ce1565b50500190565b60008083128015600160ff1b850184121615611ee457611ee4611ce1565b6001600160ff1b0384018313811615611eff57611eff611ce1565b50500390565b600060208083528351808285015260005b81811015611f3257858101830151858201604001528201611f16565b81811115611f44576000604083870101525b50601f01601f191692909201604001939250505056fea2646970667358221220bee299984d6809c7aa91ea4a709e4f0920954e2ccd614d30d7f0b952dae30ddf64736f6c634300080f00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657200000000000000000000000093df3bb34dc27cbbbfba7799b82d3205c624654c
Deployed Bytecode
0x6080604052600436106104a25760003560e01c80637b6540b311610260578063b9e9370011610144578063d0a39814116100c1578063e884f26011610085578063e884f26014610e54578063e98030c714610e69578063ee40166e14610e89578063f2fde38b14610e9f578063f8b45b0514610ebf578063fa14224b14610ed557600080fd5b8063d0a3981414610db7578063dd62ed3e14610dcd578063e2f4560514610e13578063e2f5b7a314610e29578063e7841ec014610e3f57600080fd5b8063c18bc19511610108578063c18bc19514610d31578063c492f04614610d51578063c876d0b914610d71578063c8c8ebe414610d8b578063ccb6135814610da157600080fd5b8063b9e9370014610c9c578063bbc0c74214610cb2578063c024666814610cd1578063c0f306ef14610cf1578063c17b5b8c14610d1157600080fd5b8063924de9b7116101dd5780639c1b8af5116101a15780639c1b8af514610beb578063a26579ad14610c01578063a3faff8314610c16578063a457c2d714610c2c578063a9059cbb14610c4c578063b62496f514610c6c57600080fd5b8063924de9b714610b6057806392b5962614610b8057806395d89b4114610ba05780639a36f93214610bb55780639a7a23d614610bcb57600080fd5b806387217e411161022457806387217e4114610ae65780638a8c523c14610a665780638bced5c614610afc5780638da5cb5b14610b2c5780639052f9f314610b4a57600080fd5b80637b6540b314610a665780637fa787ba14610a7b5780638095d56414610a9057806386291c2614610ab0578063871c128d14610ac657600080fd5b80633950935111610387578063632459f011610304578063700bb191116102c8578063700bb191146109c757806370a08231146109e7578063715018a614610a0757806371778e7d14610a1c578063751039fc14610a315780637571336a14610a4657600080fd5b8063632459f0146108f757806364b0f6531461095c5780636843cd84146109715780636ddd1713146109915780636dee6169146109b157600080fd5b80634fc453c11161034b5780634fc453c11461084b5780635106bb62146108815780635645cd86146108a15780635ba2317a146108c15780635ef82ead146108e157600080fd5b8063395093511461076e5780633b3c97a41461078e57806349bd5a5e146107c45780634a62bb65146107f85780634fbee1931461081257600080fd5b806318160ddd116104205780632a8d38da116103e45780632a8d38da146106b75780632b268e58146106d75780632c1f5216146106ed5780632e39dadf14610712578063313ce5671461073257806331e79db01461074e57600080fd5b806318160ddd146106365780631a8145bb1461064b5780631fc851bd14610661578063204f11a81461067757806323b872dd1461069757600080fd5b8063099d0d3011610467578063099d0d30146105765780630f4432e31461059a578063106b5da1146105b057806310d5de53146105d25780631694505e1461060257600080fd5b80623ea938146104ae578063052bab26146104e457806306fdde031461051c57806307434cf914610531578063095ea7b31461054657600080fd5b366104a957005b600080fd5b3480156104ba57600080fd5b506104ce6104c9366004613b34565b610ef5565b6040516104db9190613b7d565b60405180910390f35b3480156104f057600080fd5b50600c54610504906001600160a01b031681565b6040516001600160a01b0390911681526020016104db565b34801561052857600080fd5b506104ce610fa4565b34801561053d57600080fd5b506104ce611036565b34801561055257600080fd5b50610566610561366004613bc5565b611140565b60405190151581526020016104db565b34801561058257600080fd5b5061058c60195481565b6040519081526020016104db565b3480156105a657600080fd5b5061058c60105481565b3480156105bc57600080fd5b506105d06105cb366004613b34565b611157565b005b3480156105de57600080fd5b506105666105ed366004613bf1565b60236020526000908152604090205460ff1681565b34801561060e57600080fd5b506105047f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561064257600080fd5b5060025461058c565b34801561065757600080fd5b5061058c60205481565b34801561066d57600080fd5b5061058c60125481565b34801561068357600080fd5b5061058c610692366004613c0e565b6111a2565b3480156106a357600080fd5b506105666106b2366004613c47565b611225565b3480156106c357600080fd5b506104ce6106d2366004613b34565b6112cf565b3480156106e357600080fd5b5061058c60085481565b3480156106f957600080fd5b50600b546105049061010090046001600160a01b031681565b34801561071e57600080fd5b506105d061072d366004613b34565b61137b565b34801561073e57600080fd5b50604051601281526020016104db565b34801561075a57600080fd5b506105d0610769366004613bf1565b6113bd565b34801561077a57600080fd5b50610566610789366004613bc5565b611450565b34801561079a57600080fd5b506105046107a9366004613b34565b6007602052600090815260409020546001600160a01b031681565b3480156107d057600080fd5b506105047f00000000000000000000000021cc32a186cf94127b0fc91ecee2683e0b4a637381565b34801561080457600080fd5b506013546105669060ff1681565b34801561081e57600080fd5b5061056661082d366004613bf1565b6001600160a01b031660009081526022602052604090205460ff1690565b34801561085757600080fd5b50610504610866366004613b34565b6000908152600760205260409020546001600160a01b031690565b34801561088d57600080fd5b506105d061089c366004613c9e565b61148c565b3480156108ad57600080fd5b5061058c6108bc366004613bf1565b611500565b3480156108cd57600080fd5b506104ce6108dc366004613bf1565b611575565b3480156108ed57600080fd5b5061058c60095481565b34801561090357600080fd5b50610917610912366004613d4f565b611629565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e0820152610100016104db565b34801561096857600080fd5b5061058c6116e9565b34801561097d57600080fd5b5061058c61098c366004613bf1565b611767565b34801561099d57600080fd5b506013546105669062010000900460ff1681565b3480156109bd57600080fd5b5061058c601b5481565b3480156109d357600080fd5b506105d06109e2366004613b34565b61179f565b3480156109f357600080fd5b5061058c610a02366004613bf1565b611877565b348015610a1357600080fd5b506105d0611892565b348015610a2857600080fd5b5061058c611906565b348015610a3d57600080fd5b5061056661195b565b348015610a5257600080fd5b506105d0610a61366004613d84565b6119a4565b348015610a7257600080fd5b506105d0611a2e565b348015610a8757600080fd5b506105d0611ac7565b348015610a9c57600080fd5b506105d0610aab366004613db9565b611b81565b348015610abc57600080fd5b5061058c601c5481565b348015610ad257600080fd5b506105d0610ae1366004613b34565b611bd7565b348015610af257600080fd5b5061058c60175481565b348015610b0857600080fd5b50610566610b17366004613bf1565b600a6020526000908152604090205460ff1681565b348015610b3857600080fd5b506005546001600160a01b0316610504565b348015610b5657600080fd5b5061058c601f5481565b348015610b6c57600080fd5b506105d0610b7b366004613de5565b611d1a565b348015610b8c57600080fd5b50610917610b9b366004613c0e565b611d60565b348015610bac57600080fd5b506104ce611db1565b348015610bc157600080fd5b5061058c6103e881565b348015610bd757600080fd5b506105d0610be6366004613d84565b611dc0565b348015610bf757600080fd5b5061058c60215481565b348015610c0d57600080fd5b5061058c611ea9565b348015610c2257600080fd5b5061058c60185481565b348015610c3857600080fd5b50610566610c47366004613bc5565b611efe565b348015610c5857600080fd5b50610566610c67366004613bc5565b611f97565b348015610c7857600080fd5b50610566610c87366004613bf1565b60246020526000908152604090205460ff1681565b348015610ca857600080fd5b5061058c601a5481565b348015610cbe57600080fd5b5060135461056690610100900460ff1681565b348015610cdd57600080fd5b506105d0610cec366004613d84565b611fa4565b348015610cfd57600080fd5b506105d0610d0c366004613bf1565b612026565b348015610d1d57600080fd5b506105d0610d2c366004613db9565b612088565b348015610d3d57600080fd5b506105d0610d4c366004613b34565b6120de565b348015610d5d57600080fd5b506105d0610d6c366004613e00565b612120565b348015610d7d57600080fd5b506015546105669060ff1681565b348015610d9757600080fd5b5061058c600d5481565b348015610dad57600080fd5b5061058c601d5481565b348015610dc357600080fd5b5061058c60165481565b348015610dd957600080fd5b5061058c610de8366004613c0e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610e1f57600080fd5b5061058c600e5481565b348015610e3557600080fd5b5061058c601e5481565b348015610e4b57600080fd5b5061058c6121fc565b348015610e6057600080fd5b50610566612251565b348015610e7557600080fd5b506105d0610e84366004613b34565b61228e565b348015610e9557600080fd5b5061058c60115481565b348015610eab57600080fd5b506105d0610eba366004613bf1565b6122ed565b348015610ecb57600080fd5b5061058c600f5481565b348015610ee157600080fd5b506105d0610ef0366004613bf1565b6123d8565b606060068281548110610f0a57610f0a613e84565b906000526020600020018054610f1f90613e9a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4b90613e9a565b8015610f985780601f10610f6d57610100808354040283529160200191610f98565b820191906000526020600020905b815481529060010190602001808311610f7b57829003601f168201915b50505050509050919050565b606060038054610fb390613e9a565b80601f0160208091040260200160405190810160405280929190818152602001828054610fdf90613e9a565b801561102c5780601f106110015761010080835404028352916020019161102c565b820191906000526020600020905b81548152906001019060200180831161100f57829003601f168201915b5050505050905090565b60408051602081019091526000808252606091905b60065481101561113a57801561107e578160405160200161106c9190613ece565b60405160208183030381529060405291505b60006006828154811061109357611093613e84565b906000526020600020016040516020016110ad9190613f67565b60408051601f1981840301815291815260008481526007602052205490915081906110e0906001600160a01b03166124c0565b6040516020016110f1929190613f85565b60405160208183030381529060405290508281604051602001611115929190613f85565b604051602081830303815290604052925050808061113290613fca565b91505061104b565b50919050565b600061114d338484612600565b5060015b92915050565b6005546001600160a01b0316331461118a5760405162461bcd60e51b815260040161118190613fe3565b60405180910390fd5b61119c81670de0b6b3a7640000614018565b600d5550565b600b54604051630409e23560e31b81526001600160a01b03848116600483015283811660248301526000926101009004169063204f11a890604401602060405180830381865afa1580156111fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121e9190614037565b9392505050565b6000611232848484612724565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156112b75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401611181565b6112c48533858403612600565b506001949350505050565b600681815481106112df57600080fd5b9060005260206000200160009150905080546112fa90613e9a565b80601f016020809104026020016040519081016040528092919081815260200182805461132690613e9a565b80156113735780601f1061134857610100808354040283529160200191611373565b820191906000526020600020905b81548152906001019060200180831161135657829003601f168201915b505050505081565b6005546001600160a01b031633146113a55760405162461bcd60e51b815260040161118190613fe3565b6113b781670de0b6b3a7640000614018565b60095550565b6005546001600160a01b031633146113e75760405162461bcd60e51b815260040161118190613fe3565b600b5460405163031e79db60e41b81526001600160a01b038381166004830152610100909204909116906331e79db0906024015b600060405180830381600087803b15801561143557600080fd5b505af1158015611449573d6000803e3d6000fd5b5050505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161114d918590611487908690614050565b612600565b6005546001600160a01b031633146114b65760405162461bcd60e51b815260040161118190613fe3565b60068054908290826114c6613e84565b9060005260206000200190816114dc91906140ae565b50600090815260076020526040902080546001600160a01b03191661dead17905550565b600b546040516326b72f0160e11b81526001600160a01b03838116600483015260009261010090041690634d6e5e02906024015b602060405180830381865afa158015611551573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111519190614037565b60608060005b600654811015611622576000818152600760205260409020546001600160a01b038086169116036116105780156115cf57816040516020016115bd9190613ece565b60405160208183030381529060405291505b81600682815481106115e3576115e3613e84565b906000526020600020016040516020016115fe92919061416e565b60405160208183030381529060405291505b8061161a81613fca565b91505061157b565b5092915050565b600080600080600080600080600b60019054906101000a90046001600160a01b03166001600160a01b0316638c503bf58b8b6040518363ffffffff1660e01b815260040161168a9291909182526001600160a01b0316602082015260400190565b61010060405180830381865afa1580156116a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116cc919061418c565b975097509750975097509750975097509295985092959890939650565b6000600b60019054906101000a90046001600160a01b03166001600160a01b03166309bbedde6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561173e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117629190614037565b905090565b600b5460405163156dbbf560e31b81526001600160a01b0383811660048301526000926101009004169063ab6ddfa890602401611534565b600b546040516001624d3b8760e01b03198152600481018390526000918291829161010090046001600160a01b03169063ffb2c479906024016060604051808303816000875af11580156117f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181b91906141f6565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a98906080015b60405180910390a350505050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146118bc5760405162461bcd60e51b815260040161118190613fe3565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6000600b60019054906101000a90046001600160a01b03166001600160a01b031663ad7a672f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561173e573d6000803e3d6000fd5b6005546000906001600160a01b031633146119885760405162461bcd60e51b815260040161118190613fe3565b506013805460ff19908116909155601580549091169055600190565b6005546001600160a01b031633146119ce5760405162461bcd60e51b815260040161118190613fe3565b6001600160a01b038216600081815260236020908152604091829020805460ff191685151590811790915591519182527f575f9d01836c9206322151b9e9ec3f2b77b87e71176933b9b44d2d732f768d9591015b60405180910390a25050565b6005546001600160a01b03163314611a585760405162461bcd60e51b815260040161118190613fe3565b601354610100900460ff1615611ab05760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f742072652d656e61626c652074726164696e6700000000000000006044820152606401611181565b6013805462ffff0019166201010017905543601155565b6005546001600160a01b03163314611af15760405162461bcd60e51b815260040161118190613fe3565b604051600090339047908381818185875af1925050503d8060008114611b33576040519150601f19603f3d011682016040523d82523d6000602084013e611b38565b606091505b5050905080611b7e5760405162461bcd60e51b81526020600482015260126024820152716661696c656420746f20776974686472617760701b6044820152606401611181565b50565b6005546001600160a01b03163314611bab5760405162461bcd60e51b815260040161118190613fe3565b601c839055601b829055601d81905580611bc58385614050565b611bcf9190614050565b601a55505050565b6005546001600160a01b03163314611c015760405162461bcd60e51b815260040161118190613fe3565b62030d408110158015611c1757506207a1208111155b611c815760405162461bcd60e51b815260206004820152603560248201527f20676173466f7250726f63657373696e67206d7573742062652062657477656560448201527406e203230302c30303020616e64203530302c30303605c1b6064820152608401611181565b6021548103611ce75760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f742075706461746520676173466f7250726f63657373696e67207460448201526b6f2073616d652076616c756560a01b6064820152608401611181565b60215460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3602155565b6005546001600160a01b03163314611d445760405162461bcd60e51b815260040161118190613fe3565b60138054911515620100000262ff000019909216919091179055565b600b5460405163fd59084760e01b81526001600160a01b038481166004830152838116602483015260009283928392839283928392839283926101009091049091169063fd5908479060440161168a565b606060048054610fb390613e9a565b6005546001600160a01b03163314611dea5760405162461bcd60e51b815260040161118190613fe3565b7f00000000000000000000000021cc32a186cf94127b0fc91ecee2683e0b4a63736001600160a01b0316826001600160a01b031603611e9b5760405162461bcd60e51b815260206004820152604160248201527f54686520556e697377617020706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a401611181565b611ea582826132a4565b5050565b6000600b60019054906101000a90046001600160a01b03166001600160a01b0316636f2789ec6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561173e573d6000803e3d6000fd5b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015611f805760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401611181565b611f8d3385858403612600565b5060019392505050565b600061114d338484612724565b6005546001600160a01b03163314611fce5760405162461bcd60e51b815260040161118190613fe3565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101611a22565b6005546001600160a01b031633146120505760405162461bcd60e51b815260040161118190613fe3565b600b5460405163c0f306ef60e01b81526001600160a01b0383811660048301526101009092049091169063c0f306ef9060240161141b565b6005546001600160a01b031633146120b25760405162461bcd60e51b815260040161118190613fe3565b601883905560178290556019819055806120cc8385614050565b6120d69190614050565b601655505050565b6005546001600160a01b031633146121085760405162461bcd60e51b815260040161118190613fe3565b61211a81670de0b6b3a7640000614018565b600f5550565b6005546001600160a01b0316331461214a5760405162461bcd60e51b815260040161118190613fe3565b60005b828110156121bb57816022600086868581811061216c5761216c613e84565b90506020020160208101906121819190613bf1565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806121b381613fca565b91505061214d565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358383836040516121ef93929190614224565b60405180910390a1505050565b6000600b60019054906101000a90046001600160a01b03166001600160a01b031663e7841ec06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561173e573d6000803e3d6000fd5b6005546000906001600160a01b0316331461227e5760405162461bcd60e51b815260040161118190613fe3565b506015805460ff19169055600190565b6005546001600160a01b031633146122b85760405162461bcd60e51b815260040161118190613fe3565b600b5460405163e98030c760e01b8152600481018390526101009091046001600160a01b03169063e98030c79060240161141b565b6005546001600160a01b031633146123175760405162461bcd60e51b815260040161118190613fe3565b6001600160a01b03811661237c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611181565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146124025760405162461bcd60e51b815260040161118190613fe3565b6001600160a01b0381166124585760405162461bcd60e51b815260206004820152601860248201527f6d6179206e6f742073657420746f2030206164647265737300000000000000006044820152606401611181565b612463816001611fa4565b600c546040516001600160a01b03918216918316907fa3453f6e9fef932873d216ded4798362dce4c21a733d27af7aa165d2124d548a90600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60408051602880825260608281019093526000919060208201818036833701905050905060005b60148110156116225760006124fd82601361427d565b612508906008614018565b612513906002614378565b612526906001600160a01b03871661439a565b60f81b9050600060108260f81c61253d91906143ae565b60f81b905060008160f81c601061255491906143d0565b8360f81c61256291906143f1565b60f81b90506125708261337a565b8561257c866002614018565b8151811061258c5761258c613e84565b60200101906001600160f81b031916908160001a9053506125ac8161337a565b856125b8866002614018565b6125c3906001614050565b815181106125d3576125d3613e84565b60200101906001600160f81b031916908160001a90535050505080806125f890613fca565b9150506124e7565b6001600160a01b0383166126625760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401611181565b6001600160a01b0382166126c35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401611181565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661274a5760405162461bcd60e51b815260040161118190614414565b6001600160a01b0382166127705760405162461bcd60e51b815260040161118190614459565b8060000361278957612784838360006133b5565b505050565b601354610100900460ff16612823576001600160a01b03831660009081526022602052604090205460ff16806127d757506001600160a01b03821660009081526022602052604090205460ff165b6128235760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420616374697665207965742e0000000000006044820152606401611181565b60135460ff1615612c20576005546001600160a01b0384811691161480159061285a57506005546001600160a01b03838116911614155b801561286e57506001600160a01b03821615155b801561288557506001600160a01b03821661dead14155b80156128945750600b5460ff16155b15612c205760155460ff16156129c6577f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b03161415801561291857507f00000000000000000000000021cc32a186cf94127b0fc91ecee2683e0b4a63736001600160a01b0316826001600160a01b031614155b156129c6573260009081526014602052604090205443116129b35760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401611181565b3260009081526014602052604090204390555b6001600160a01b03831660009081526024602052604090205460ff168015612a0757506001600160a01b03821660009081526023602052604090205460ff16155b15612ae557600d54811115612a7c5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401611181565b600f54612a8883611877565b612a929083614050565b1115612ae05760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401611181565b612c20565b6001600160a01b03821660009081526024602052604090205460ff168015612b2657506001600160a01b03831660009081526023602052604090205460ff16155b15612b9c57600d54811115612ae05760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401611181565b6001600160a01b03821660009081526023602052604090205460ff16612c2057600f54612bc883611877565b612bd29083614050565b1115612c205760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401611181565b6000612c2b30611877565b600e5490915081108015908190612c4a575060135462010000900460ff165b8015612c595750600b5460ff16155b8015612c7e57506001600160a01b03851660009081526024602052604090205460ff16155b8015612ca357506001600160a01b03851660009081526022602052604090205460ff16155b8015612cc857506001600160a01b03841660009081526022602052604090205460ff16155b15612ced57600b805460ff19166001179055612ce26134fc565b600b805460ff191690555b600b546001600160a01b03861660009081526022602052604090205460ff91821615911680612d3457506001600160a01b03851660009081526022602052604090205460ff165b15612d3d575060005b600081156130ae576001600160a01b03861660009081526024602052604090205460ff168015612d6f57506000601654115b15612eae5760005b600654811015612dd5576000818152600760205260409020546001600160a01b03808a16911603612dc357600081815260076020526040902080546001600160a01b03191661dead1790555b80612dcd81613fca565b915050612d77565b506001600160a01b0387166000908152600a60205260409020805460ff19166001179055601654612e15906103e890612e0f90889061372c565b906137ae565b905060165460175482612e289190614018565b612e32919061439a565b601e6000828254612e439190614050565b9091555050601654601954612e589083614018565b612e62919061439a565b60206000828254612e739190614050565b9091555050601654601854612e889083614018565b612e92919061439a565b601f6000828254612ea39190614050565b909155506130909050565b6001600160a01b03871660009081526024602052604090205460ff168015612ed857506000601a54115b15613090576009548510613090576001600160a01b0386166000908152600a602052604090205460ff16612fe1576000805b600654811015612f77576000818152600760205260409020546001600160a01b031661deac1901612f6557600081815260076020526040902080546001600160a01b0319166001600160a01b038a1617905560019150612f77565b80612f6f81613fca565b915050612f0a565b5080612fc7576006546008548891600791600091612f949161449c565b815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b600160086000828254612fda9190614050565b9091555050505b612ffc6103e8612e0f601a548861372c90919063ffffffff16565b9050601a54601b548261300f9190614018565b613019919061439a565b601e600082825461302a9190614050565b9091555050601a54601d5461303f9083614018565b613049919061439a565b6020600082825461305a9190614050565b9091555050601a54601c5461306f9083614018565b613079919061439a565b601f600082825461308a9190614050565b90915550505b80156130a1576130a18730836133b5565b6130ab818661427d565b94505b6130b98787876133b5565b600b5461010090046001600160a01b031663e30443bc886130d981611877565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561311f57600080fd5b505af1158015613133573d6000803e3d6000fd5b5050600b5461010090046001600160a01b0316915063e30443bc90508761315981611877565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561319f57600080fd5b505af11580156131b3573d6000803e3d6000fd5b5050600b5460ff161591505080156131cd57506000602154115b1561329b57602154600b546040516001624d3b8760e01b03198152600481018390526101009091046001600160a01b03169063ffb2c479906024016060604051808303816000875af1925050508015613243575060408051601f3d908101601f19168201909252613240918101906141f6565b60015b156132995760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b50505050505050565b6001600160a01b0382166000908152602460205260409020805460ff19168215151790556132d282826119a4565b801561333e57600b5460405163031e79db60e41b81526001600160a01b038481166004830152610100909204909116906331e79db090602401600060405180830381600087803b15801561332557600080fd5b505af1158015613339573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6000600a60f883901c10156133a15761339860f883901c60306144b0565b60f81b92915050565b61339860f883901c60576144b0565b919050565b6001600160a01b0383166133db5760405162461bcd60e51b815260040161118190614414565b6001600160a01b0382166134015760405162461bcd60e51b815260040161118190614459565b6001600160a01b038316600090815260208190526040902054818110156134795760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401611181565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906134b0908490614050565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161186991815260200190565b600061350730611877565b90506000601e54601f5460205461351e9190614050565b6135289190614050565b9050811580613535575080155b1561353e575050565b6000600282602054856135519190614018565b61355b919061439a565b613565919061439a565b9050600061357384836137f0565b90504761357f82613832565b600061358b47836137f0565b905060006135b960026020546135a1919061439a565b6135ab908861427d565b601f54612e0f90859061372c565b905060006135e760026020546135cf919061439a565b6135d9908961427d565b601e54612e0f90869061372c565b90506000816135f6848661427d565b613600919061427d565b60006020819055601f819055601e55905086158015906136205750600081115b156136715761362f87826139f2565b60208054604080518981529283018490528201527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15b600b5460405160009161010090046001600160a01b03169084908381818185875af1925050503d80600081146136c3576040519150601f19603f3d011682016040523d82523d6000602084013e6136c8565b606091505b5050600c546040519192506001600160a01b0316904790600081818185875af1925050503d8060008114613718576040519150601f19603f3d011682016040523d82523d6000602084013e61371d565b606091505b50505050505050505050505050565b60008260000361373e57506000611151565b600061374a8385614018565b905082613757858361439a565b1461121e5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401611181565b600061121e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613acc565b600061121e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613b03565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061386757613867613e84565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061390991906144d5565b8160018151811061391c5761391c613e84565b60200260200101906001600160a01b031690816001600160a01b031681525050613967307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84612600565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906139bc9085906000908690309042906004016144f2565b600060405180830381600087803b1580156139d657600080fd5b505af11580156139ea573d6000803e3d6000fd5b505050505050565b613a1d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84612600565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015261dead60848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015613aa7573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061144991906141f6565b60008183613aed5760405162461bcd60e51b81526004016111819190613b7d565b506000613afa848661439a565b95945050505050565b60008184841115613b275760405162461bcd60e51b81526004016111819190613b7d565b506000613afa848661427d565b600060208284031215613b4657600080fd5b5035919050565b60005b83811015613b68578181015183820152602001613b50565b83811115613b77576000848401525b50505050565b6020815260008251806020840152613b9c816040850160208701613b4d565b601f01601f19169190910160400192915050565b6001600160a01b0381168114611b7e57600080fd5b60008060408385031215613bd857600080fd5b8235613be381613bb0565b946020939093013593505050565b600060208284031215613c0357600080fd5b813561121e81613bb0565b60008060408385031215613c2157600080fd5b8235613c2c81613bb0565b91506020830135613c3c81613bb0565b809150509250929050565b600080600060608486031215613c5c57600080fd5b8335613c6781613bb0565b92506020840135613c7781613bb0565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600060208284031215613cb057600080fd5b813567ffffffffffffffff80821115613cc857600080fd5b818401915084601f830112613cdc57600080fd5b813581811115613cee57613cee613c88565b604051601f8201601f19908116603f01168101908382118183101715613d1657613d16613c88565b81604052828152876020848701011115613d2f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60008060408385031215613d6257600080fd5b823591506020830135613c3c81613bb0565b803580151581146133b057600080fd5b60008060408385031215613d9757600080fd5b8235613da281613bb0565b9150613db060208401613d74565b90509250929050565b600080600060608486031215613dce57600080fd5b505081359360208301359350604090920135919050565b600060208284031215613df757600080fd5b61121e82613d74565b600080600060408486031215613e1557600080fd5b833567ffffffffffffffff80821115613e2d57600080fd5b818601915086601f830112613e4157600080fd5b813581811115613e5057600080fd5b8760208260051b8501011115613e6557600080fd5b602092830195509350613e7b9186019050613d74565b90509250925092565b634e487b7160e01b600052603260045260246000fd5b600181811c90821680613eae57607f821691505b60208210810361113a57634e487b7160e01b600052602260045260246000fd5b60008251613ee0818460208701613b4d565b61016160f51b920191825250600201919050565b60008154613f0181613e9a565b60018281168015613f195760018114613f2e57613f5d565b60ff1984168752821515830287019450613f5d565b8560005260208060002060005b85811015613f545781548a820152908401908201613f3b565b50505082870194505b5050505092915050565b6000613f738284613ef4565b6101d160f51b81526002019392505050565b60008351613f97818460208801613b4d565b835190830190613fab818360208801613b4d565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b600060018201613fdc57613fdc613fb4565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600081600019048311821515161561403257614032613fb4565b500290565b60006020828403121561404957600080fd5b5051919050565b6000821982111561406357614063613fb4565b500190565b601f82111561278457600081815260208120601f850160051c8101602086101561408f5750805b601f850160051c820191505b818110156139ea5782815560010161409b565b815167ffffffffffffffff8111156140c8576140c8613c88565b6140dc816140d68454613e9a565b84614068565b602080601f83116001811461411157600084156140f95750858301515b600019600386901b1c1916600185901b1785556139ea565b600085815260208120601f198616915b8281101561414057888601518255948401946001909101908401614121565b508582101561415e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351614180818460208801613b4d565b613afa81840185613ef4565b600080600080600080600080610100898b0312156141a957600080fd5b88516141b481613bb0565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b60008060006060848603121561420b57600080fd5b8351925060208401519150604084015190509250925092565b6040808252810183905260008460608301825b8681101561426757823561424a81613bb0565b6001600160a01b0316825260209283019290910190600101614237565b5080925050508215156020830152949350505050565b60008282101561428f5761428f613fb4565b500390565b600181815b808511156142cf5781600019048211156142b5576142b5613fb4565b808516156142c257918102915b93841c9390800290614299565b509250929050565b6000826142e657506001611151565b816142f357506000611151565b816001811461430957600281146143135761432f565b6001915050611151565b60ff84111561432457614324613fb4565b50506001821b611151565b5060208310610133831016604e8410600b8410161715614352575081810a611151565b61435c8383614294565b806000190482111561437057614370613fb4565b029392505050565b600061121e83836142d7565b634e487b7160e01b600052601260045260246000fd5b6000826143a9576143a9614384565b500490565b600060ff8316806143c1576143c1614384565b8060ff84160491505092915050565b600060ff821660ff84168160ff048111821515161561437057614370613fb4565b600060ff821660ff84168082101561440b5761440b613fb4565b90039392505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6000826144ab576144ab614384565b500690565b600060ff821660ff84168060ff038211156144cd576144cd613fb4565b019392505050565b6000602082840312156144e757600080fd5b815161121e81613bb0565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156145425784516001600160a01b03168352938301939183019160010161451d565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220e0b97cf043cef2689b873ccdc4e90877c07f618bb5259e47bd71977d7f83a53f64736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000093df3bb34dc27cbbbfba7799b82d3205c624654c
-----Decoded View---------------
Arg [0] : harbringer (address): 0x93Df3bB34Dc27CBbBFBa7799B82d3205c624654c
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000093df3bb34dc27cbbbfba7799b82d3205c624654c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.