ERC-20
Overview
Max Total Supply
134,748,442.362905063702690367 4TOKEN
Holders
178
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$66.11
Circulating Supply Market Cap
$11,028.15
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000440223273 4TOKENValue
$0.00 ( ~0 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | ![]() | 0X98564E70C7FCC6D947FFE6D9EFED5BA68B306F2E-0X40375C92D9FAF44D2F9DB9BD9BA41A3317A2404F | $0.00 0.0000000 Eth | $3.07 6,010,116.727 0X98564E70C7FCC6D947FFE6D9EFED5BA68B306F2E | 428.1485% |
2 | ![]() | 0X61B83EDF87EA662C695439A807C386455C9E797C-0XBB4CDB9CBD36B01BD1CBAEBF2DE08D9173BC095C | $0.00 0.0000000 Eth | $0.9237 1,403,745.819 0X61B83EDF87EA662C695439A807C386455C9E797C | 100.0000% |
This contract contains unverified libraries: IterableMapping
Contract Source Code Verified (Exact Match)
Contract Name:
IgnoreFudETH
Compiler Version
v0.6.2+commit.bacdbe57
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; import './ERC20.sol'; import './Ownable.sol'; import './SafeMath.sol'; import './IUniswapV2Router02.sol'; import './IUniswapV2Factory.sol'; import './DividendTracker.sol'; contract IgnoreFudETH is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; // Using current standard DEX Router Interface address public uniswapV2Pair; bool private swapping; IgnoreFudDividendTracker public dividendTracker; address constant public deadWallet = 0x000000000000000000000000000000000000dEaD; address public fundWallet; address public MINTER; address public RewardToken = address(0xdAC17F958D2ee523a2206206994597C13D831ec7); //RewardToken uint256 public swapTokensAtAmount; uint256 public RewardTokenFee = 3; uint256 public liquidityFee = 2; uint256 public burnFee = 2; uint256 public ecoSystemFee = 1; uint256 public totalFees = RewardTokenFee.add(liquidityFee).add(burnFee).add(ecoSystemFee); uint lastAddedTokens; uint lastAddedETH; uint lastAddedLiquidity; //address public _marketingWalletAddress = address(0); // use by default 300,000 gas to process auto-claiming dividends uint256 public gasForProcessing = 300000; // exlcude from fees and max transaction amount mapping (address => bool) private _isExcludedFromFees; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping (address => bool) public automatedMarketMakerPairs; event UpdateDividendTracker(address indexed newAddress, address indexed oldAddress); event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event LiquidityWalletUpdated(address indexed newLiquidityWallet, address indexed oldLiquidityWallet); event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); event SwapAndSendFunds(uint256 tokens, address wallet); event SendDividends( uint256 tokensSwapped, uint256 amount ); event ProcessedDividendTracker( uint256 iterations, uint256 claims, uint256 lastProcessedIndex, bool indexed automatic, uint256 gas, address indexed processor ); event RewardTokenFeeUpdated(uint256 indexed newRewardTokenFee); event LiquidityFeeUpdated(uint256 indexed newLiquidityFee); event EcoSystemFeeUpdated(uint256 indexed newEcoSystemFee); event BurnFeeUpdated(uint256 indexed newBurnFee); constructor(address payable _fundWallet, address _minter) public ERC20("Ignore Fud", "4TOKEN") { fundWallet = _fundWallet; MINTER = _minter; dividendTracker = new IgnoreFudDividendTracker(); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0xf164fC0Ec4E93095b804a4795bBe1e041497b92a); // Create a uniswap pair for this new token address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); swapTokensAtAmount = 4 * 10**6 * (10**18); // exclude from receiving dividends dividendTracker.excludeFromDividends(address(dividendTracker)); dividendTracker.excludeFromDividends(address(this)); dividendTracker.excludeFromDividends(owner()); dividendTracker.excludeFromDividends(deadWallet); dividendTracker.excludeFromDividends(address(0)); dividendTracker.excludeFromDividends(address(_fundWallet)); dividendTracker.excludeFromDividends(address(_uniswapV2Router)); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(_fundWallet), true); } receive() external payable { } modifier onlyMinter(){ require(_msgSender()==MINTER,"Must be the minter!"); _; } function updateDividendTracker(address newAddress) public onlyOwner { require(newAddress != address(dividendTracker), "IgnoreFud: The dividend tracker already has that address"); IgnoreFudDividendTracker newDividendTracker = IgnoreFudDividendTracker(payable(newAddress)); require(newDividendTracker.owner() == address(this), "IgnoreFud: The new dividend tracker must be owned by the IgnoreFud token contract"); newDividendTracker.excludeFromDividends(address(newDividendTracker)); newDividendTracker.excludeFromDividends(address(this)); newDividendTracker.excludeFromDividends(owner()); newDividendTracker.excludeFromDividends(address(uniswapV2Router)); newDividendTracker.excludeFromDividends(deadWallet); newDividendTracker.excludeFromDividends(address(0)); newDividendTracker.excludeFromDividends(address(fundWallet)); emit UpdateDividendTracker(newAddress, address(dividendTracker)); dividendTracker = newDividendTracker; } function updateUniswapV2Router(address newAddress) public onlyOwner { require(newAddress != address(uniswapV2Router), "IgnoreFud: The router already has that address"); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()) .createPair(address(this), uniswapV2Router.WETH()); uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(uniswapV2Pair, true); //Not working in constructor dividendTracker.excludeFromDividends(address(uniswapV2Router)); //Not working in constructor } function excludeFromFees(address account, bool excluded) public onlyOwner { require(_isExcludedFromFees[account] != excluded, "IgnoreFud: Account is already the value of 'excluded'"); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeMultipleAccountsFromFees(address[] memory accounts, bool excluded) public onlyOwner { for(uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; } emit ExcludeMultipleAccountsFromFees(accounts, excluded); } function mint(address payable to, uint256 amount) external onlyMinter { _mint(to, amount); try dividendTracker.setBalance(payable(to), balanceOf(to)) {} catch { revert("Couldn't set balance"); } } function burn(address payable from, uint256 amount) external onlyMinter { _burn(from, amount); try dividendTracker.setBalance(payable(from), balanceOf(from)) {} catch { revert("Couldn't set balance"); } } function setRewardTokenFee(uint256 value) external onlyOwner{ require(value.add(liquidityFee).add(burnFee).add(ecoSystemFee)<=8,"IgnoreFud: Maximum tax is 8%"); RewardTokenFee = value; totalFees = RewardTokenFee.add(liquidityFee).add(burnFee).add(ecoSystemFee); emit RewardTokenFeeUpdated(value); } function setLiquidityFee(uint256 value) external onlyOwner{ require(RewardTokenFee.add(value).add(burnFee).add(ecoSystemFee)<=8,"IgnoreFud: Maximum tax is 8%"); liquidityFee = value; totalFees = RewardTokenFee.add(liquidityFee).add(burnFee).add(ecoSystemFee); emit LiquidityFeeUpdated(value); } function setEcoSystemFee(uint256 value) external onlyOwner{ require(RewardTokenFee.add(liquidityFee).add(burnFee).add(value)<=8,"IgnoreFud: Maximum tax is 8%"); ecoSystemFee = value; totalFees = RewardTokenFee.add(liquidityFee).add(burnFee).add(ecoSystemFee); emit EcoSystemFeeUpdated(value); } function setBurnFee(uint256 value) external onlyOwner{ require(RewardTokenFee.add(liquidityFee).add(value).add(ecoSystemFee)<=8,"IgnoreFud: Maximum tax is 8%"); burnFee = value; totalFees = RewardTokenFee.add(liquidityFee).add(burnFee).add(ecoSystemFee); emit BurnFeeUpdated(value); } function setSwapLimit(uint256 value) external onlyOwner{ swapTokensAtAmount = value*(10**18); } // We are planning to change the reward token on community voting. function setRewardToken(address _rewardToken) external onlyOwner{ RewardToken = _rewardToken; dividendTracker.updateRewardToken(_rewardToken); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "IgnoreFud: The IgnoreFud-BNB pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require(automatedMarketMakerPairs[pair] != value, "IgnoreFud: Automated market maker pair is already set to that value"); automatedMarketMakerPairs[pair] = value; if(value) { dividendTracker.excludeFromDividends(pair); } emit SetAutomatedMarketMakerPair(pair, value); } function updateGasForProcessing(uint256 newValue) public onlyOwner { require(newValue >= 200000 && newValue <= 500000, "IgnoreFud: gasForProcessing must be between 200,000 and 500,000"); require(newValue != gasForProcessing, "IgnoreFud: 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() external view returns (uint256) { return dividendTracker.totalDividendsDistributed(); } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } function withdrawableDividendOf(address account) public view returns(uint256) { return dividendTracker.withdrawableDividendOf(account); } function dividendTokenBalanceOf(address account) public view returns (uint256) { return dividendTracker.balanceOf(account); } function excludeFromDividends(address account) external onlyOwner{ dividendTracker.excludeFromDividends(account); } function getAccountDividendsInfo(address account) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccount(account); } function getAccountDividendsInfoAtIndex(uint256 index) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccountAtIndex(index); } function processDividendTracker(uint256 gas) external { (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) = dividendTracker.process(gas); emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, false, gas, tx.origin); } function claim() external { require(dividendTracker.processAccount(msg.sender, false),"No rewards to claim!"); } function getLastProcessedIndex() external view returns(uint256) { return dividendTracker.getLastProcessedIndex(); } function getNumberOfDividendTokenHolders() external view returns(uint256) { return dividendTracker.getNumberOfTokenHolders(); } 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; } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if( canSwap && !swapping && !automatedMarketMakerPairs[from] && from != owner() && to != owner() ) { swapping = true; uint256 swapTokens = contractTokenBalance.mul(liquidityFee).div(totalFees); uint256 burnTokens = contractTokenBalance.mul(burnFee).div(totalFees); uint256 ecoSystemTokens = contractTokenBalance.mul(ecoSystemFee).div(totalFees); swapAndLiquify(swapTokens); swapAndSendForFunds(ecoSystemTokens); _burn(address(this),burnTokens); uint256 sellTokens = balanceOf(address(this)); swapAndSendDividends(sellTokens); swapping = false; } bool takeFee; if( automatedMarketMakerPairs[to]) { takeFee = true; } else{ takeFee = false; } // if any account belongs to _isExcludedFromFee account then remove the fee if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if(takeFee) { uint256 fees = amount.mul(totalFees).div(100); amount = amount.sub(fees); super._transfer(from, address(this), fees); } super._transfer(from, to, amount); try dividendTracker.setBalance(payable(from), balanceOf(from)) {} catch { // No action is implemented here because if the process failed then the token will be transferred and // dividends will be processed at next transfer as the processing dividends is integrated into this function. } try dividendTracker.setBalance(payable(to), balanceOf(to)) {} catch { // No action is implemented here because if the process failed then the token will be transferred and // dividends will be processed at next transfer as the processing dividends is integrated into this function. } if(!swapping) { uint256 gas = gasForProcessing; try dividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) { emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin); } catch { // No action is implemented here because if the process failed then the token will be transferred and // dividends will be processed at next transfer. } } } function swapAndLiquify(uint256 tokens) private { // split the contract balance into halves uint256 half = tokens.div(2); uint256 otherHalf = tokens.sub(half); uint256 ethBalanceBefore = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // <- this breaks the ETH -> IgnoreFud swap when swap+liquify is triggered uint256 ethBalanceAfter = address(this).balance; // how much ETH did we just swap into? uint256 newBalanceETH = ethBalanceAfter.sub(ethBalanceBefore); // add liquidity to uniswap addLiquidity(half, newBalanceETH); emit SwapAndLiquify(half, newBalanceETH, otherHalf); } function swapAndSendForFunds(uint256 tokens) private { // generate the uniswap pair path of weth -> token address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokens); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokens, 0, // accept any amount of ETH path, fundWallet, block.timestamp ); emit SwapAndSendFunds(tokens, fundWallet); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function sweep(uint256 ethAmount) external onlyOwner { (bool success,) = fundWallet.call{value:ethAmount}(new bytes(0)); require(success, 'ETH_TRANSFER_FAILED'); } function swapTokensForRewardToken(uint256 tokenAmount) private { address[] memory path = new address[](3); path[0] = address(this); path[1] = uniswapV2Router.WETH(); path[2] = RewardToken; _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of Tokens path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity (lastAddedTokens, lastAddedETH, lastAddedLiquidity)=uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(0), block.timestamp ); } function swapAndSendDividends(uint256 tokens) private{ swapTokensForRewardToken(tokens); uint256 dividends = IERC20(RewardToken).balanceOf(address(this)); bool success = IERC20(RewardToken).transfer(address(dividendTracker), dividends); if (success) { dividendTracker.distributeRewardTokenDividends(dividends); emit SendDividends(tokens, dividends); } } }
pragma solidity >=0.6.0 <0.8.0; /** * @title SafeMathUint * @dev Math operations with safety checks that revert on error */ library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } }
pragma solidity >=0.6.0 <0.8.0; /** * @title SafeMathInt * @dev Math operations with safety checks that revert on error * @dev SafeMath adapted for int256 * Based on code of https://github.com/RequestNetwork/requestNetwork/blob/master/packages/requestNetworkSmartContracts/contracts/base/math/SafeMathInt.sol */ library SafeMathInt { function mul(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when multiplying INT256_MIN with -1 // https://github.com/RequestNetwork/requestNetwork/issues/43 require(!(a == - 2**255 && b == -1) && !(b == - 2**255 && a == -1)); int256 c = a * b; require((b == 0) || (c / b == a)); return c; } function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing INT256_MIN by -1 // https://github.com/RequestNetwork/requestNetwork/issues/43 require(!(a == - 2**255 && b == -1) && (b > 0)); return a / b; } function sub(int256 a, int256 b) internal pure returns (int256) { require((b >= 0 && a - b <= a) || (b < 0 && a - b > a)); return a - b; } 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 toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } }
pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
pragma solidity >=0.6.0 <0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
pragma solidity ^0.6.2; library IterableMapping { // Iterable mapping from address to uint; struct Map { address[] keys; mapping(address => uint) values; mapping(address => uint) indexOf; mapping(address => bool) inserted; } function get(Map storage map, address key) public view returns (uint) { return map.values[key]; } function getIndexOfKey(Map storage map, address key) public view returns (int) { if(!map.inserted[key]) { return -1; } return int(map.indexOf[key]); } function getKeyAtIndex(Map storage map, uint index) public view returns (address) { return map.keys[index]; } function size(Map storage map) public view returns (uint) { return map.keys.length; } function set(Map storage map, address key, uint val) public { if (map.inserted[key]) { map.values[key] = val; } else { map.inserted[key] = true; map.values[key] = val; map.indexOf[key] = map.keys.length; map.keys.push(key); } } function remove(Map storage map, address key) public { if (!map.inserted[key]) { return; } delete map.inserted[key]; delete map.values[key]; uint index = map.indexOf[key]; uint lastIndex = map.keys.length - 1; address lastKey = map.keys[lastIndex]; map.indexOf[lastKey] = index; delete map.indexOf[key]; map.keys[index] = lastKey; map.keys.pop(); } }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactTokensForETHSupportingFeeOnTransferTokens( 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; }
pragma solidity ^0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); }
pragma solidity ^0.6.2; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function createPair(address tokenA, address tokenB) external returns (address pair); }
pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
pragma solidity >=0.6.0 <0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; import './IERC20.sol'; import './SafeMath.sol'; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
pragma solidity >=0.6.0 <0.8.0; import './Ownable.sol'; import './DividendPayingToken.sol'; import './SafeMath.sol'; import './SafeMathInt.sol'; import './IterableMapping.sol'; contract IgnoreFudDividendTracker is Ownable, DividendPayingToken { using SafeMath for uint256; using SafeMathInt for int256; using IterableMapping for IterableMapping.Map; IterableMapping.Map private tokenHoldersMap; uint256 public lastProcessedIndex; mapping (address => bool) public excludedFromDividends; mapping (address => uint256) public lastClaimTimes; uint256 public claimWait; uint256 public minimumTokenBalanceForDividends; event ExcludeFromDividends(address indexed account); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim(address indexed account, uint256 amount, bool indexed automatic); constructor() public DividendPayingToken("IgnoreFud_Dividen_Tracker", "4TOKEN_Dividend_Tracker") { claimWait = 3600; minimumTokenBalanceForDividends = 400 * 10**3 * (10**18); //must hold 100+ tokens } function _transfer(address, address, uint256) internal override { require(false, "IgnoreFud_Dividend_Tracker: No transfers allowed"); } function withdrawDividend() public override { require(false, "IgnoreFud_Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main IgnoreFud contract."); } function excludeFromDividends(address account) external onlyOwner { require(!excludedFromDividends[account],"Already excluded from dividends!"); excludedFromDividends[account] = true; _setBalance(account, 0); tokenHoldersMap.remove(account); emit ExcludeFromDividends(account); } function updateClaimWait(uint256 newClaimWait) external onlyOwner { require(newClaimWait >= 3600 && newClaimWait <= 86400, "IgnoreFud_Dividend_Tracker: claimWait must be updated to between 1 and 24 hours"); require(newClaimWait != claimWait, "IgnoreFud_Dividend_Tracker: Cannot update claimWait to same value"); emit ClaimWaitUpdated(newClaimWait, claimWait); claimWait = newClaimWait; } function getLastProcessedIndex() external view returns(uint256) { return lastProcessedIndex; } function getNumberOfTokenHolders() external view returns(uint256) { return tokenHoldersMap.keys.length; } function getAccount(address _account) public view returns ( address account, int256 index, int256 iterationsUntilProcessed, uint256 withdrawableDividends, uint256 totalDividends, uint256 lastClaimTime, uint256 nextClaimTime, uint256 secondsUntilAutoClaimAvailable) { account = _account; index = tokenHoldersMap.getIndexOfKey(account); iterationsUntilProcessed = -1; if(index >= 0) { if(uint256(index) > lastProcessedIndex) { iterationsUntilProcessed = index.sub(int256(lastProcessedIndex)); } else { uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ? tokenHoldersMap.keys.length.sub(lastProcessedIndex) : 0; iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray)); } } withdrawableDividends = withdrawableDividendOf(account); totalDividends = accumulativeDividendOf(account); lastClaimTime = lastClaimTimes[account]; nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0; secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ? nextClaimTime.sub(block.timestamp) : 0; } function getAccountAtIndex(uint256 index) public view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { if(index >= tokenHoldersMap.size()) { return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0); } address account = tokenHoldersMap.getKeyAtIndex(index); return getAccount(account); } function canAutoClaim(uint256 lastClaimTime) private view returns (bool) { if(lastClaimTime > block.timestamp) { return false; } return block.timestamp.sub(lastClaimTime) >= claimWait; } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if(excludedFromDividends[account]) { return; } if(newBalance >= minimumTokenBalanceForDividends) { _setBalance(account, newBalance); tokenHoldersMap.set(account, newBalance); } else { _setBalance(account, 0); tokenHoldersMap.remove(account); } processAccount(account, true); } function process(uint256 gas) public returns (uint256, uint256, uint256) { uint256 numberOfTokenHolders = tokenHoldersMap.keys.length; if(numberOfTokenHolders == 0) { return (0, 0, lastProcessedIndex); } uint256 _lastProcessedIndex = lastProcessedIndex; uint256 gasUsed = 0; uint256 gasLeft = gasleft(); uint256 iterations = 0; uint256 claims = 0; while(gasUsed < gas && iterations < numberOfTokenHolders) { _lastProcessedIndex++; if(_lastProcessedIndex >= tokenHoldersMap.keys.length) { _lastProcessedIndex = 0; } address account = tokenHoldersMap.keys[_lastProcessedIndex]; if(canAutoClaim(lastClaimTimes[account])) { if(processAccount(payable(account), true)) { claims++; } } iterations++; uint256 newGasLeft = gasleft(); if(gasLeft > newGasLeft) { gasUsed = gasUsed.add(gasLeft.sub(newGasLeft)); } gasLeft = newGasLeft; } lastProcessedIndex = _lastProcessedIndex; return (iterations, claims, lastProcessedIndex); } function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if(amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount, automatic); return true; } return false; } }
pragma solidity ^0.6.2; /// @title Dividend-Paying Token Optional Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev OPTIONAL functions for a dividend-paying token contract. interface DividendPayingTokenOptionalInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) external view returns(uint256); }
pragma solidity ^0.6.2; /// @title Dividend-Paying Token Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev An interface for a dividend-paying token contract. interface DividendPayingTokenInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) external view returns(uint256); /// @notice Withdraws the ether distributed to the sender. /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer. /// MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0. function withdrawDividend() external; /// @dev This event MUST emit when ether is distributed to token holders. /// @param from The address which sends ether to this contract. /// @param weiAmount The amount of distributed ether in wei. event DividendsDistributed( address indexed from, uint256 weiAmount ); /// @dev This event MUST emit when an address withdraws their dividend. /// @param to The address which withdraws ether from this contract. /// @param weiAmount The amount of withdrawn ether in wei. event DividendWithdrawn( address indexed to, uint256 weiAmount ); }
pragma solidity ^0.6.2; import './ERC20.sol'; import './Ownable.sol'; import './DividendPayingTokenInterface.sol'; import './DividendPayingTokenOptionalInterface.sol'; import './SafeMath.sol'; import './SafeMathUint.sol'; import './SafeMathInt.sol'; /// @title Dividend-Paying Token /// @author Roger Wu (https://github.com/roger-wu) /// @dev A mintable ERC20 token that allows anyone to pay and distribute ether /// to token holders as dividends and allows token holders to withdraw their dividends. /// Reference: the source code of PoWH3D: https://etherscan.io/address/0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe#code contract DividendPayingToken is ERC20, Ownable, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; address public RewardToken = address(0xdAC17F958D2ee523a2206206994597C13D831ec7); //RewardToken // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small. // For more discussion about choosing the value of `magnitude`, // see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728 uint256 constant internal magnitude = 2**128; uint256 internal magnifiedDividendPerShare; // About dividendCorrection: // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with: // `dividendOf(_user) = dividendPerShare * balanceOf(_user)`. // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens), // `dividendOf(_user)` should not be changed, // but the computed value of `dividendPerShare * balanceOf(_user)` is changed. // To keep the `dividendOf(_user)` unchanged, we add a correction term: // `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`, // where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed: // `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`. // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed. mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; uint256 public totalDividendsDistributed; constructor(string memory _name, string memory _symbol) public ERC20(_name, _symbol) { } event RewardTokenUpdated(address indexed newToken, address indexed oldToken); function updateRewardToken(address newRewardToken) external onlyOwner { emit RewardTokenUpdated(newRewardToken, RewardToken); RewardToken = newRewardToken; } function distributeRewardTokenDividends(uint256 amount) public onlyOwner{ require(totalSupply() > 0,"Total supply is less than 0!"); if (amount > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (amount).mul(magnitude) / totalSupply() ); emit DividendsDistributed(msg.sender, amount); totalDividendsDistributed = totalDividendsDistributed.add(amount); } } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function withdrawDividend() public virtual override { _withdrawDividendOfUser(msg.sender); } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function _withdrawDividendOfUser(address payable user) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend); emit DividendWithdrawn(user, _withdrawableDividend); bool success = IERC20(RewardToken).transfer(user, _withdrawableDividend); if(!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } return _withdrawableDividend; } return 0; } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) public view override returns(uint256) { return withdrawableDividendOf(_owner); } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) public view override returns(uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) public view override returns(uint256) { return withdrawnDividends[_owner]; } /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) public view override returns(uint256) { return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe() .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude; } /// @dev Internal function that transfer tokens from one address to another. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param from The address to transfer from. /// @param to The address to transfer to. /// @param value The amount to be transferred. function _transfer(address from, address to, uint256 value) internal virtual override { require(false,"Transfer function for dividends paying token is externally disabled!"); int256 _magCorrection = magnifiedDividendPerShare.mul(value).toInt256Safe(); magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from].add(_magCorrection); magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(_magCorrection); } /// @dev Internal function that mints tokens to an account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account that will receive the created tokens. /// @param value The amount that will be created. function _mint(address account, uint256 value) internal override { super._mint(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } /// @dev Internal function that burns an amount of the token of a given account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account whose tokens will be burnt. /// @param value The amount that will be burnt. function _burn(address account, uint256 value) internal override { super._burn(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = balanceOf(account); if(newBalance > currentBalance) { uint256 mintAmount = newBalance.sub(currentBalance); _mint(account, mintAmount); } else if(newBalance < currentBalance) { uint256 burnAmount = currentBalance.sub(newBalance); _burn(account, burnAmount); } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "istanbul", "libraries": { "/contracts/IgnoreFudFlattened.sol": { "IterableMapping": "0x61B83eDF87Ea662C695439A807c386455c9E797C" } }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address payable","name":"_fundWallet","type":"address"},{"internalType":"address","name":"_minter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newBurnFee","type":"uint256"}],"name":"BurnFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newEcoSystemFee","type":"uint256"}],"name":"EcoSystemFeeUpdated","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":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newLiquidityFee","type":"uint256"}],"name":"LiquidityFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newLiquidityWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldLiquidityWallet","type":"address"}],"name":"LiquidityWalletUpdated","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":[{"indexed":true,"internalType":"uint256","name":"newRewardTokenFee","type":"uint256"}],"name":"RewardTokenFeeUpdated","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":false,"internalType":"uint256","name":"tokens","type":"uint256"},{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"SwapAndSendFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"MINTER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RewardToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RewardTokenFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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 payable","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract IgnoreFudDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ecoSystemFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fundWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountDividendsInfoAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setBurnFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setEcoSystemFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setLiquidityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardToken","type":"address"}],"name":"setRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setRewardTokenFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setSwapLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600b805473dac17f958d2ee523a2206206994597c13d831ec76001600160a01b03199091161790556003600d8190556002600e819055600f819055600160108190556200007b92909162000067918290826200074b602090811b6200343f17901c565b6200074b60201b6200343f1790919060201c565b601155620493e06015553480156200009257600080fd5b50604051620077b0380380620077b083398181016040526040811015620000b857600080fd5b508051602091820151604080518082018252600a8152691259db9bdc9948119d5960b21b818601908152825180840190935260068352651a2a27a5a2a760d11b95830195909552805193949293909262000116916003919062000a44565b5080516200012c90600490602084019062000a44565b50506005805460ff19166012179055506000620001516001600160e01b03620007ad16565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600980546001600160a01b038085166001600160a01b031992831617909255600a805492841692909116919091179055604051620001e59062000ac9565b604051809103906000f08015801562000202573d6000803e3d6000fd5b50600860006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600073f164fc0ec4e93095b804a4795bbe1e041497b92a90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200027e57600080fd5b505afa15801562000293573d6000803e3d6000fd5b505050506040513d6020811015620002aa57600080fd5b5051604080516315ab88c960e31b815290516001600160a01b039283169263c9c653969230929187169163ad5c464891600480820192602092909190829003018186803b158015620002fb57600080fd5b505afa15801562000310573d6000803e3d6000fd5b505050506040513d60208110156200032757600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b1580156200037a57600080fd5b505af11580156200038f573d6000803e3d6000fd5b505050506040513d6020811015620003a657600080fd5b5051600680546001600160a01b038086166001600160a01b03199283161790925560078054928416929091169190911790559050620003f08160016001600160e01b03620007b216565b6a034f086f3b33b684000000600c556008546040805163031e79db60e41b81526001600160a01b0390921660048301819052905190916331e79db091602480830192600092919082900301818387803b1580156200044d57600080fd5b505af115801562000462573d6000803e3d6000fd5b50506008546040805163031e79db60e41b815230600482015290516001600160a01b0390921693506331e79db0925060248082019260009290919082900301818387803b158015620004b357600080fd5b505af1158015620004c8573d6000803e3d6000fd5b50506008546001600160a01b031691506331e79db09050620004f26001600160e01b03620008e516565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b1580156200053b57600080fd5b505af115801562000550573d6000803e3d6000fd5b50506008546040805163031e79db60e41b815261dead600482015290516001600160a01b0390921693506331e79db0925060248082019260009290919082900301818387803b158015620005a357600080fd5b505af1158015620005b8573d6000803e3d6000fd5b50506008546040805163031e79db60e41b815260006004820181905291516001600160a01b0390931694506331e79db093506024808201939182900301818387803b1580156200060757600080fd5b505af11580156200061c573d6000803e3d6000fd5b50506008546040805163031e79db60e41b81526001600160a01b03898116600483015291519190921693506331e79db09250602480830192600092919082900301818387803b1580156200066f57600080fd5b505af115801562000684573d6000803e3d6000fd5b50506008546040805163031e79db60e41b81526001600160a01b03878116600483015291519190921693506331e79db09250602480830192600092919082900301818387803b158015620006d757600080fd5b505af1158015620006ec573d6000803e3d6000fd5b505050506200071562000704620008e560201b60201c565b60016001600160e01b03620008f916565b6200072b3060016001600160e01b03620008f916565b620007418460016001600160e01b03620008f916565b5050505062000af4565b600082820183811015620007a6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b335b90565b6001600160a01b03821660009081526017602052604090205460ff1615158115151415620008125760405162461bcd60e51b8152600401808060200182810382526043815260200180620077386043913960600191505060405180910390fd5b6001600160a01b0382166000908152601760205260409020805460ff19168215801591909117909155620008a9576008546040805163031e79db60e41b81526001600160a01b038581166004830152915191909216916331e79db091602480830192600092919082900301818387803b1580156200088f57600080fd5b505af1158015620008a4573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b60055461010090046001600160a01b031690565b6200090c6001600160e01b03620007ad16565b6001600160a01b0316620009286001600160e01b03620008e516565b6001600160a01b03161462000984576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03821660009081526016602052604090205460ff1615158115151415620009e45760405162461bcd60e51b81526004018080602001828103825260358152602001806200777b6035913960400191505060405180910390fd5b6001600160a01b038216600081815260166020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000a8757805160ff191683800117855562000ab7565b8280016001018555821562000ab7579182015b8281111562000ab757825182559160200191906001019062000a9a565b5062000ac592915062000ad7565b5090565b6125a6806200519283390190565b620007af91905b8082111562000ac5576000815560010162000ade565b61468e8062000b046000396000f3fe60806040526004361061037a5760003560e01c8063871c128d116101d1578063ad56c13c11610102578063e7841ec0116100a0578063f27fd2541161006f578063f27fd25414610cf7578063f2fde38b14610d21578063fce589d814610d54578063fe6d812414610d6957610381565b8063e7841ec014610c8e578063e98030c714610ca3578063e9c2801c14610ccd578063f1e9f1e514610ce257610381565b8063c0246668116100dc578063c024666814610b51578063c492f04614610b8c578063dd62ed3e14610c3e578063e2f4560514610c7957610381565b8063ad56c13c14610a76578063afa0ffbc14610af4578063b62496f514610b1e57610381565b80639c1b8af51161016f578063a457c2d711610149578063a457c2d7146109a7578063a8b9d240146109e0578063a9059cbb14610a13578063aa60e73314610a4c57610381565b80639c1b8af5146109445780639dc29fac14610959578063a26579ad1461099257610381565b80638da5cb5b116101ab5780638da5cb5b146108ca57806395d89b41146108df57806398118cb4146108f45780639a7a23d61461090957610381565b8063871c128d1461083a57806388bdd9be146108645780638aee81271461089757610381565b806349bd5a5e116102ab578063664a1ad61161024957806370a082311161022357806370a08231146107b3578063715018a6146107e657806381c79ec2146107fb57806385141a771461082557610381565b8063664a1ad6146107415780636843cd8414610756578063700bb1911461078957610381565b80634e71d92d116102855780634e71d92d146106b15780634fbee193146106c657806364b0f653146106f957806365b8dbc01461070e57610381565b806349bd5a5e146106485780634b46e3011461065d5780634bf2c7c91461068757610381565b806330bb4cff11610318578063357bf15c116102f2578063357bf15c1461059757806339509351146105c157806340ba8768146105fa57806340c10f191461060f57610381565b806330bb4cff14610522578063313ce5671461053757806331e79db01461056257610381565b80631694505e116103545780631694505e1461048457806318160ddd146104b557806323b872dd146104ca5780632c1f52161461050d57610381565b806306fdde0314610386578063095ea7b31461041057806313114a9d1461045d57610381565b3661038157005b600080fd5b34801561039257600080fd5b5061039b610d7e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103d55781810151838201526020016103bd565b50505050905090810190601f1680156104025780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561041c57600080fd5b506104496004803603604081101561043357600080fd5b506001600160a01b038135169060200135610e14565b604080519115158252519081900360200190f35b34801561046957600080fd5b50610472610e32565b60408051918252519081900360200190f35b34801561049057600080fd5b50610499610e38565b604080516001600160a01b039092168252519081900360200190f35b3480156104c157600080fd5b50610472610e47565b3480156104d657600080fd5b50610449600480360360608110156104ed57600080fd5b506001600160a01b03813581169160208101359091169060400135610e4d565b34801561051957600080fd5b50610499610eda565b34801561052e57600080fd5b50610472610ee9565b34801561054357600080fd5b5061054c610f5f565b6040805160ff9092168252519081900360200190f35b34801561056e57600080fd5b506105956004803603602081101561058557600080fd5b50356001600160a01b0316610f68565b005b3480156105a357600080fd5b50610595600480360360208110156105ba57600080fd5b5035611033565b3480156105cd57600080fd5b50610449600480360360408110156105e457600080fd5b506001600160a01b03813516906020013561115b565b34801561060657600080fd5b506104726111af565b34801561061b57600080fd5b506105956004803603604081101561063257600080fd5b506001600160a01b0381351690602001356111b5565b34801561065457600080fd5b506104996112eb565b34801561066957600080fd5b506105956004803603602081101561068057600080fd5b50356112fa565b34801561069357600080fd5b50610595600480360360208110156106aa57600080fd5b503561136b565b3480156106bd57600080fd5b5061059561148c565b3480156106d257600080fd5b50610449600480360360208110156106e957600080fd5b50356001600160a01b0316611559565b34801561070557600080fd5b50610472611577565b34801561071a57600080fd5b506105956004803603602081101561073157600080fd5b50356001600160a01b03166115bc565b34801561074d57600080fd5b506104996118c5565b34801561076257600080fd5b506104726004803603602081101561077957600080fd5b50356001600160a01b03166118d4565b34801561079557600080fd5b50610595600480360360208110156107ac57600080fd5b5035611957565b3480156107bf57600080fd5b50610472600480360360208110156107d657600080fd5b50356001600160a01b0316611a3e565b3480156107f257600080fd5b50610595611a59565b34801561080757600080fd5b506105956004803603602081101561081e57600080fd5b5035611b0b565b34801561083157600080fd5b50610499611c28565b34801561084657600080fd5b506105956004803603602081101561085d57600080fd5b5035611c2e565b34801561087057600080fd5b506105956004803603602081101561088757600080fd5b50356001600160a01b0316611d55565b3480156108a357600080fd5b50610595600480360360208110156108ba57600080fd5b50356001600160a01b03166121dd565b3480156108d657600080fd5b506104996122a2565b3480156108eb57600080fd5b5061039b6122b6565b34801561090057600080fd5b50610472612317565b34801561091557600080fd5b506105956004803603604081101561092c57600080fd5b506001600160a01b038135169060200135151561231d565b34801561095057600080fd5b506104726123d6565b34801561096557600080fd5b506105956004803603604081101561097c57600080fd5b506001600160a01b0381351690602001356123dc565b34801561099e57600080fd5b5061047261244b565b3480156109b357600080fd5b50610449600480360360408110156109ca57600080fd5b506001600160a01b038135169060200135612490565b3480156109ec57600080fd5b5061047260048036036020811015610a0357600080fd5b50356001600160a01b03166124fe565b348015610a1f57600080fd5b5061044960048036036040811015610a3657600080fd5b506001600160a01b03813516906020013561254f565b348015610a5857600080fd5b5061059560048036036020811015610a6f57600080fd5b5035612563565b348015610a8257600080fd5b50610aa960048036036020811015610a9957600080fd5b50356001600160a01b03166126c4565b604080516001600160a01b0390991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b348015610b0057600080fd5b5061059560048036036020811015610b1757600080fd5b50356127ad565b348015610b2a57600080fd5b5061044960048036036020811015610b4157600080fd5b50356001600160a01b03166128c9565b348015610b5d57600080fd5b5061059560048036036040811015610b7457600080fd5b506001600160a01b03813516906020013515156128de565b348015610b9857600080fd5b5061059560048036036040811015610baf57600080fd5b810190602081018135640100000000811115610bca57600080fd5b820183602082011115610bdc57600080fd5b80359060200191846020830284011164010000000083111715610bfe57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050505035151590506129fe565b348015610c4a57600080fd5b5061047260048036036040811015610c6157600080fd5b506001600160a01b0381358116916020013516612b3d565b348015610c8557600080fd5b50610472612b68565b348015610c9a57600080fd5b50610472612b6e565b348015610caf57600080fd5b5061059560048036036020811015610cc657600080fd5b5035612bb3565b348015610cd957600080fd5b50610472612c62565b348015610cee57600080fd5b50610499612c68565b348015610d0357600080fd5b50610aa960048036036020811015610d1a57600080fd5b5035612c77565b348015610d2d57600080fd5b5061059560048036036020811015610d4457600080fd5b50356001600160a01b0316612cdd565b348015610d6057600080fd5b50610472612deb565b348015610d7557600080fd5b50610499612df1565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610e0a5780601f10610ddf57610100808354040283529160200191610e0a565b820191906000526020600020905b815481529060010190602001808311610ded57829003601f168201915b5050505050905090565b6000610e28610e21612e00565b8484612e04565b5060015b92915050565b60115481565b6006546001600160a01b031681565b60025490565b6000610e5a848484612ef0565b610ed084610e66612e00565b610ecb8560405180606001604052806028815260200161454d602891396001600160a01b038a16600090815260016020526040812090610ea4612e00565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6133a816565b612e04565b5060019392505050565b6008546001600160a01b031681565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b158015610f2e57600080fd5b505afa158015610f42573d6000803e3d6000fd5b505050506040513d6020811015610f5857600080fd5b5051905090565b60055460ff1690565b610f70612e00565b6001600160a01b0316610f816122a2565b6001600160a01b031614610fca576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6008546040805163031e79db60e41b81526001600160a01b038481166004830152915191909216916331e79db091602480830192600092919082900301818387803b15801561101857600080fd5b505af115801561102c573d6000803e3d6000fd5b5050505050565b61103b612e00565b6001600160a01b031661104c6122a2565b6001600160a01b031614611095576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b60086110c46010546110b8600f546110b886600d5461343f90919063ffffffff16565b9063ffffffff61343f16565b1115611105576040805162461bcd60e51b815260206004820152601c602482015260008051602061450c833981519152604482015290519081900360640190fd5b600e819055601054600f54600d5461112a92916110b89182908663ffffffff61343f16565b60115560405181907f5597c0e02a719eddde3b801d7abc15c0023afdcf6880c1e254427559820083c290600090a250565b6000610e28611168612e00565b84610ecb8560016000611179612e00565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61343f16565b60105481565b600a546001600160a01b03166111c9612e00565b6001600160a01b03161461121a576040805162461bcd60e51b81526020600482015260136024820152724d75737420626520746865206d696e7465722160681b604482015290519081900360640190fd5b61122482826134a0565b6008546001600160a01b031663e30443bc8361123f81611a3e565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561128e57600080fd5b505af192505050801561129f575060015b6112e7576040805162461bcd60e51b8152602060048201526014602482015273436f756c646e2774207365742062616c616e636560601b604482015290519081900360640190fd5b5050565b6007546001600160a01b031681565b611302612e00565b6001600160a01b03166113136122a2565b6001600160a01b03161461135c576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b670de0b6b3a764000002600c55565b611373612e00565b6001600160a01b03166113846122a2565b6001600160a01b0316146113cd576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b60086113f06010546110b8846110b8600e54600d5461343f90919063ffffffff16565b1115611431576040805162461bcd60e51b815260206004820152601c602482015260008051602061450c833981519152604482015290519081900360640190fd5b80600f8190555061145b6010546110b8600f546110b8600e54600d5461343f90919063ffffffff16565b60115560405181907fd54296e32811a7f2da2c1f6e8b39cb815ce208595da09bb98b034ccca6dffc6990600090a250565b6008546040805163bc4c4b3760e01b815233600482015260006024820181905291516001600160a01b039093169263bc4c4b3792604480840193602093929083900390910190829087803b1580156114e357600080fd5b505af11580156114f7573d6000803e3d6000fd5b505050506040513d602081101561150d57600080fd5b5051611557576040805162461bcd60e51b81526020600482015260146024820152734e6f207265776172647320746f20636c61696d2160601b604482015290519081900360640190fd5b565b6001600160a01b031660009081526016602052604090205460ff1690565b600854604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b158015610f2e57600080fd5b6115c4612e00565b6001600160a01b03166115d56122a2565b6001600160a01b03161461161e576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6006546001600160a01b038281169116141561166b5760405162461bcd60e51b815260040180806020018281038252602e8152602001806144a7602e913960400191505060405180910390fd5b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0383811691909117918290556040805163c45a015560e01b815290516000939092169163c45a015591600480820192602092909190829003018186803b15801561170457600080fd5b505afa158015611718573d6000803e3d6000fd5b505050506040513d602081101561172e57600080fd5b5051600654604080516315ab88c960e31b815290516001600160a01b039384169363c9c6539693309391169163ad5c464891600480820192602092909190829003018186803b15801561178057600080fd5b505afa158015611794573d6000803e3d6000fd5b505050506040513d60208110156117aa57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b1580156117fc57600080fd5b505af1158015611810573d6000803e3d6000fd5b505050506040513d602081101561182657600080fd5b5051600780546001600160a01b0319166001600160a01b0380841691909117918290559192506118589116600161359c565b6008546006546040805163031e79db60e41b81526001600160a01b039283166004820152905191909216916331e79db091602480830192600092919082900301818387803b1580156118a957600080fd5b505af11580156118bd573d6000803e3d6000fd5b505050505050565b6009546001600160a01b031681565b600854604080516370a0823160e01b81526001600160a01b038481166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b15801561192557600080fd5b505afa158015611939573d6000803e3d6000fd5b505050506040513d602081101561194f57600080fd5b505192915050565b600854604080516001624d3b8760e01b03198152600481018490529051600092839283926001600160a01b039092169163ffb2c4799160248082019260609290919082900301818787803b1580156119ae57600080fd5b505af11580156119c2573d6000803e3d6000fd5b505050506040513d60608110156119d857600080fd5b5080516020808301516040938401518451848152928301829052828501819052606083018990529351929650945091925032916000917fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989181900360800190a350505050565b6001600160a01b031660009081526020819052604090205490565b611a61612e00565b6001600160a01b0316611a726122a2565b6001600160a01b031614611abb576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b611b13612e00565b6001600160a01b0316611b246122a2565b6001600160a01b031614611b6d576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6008611b906010546110b8600f546110b8600e548761343f90919063ffffffff16565b1115611bd1576040805162461bcd60e51b815260206004820152601c602482015260008051602061450c833981519152604482015290519081900360640190fd5b600d819055601054600f54600e54611bf792916110b8918290869063ffffffff61343f16565b60115560405181907f1e8d0723ec2530f83d10c12ca10bbb82e108a28c018f0981c7f8e0b93ca8ef3f90600090a250565b61dead81565b611c36612e00565b6001600160a01b0316611c476122a2565b6001600160a01b031614611c90576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b62030d408110158015611ca657506207a1208111155b611ce15760405162461bcd60e51b815260040180806020018281038252603f81526020018061439f603f913960400191505060405180910390fd5b601554811415611d225760405162461bcd60e51b81526004018080602001828103825260378152602001806144d56037913960400191505060405180910390fd5b60155460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601555565b611d5d612e00565b6001600160a01b0316611d6e6122a2565b6001600160a01b031614611db7576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6008546001600160a01b0382811691161415611e045760405162461bcd60e51b81526004018080602001828103825260388152602001806143246038913960400191505060405180910390fd5b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611e4c57600080fd5b505afa158015611e60573d6000803e3d6000fd5b505050506040513d6020811015611e7657600080fd5b50516001600160a01b031614611ebd5760405162461bcd60e51b81526004018080602001828103825260518152602001806144046051913960600191505060405180910390fd5b6040805163031e79db60e41b81526001600160a01b0383166004820181905291516331e79db09160248082019260009290919082900301818387803b158015611f0557600080fd5b505af1158015611f19573d6000803e3d6000fd5b50506040805163031e79db60e41b815230600482015290516001600160a01b03851693506331e79db09250602480830192600092919082900301818387803b158015611f6457600080fd5b505af1158015611f78573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db0611f936122a2565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b158015611fdb57600080fd5b505af1158015611fef573d6000803e3d6000fd5b50506006546040805163031e79db60e41b81526001600160a01b039283166004820152905191851693506331e79db0925060248082019260009290919082900301818387803b15801561204157600080fd5b505af1158015612055573d6000803e3d6000fd5b50506040805163031e79db60e41b815261dead600482015290516001600160a01b03851693506331e79db09250602480830192600092919082900301818387803b1580156120a257600080fd5b505af11580156120b6573d6000803e3d6000fd5b50506040805163031e79db60e41b815260006004820181905291516001600160a01b03861694506331e79db093506024808301939282900301818387803b15801561210057600080fd5b505af1158015612114573d6000803e3d6000fd5b50506009546040805163031e79db60e41b81526001600160a01b039283166004820152905191851693506331e79db0925060248082019260009290919082900301818387803b15801561216657600080fd5b505af115801561217a573d6000803e3d6000fd5b50506008546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600880546001600160a01b0319166001600160a01b039290921691909117905550565b6121e5612e00565b6001600160a01b03166121f66122a2565b6001600160a01b03161461223f576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b038381169182179092556008546040805163f8cf31cb60e01b815260048101939093525192169163f8cf31cb9160248082019260009290919082900301818387803b15801561101857600080fd5b60055461010090046001600160a01b031690565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610e0a5780601f10610ddf57610100808354040283529160200191610e0a565b600e5481565b612325612e00565b6001600160a01b03166123366122a2565b6001600160a01b03161461237f576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6007546001600160a01b03838116911614156123cc5760405162461bcd60e51b81526004018080602001828103825260528152602001806144556052913960600191505060405180910390fd5b6112e7828261359c565b60155481565b600a546001600160a01b03166123f0612e00565b6001600160a01b031614612441576040805162461bcd60e51b81526020600482015260136024820152724d75737420626520746865206d696e7465722160681b604482015290519081900360640190fd5b61122482826136ca565b60085460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec916004808301926020929190829003018186803b158015610f2e57600080fd5b6000610e2861249d612e00565b84610ecb8560405180606001604052806025815260200161463460259139600160006124c7612e00565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6133a816565b600854604080516302a2e74960e61b81526001600160a01b0384811660048301529151600093929092169163a8b9d24091602480820192602092909190829003018186803b15801561192557600080fd5b6000610e2861255c612e00565b8484612ef0565b61256b612e00565b6001600160a01b031661257c6122a2565b6001600160a01b0316146125c5576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6009546040805160008082526020820192839052815190936001600160a01b031692859291819081908082805b602083106126115780518252601f1990920191602091820191016125f2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612673576040519150601f19603f3d011682016040523d82523d6000602084013e612678565b606091505b50509050806112e7576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fd5b600080600080600080600080600860009054906101000a90046001600160a01b03166001600160a01b031663fbcbc0f18a6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b031681526020019150506101006040518083038186803b15801561273c57600080fd5b505afa158015612750573d6000803e3d6000fd5b505050506040513d61010081101561276757600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e090970151959e50939c50919a509850965094509092509050919395975091939597565b6127b5612e00565b6001600160a01b03166127c66122a2565b6001600160a01b03161461280f576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6008612832826110b8600f546110b8600e54600d5461343f90919063ffffffff16565b1115612873576040805162461bcd60e51b815260206004820152601c602482015260008051602061450c833981519152604482015290519081900360640190fd5b6010819055600f54600e54600d546128989284926110b892839163ffffffff61343f16565b60115560405181907f3c0f1409a287278bc133454699b697511b1729af2915de9a70015782b0e5518b90600090a250565b60176020526000908152604090205460ff1681565b6128e6612e00565b6001600160a01b03166128f76122a2565b6001600160a01b031614612940576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526016602052604090205460ff161515811515141561299e5760405162461bcd60e51b81526004018080602001828103825260358152602001806145ff6035913960400191505060405180910390fd5b6001600160a01b038216600081815260166020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b612a06612e00565b6001600160a01b0316612a176122a2565b6001600160a01b031614612a60576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b60005b8251811015612ab7578160166000858481518110612a7d57fe5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101612a63565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358282604051808060200183151515158152602001828103825284818151815260200191508051906020019060200280838360005b83811015612b25578181015183820152602001612b0d565b50505050905001935050505060405180910390a15050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600c5481565b6008546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec0916004808301926020929190829003018186803b158015610f2e57600080fd5b612bbb612e00565b6001600160a01b0316612bcc6122a2565b6001600160a01b031614612c15576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6008546040805163e98030c760e01b81526004810184905290516001600160a01b039092169163e98030c79160248082019260009290919082900301818387803b15801561101857600080fd5b600d5481565b600b546001600160a01b031681565b600080600080600080600080600860009054906101000a90046001600160a01b03166001600160a01b0316635183d6fd8a6040518263ffffffff1660e01b8152600401808281526020019150506101006040518083038186803b15801561273c57600080fd5b612ce5612e00565b6001600160a01b0316612cf66122a2565b6001600160a01b031614612d3f576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6001600160a01b038116612d845760405162461bcd60e51b81526004018080602001828103825260268152602001806142dc6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600f5481565b600a546001600160a01b031681565b3390565b6001600160a01b038316612e495760405162461bcd60e51b81526004018080602001828103825260248152602001806145db6024913960400191505060405180910390fd5b6001600160a01b038216612e8e5760405162461bcd60e51b81526004018080602001828103825260228152602001806143026022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316612f355760405162461bcd60e51b81526004018080602001828103825260258152602001806145b66025913960400191505060405180910390fd5b6001600160a01b038216612f7a5760405162461bcd60e51b81526004018080602001828103825260238152602001806142976023913960400191505060405180910390fd5b80612f9057612f8b838360006137d2565b6133a3565b6000612f9b30611a3e565b600c5490915081108015908190612fbc5750600754600160a01b900460ff16155b8015612fe157506001600160a01b03851660009081526017602052604090205460ff16155b80156130065750612ff06122a2565b6001600160a01b0316856001600160a01b031614155b801561302b57506130156122a2565b6001600160a01b0316846001600160a01b031614155b156130f1576007805460ff60a01b1916600160a01b179055601154600e5460009161306d9161306190869063ffffffff61393916565b9063ffffffff61399216565b9050600061308c601154613061600f548761393990919063ffffffff16565b905060006130ab6011546130616010548861393990919063ffffffff16565b90506130b6836139f9565b6130bf81613a93565b6130c930836136ca565b60006130d430611a3e565b90506130df81613c8d565b50506007805460ff60a01b1916905550505b6001600160a01b03841660009081526017602052604081205460ff161561311a5750600161311e565b5060005b6001600160a01b03861660009081526016602052604090205460ff168061315d57506001600160a01b03851660009081526016602052604090205460ff165b15613166575060005b80156131a957600061318860646130616011548861393990919063ffffffff16565b905061319a858263ffffffff613e4416565b94506131a78730836137d2565b505b6131b48686866137d2565b6008546001600160a01b031663e30443bc876131cf81611a3e565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561321e57600080fd5b505af192505050801561322f575060015b506008546001600160a01b031663e30443bc8661324b81611a3e565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561329a57600080fd5b505af19250505080156132ab575060015b50600754600160a01b900460ff166118bd57601554600854604080516001624d3b8760e01b031981526004810184905290516001600160a01b039092169163ffb2c479916024808201926060929091908290030181600087803b15801561331157600080fd5b505af192505050801561334557506040513d606081101561333157600080fd5b508051602082015160409092015190919060015b61334e5761339e565b604080518481526020810184905280820183905260608101869052905132916001917fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989181900360800190a35050505b505050505b505050565b600081848411156134375760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156133fc5781810151838201526020016133e4565b50505050905090810190601f1680156134295780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015613499576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b0382166134fb576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b613507600083836133a3565b60025461351a908263ffffffff61343f16565b6002556001600160a01b038216600090815260208190526040902054613546908263ffffffff61343f16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b03821660009081526017602052604090205460ff16151581151514156135fa5760405162461bcd60e51b815260040180806020018281038252604381526020018061435c6043913960600191505060405180910390fd5b6001600160a01b0382166000908152601760205260409020805460ff1916821580159190911790915561368e576008546040805163031e79db60e41b81526001600160a01b038581166004830152915191909216916331e79db091602480830192600092919082900301818387803b15801561367557600080fd5b505af1158015613689573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b03821661370f5760405162461bcd60e51b81526004018080602001828103825260218152602001806145956021913960400191505060405180910390fd5b61371b826000836133a3565b61375e816040518060600160405280602281526020016142ba602291396001600160a01b038516600090815260208190526040902054919063ffffffff6133a816565b6001600160a01b03831660009081526020819052604090205560025461378a908263ffffffff613e4416565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b0383166138175760405162461bcd60e51b81526004018080602001828103825260258152602001806145b66025913960400191505060405180910390fd5b6001600160a01b03821661385c5760405162461bcd60e51b81526004018080602001828103825260238152602001806142976023913960400191505060405180910390fd5b6138678383836133a3565b6138aa816040518060600160405280602681526020016143de602691396001600160a01b038616600090815260208190526040902054919063ffffffff6133a816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546138df908263ffffffff61343f16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008261394857506000610e2c565b8282028284828161395557fe5b04146134995760405162461bcd60e51b815260040180806020018281038252602181526020018061452c6021913960400191505060405180910390fd5b60008082116139e8576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816139f157fe5b049392505050565b6000613a0c82600263ffffffff61399216565b90506000613a20838363ffffffff613e4416565b905047613a2c83613ea1565b476000613a3f828463ffffffff613e4416565b9050613a4b8582614033565b604080518681526020810183905280820186905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a1505050505050565b60408051600280825260608083018452926020830190803883390190505090503081600081518110613ac157fe5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015613b1557600080fd5b505afa158015613b29573d6000803e3d6000fd5b505050506040513d6020811015613b3f57600080fd5b5051815182906001908110613b5057fe5b6001600160a01b039283166020918202929092010152600654613b769130911684612e04565b60065460095460405163791ac94760e01b8152600481018581526000602483018190526001600160a01b0393841660648401819052426084850181905260a060448601908152885160a48701528851969097169663791ac947968a9694958a9590929160c490910190602080880191028083838b5b83811015613c03578181015183820152602001613beb565b505050509050019650505050505050600060405180830381600087803b158015613c2c57600080fd5b505af1158015613c40573d6000803e3d6000fd5b5050600954604080518681526001600160a01b03909216602083015280517f076a6f562f28adda4cd420e01b25d3d7a42ef2643cbbf7617907208ddb99c113945091829003019150a15050565b613c9681614103565b600b54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015613ce157600080fd5b505afa158015613cf5573d6000803e3d6000fd5b505050506040513d6020811015613d0b57600080fd5b5051600b546008546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018590529051939450600093919092169163a9059cbb91604480830192602092919082900301818787803b158015613d6b57600080fd5b505af1158015613d7f573d6000803e3d6000fd5b505050506040513d6020811015613d9557600080fd5b5051905080156133a357600854604080516301d4c84960e31b81526004810185905290516001600160a01b0390921691630ea642489160248082019260009290919082900301818387803b158015613dec57600080fd5b505af1158015613e00573d6000803e3d6000fd5b5050604080518681526020810186905281517f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc39450908190039091019150a1505050565b600082821115613e9b576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60408051600280825260608083018452926020830190803883390190505090503081600081518110613ecf57fe5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015613f2357600080fd5b505afa158015613f37573d6000803e3d6000fd5b505050506040513d6020811015613f4d57600080fd5b5051815182906001908110613f5e57fe5b6001600160a01b039283166020918202929092010152600654613f849130911684612e04565b60065460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b8381101561400a578181015183820152602001613ff2565b505050509050019650505050505050600060405180830381600087803b1580156118a957600080fd5b60065461404b9030906001600160a01b031684612e04565b6006546040805163f305d71960e01b8152306004820152602481018590526000604482018190526064820181905260848201524260a482015290516001600160a01b039092169163f305d71991849160c480830192606092919082900301818588803b1580156140ba57600080fd5b505af11580156140ce573d6000803e3d6000fd5b50505050506040513d60608110156140e557600080fd5b50805160208201516040909201516014556013919091556012555050565b60408051600380825260808201909252606091602082018380388339019050509050308160008151811061413357fe5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561418757600080fd5b505afa15801561419b573d6000803e3d6000fd5b505050506040513d60208110156141b157600080fd5b50518151829060019081106141c257fe5b6001600160a01b039283166020918202929092010152600b548251911690829060029081106141ed57fe5b6001600160a01b0392831660209182029290920101526006546142139130911684612e04565b600654604051635c11d79560e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b0390971696635c11d795968a968a9594939092909160c40190602087810191028083838b831561400a578181015183820152602001613ff256fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737349676e6f72654675643a20546865206469766964656e6420747261636b657220616c7265616479206861732074686174206164647265737349676e6f72654675643a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c756549676e6f72654675643a20676173466f7250726f63657373696e67206d757374206265206265747765656e203230302c30303020616e64203530302c30303045524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636549676e6f72654675643a20546865206e6577206469766964656e6420747261636b6572206d757374206265206f776e6564206279207468652049676e6f726546756420746f6b656e20636f6e747261637449676e6f72654675643a205468652049676e6f72654675642d424e4220706169722063616e6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6572506169727349676e6f72654675643a2054686520726f7574657220616c7265616479206861732074686174206164647265737349676e6f72654675643a2043616e6e6f742075706461746520676173466f7250726f63657373696e6720746f2073616d652076616c756549676e6f72654675643a204d6178696d756d2074617820697320382500000000536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737349676e6f72654675643a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c756465642745524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122048d883ed33e1194decdf106419d1b33bd079297708084984749078d643df151a64736f6c634300060200336080604052600680546001600160a01b03191673dac17f958d2ee523a2206206994597c13d831ec71790553480156200003757600080fd5b50604080518082018252601981527f49676e6f72654675645f4469766964656e5f547261636b65720000000000000060208083019182528351808501909452601784527f34544f4b454e5f4469766964656e645f547261636b657200000000000000000090840152815191929183918391620000b69160039162000168565b508051620000cc90600490602084019062000168565b50506005805460ff19166012179055506000620000f16001600160e01b036200016316565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35050610e10601255506954b40b1f852bda0000006013556200020a565b335b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ab57805160ff1916838001178555620001db565b82800160010185558215620001db579182015b82811115620001db578251825591602001919060010190620001be565b50620001e9929150620001ed565b5090565b6200016591905b80821115620001e95760008155600101620001f4565b61238c806200021a6000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c806385a6b3ae11610130578063be10b614116100b8578063f1e9f1e51161007c578063f1e9f1e5146106a3578063f2fde38b146106ab578063f8cf31cb146106d1578063fbcbc0f1146106f7578063ffb2c4791461071d57610227565b8063be10b6141461061c578063dd62ed3e14610624578063e30443bc14610652578063e7841ec01461067e578063e98030c71461068657610227565b8063a457c2d7116100ff578063a457c2d71461054a578063a8b9d24014610576578063a9059cbb1461059c578063aafd847a146105c8578063bc4c4b37146105ee57610227565b806385a6b3ae146104f05780638da5cb5b146104f857806391b89fba1461051c57806395d89b411461054257610227565b8063313ce567116101b35780635183d6fd116101825780635183d6fd1461044a5780636a474002146104b25780636f2789ec146104ba57806370a08231146104c2578063715018a6146104e857610227565b8063313ce567146103b457806331e79db0146103d257806339509351146103f85780634e7b827f1461042457610227565b806318160ddd116101fa57806318160ddd14610322578063226cfa3d1461032a57806323b872dd1461035057806327ce0147146103865780633009a609146103ac57610227565b806306fdde031461022c578063095ea7b3146102a957806309bbedde146102e95780630ea6424814610303575b600080fd5b610234610758565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026e578181015183820152602001610256565b50505050905090810190601f16801561029b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102d5600480360360408110156102bf57600080fd5b506001600160a01b0381351690602001356107ee565b604080519115158252519081900360200190f35b6102f161080c565b60408051918252519081900360200190f35b6103206004803603602081101561031957600080fd5b5035610812565b005b6102f1610960565b6102f16004803603602081101561034057600080fd5b50356001600160a01b0316610966565b6102d56004803603606081101561036657600080fd5b506001600160a01b03813581169160208101359091169060400135610978565b6102f16004803603602081101561039c57600080fd5b50356001600160a01b0316610a05565b6102f1610a70565b6103bc610a76565b6040805160ff9092168252519081900360200190f35b610320600480360360208110156103e857600080fd5b50356001600160a01b0316610a7f565b6102d56004803603604081101561040e57600080fd5b506001600160a01b038135169060200135610c2d565b6102d56004803603602081101561043a57600080fd5b50356001600160a01b0316610c81565b6104676004803603602081101561046057600080fd5b5035610c96565b604080516001600160a01b0390991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b610320610df5565b6102f1610e2c565b6102f1600480360360208110156104d857600080fd5b50356001600160a01b0316610e32565b610320610e4d565b6102f1610eff565b610500610f05565b604080516001600160a01b039092168252519081900360200190f35b6102f16004803603602081101561053257600080fd5b50356001600160a01b0316610f19565b610234610f24565b6102d56004803603604081101561056057600080fd5b506001600160a01b038135169060200135610f85565b6102f16004803603602081101561058c57600080fd5b50356001600160a01b0316610ff3565b6102d5600480360360408110156105b257600080fd5b506001600160a01b038135169060200135611025565b6102f1600480360360208110156105de57600080fd5b50356001600160a01b0316611039565b6102d56004803603604081101561060457600080fd5b506001600160a01b0381351690602001351515611054565b6102f1611133565b6102f16004803603604081101561063a57600080fd5b506001600160a01b0381358116916020013516611139565b6103206004803603604081101561066857600080fd5b506001600160a01b038135169060200135611164565b6102f161131a565b6103206004803603602081101561069c57600080fd5b5035611320565b610500611446565b610320600480360360208110156106c157600080fd5b50356001600160a01b0316611455565b610320600480360360208110156106e757600080fd5b50356001600160a01b0316611563565b6104676004803603602081101561070d57600080fd5b50356001600160a01b0316611622565b61073a6004803603602081101561073357600080fd5b50356117bc565b60408051938452602084019290925282820152519081900360600190f35b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107e45780601f106107b9576101008083540402835291602001916107e4565b820191906000526020600020905b8154815290600101906020018083116107c757829003601f168201915b5050505050905090565b60006108026107fb6118c6565b84846118ca565b5060015b92915050565b600b5490565b61081a6118c6565b6001600160a01b031661082b610f05565b6001600160a01b031614610874576040805162461bcd60e51b8152602060048201819052602482015260008051602061220d833981519152604482015290519081900360640190fd5b600061087e610960565b116108d0576040805162461bcd60e51b815260206004820152601c60248201527f546f74616c20737570706c79206973206c657373207468616e20302100000000604482015290519081900360640190fd5b801561095d5761090d6108e1610960565b6108f583600160801b63ffffffff6119b616565b816108fc57fe5b60075491900463ffffffff611a1616565b60075560408051828152905133917fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511919081900360200190a2600a54610959908263ffffffff611a1616565b600a555b50565b60025490565b60116020526000908152604090205481565b6000610985848484611a70565b6109fb846109916118c6565b6109f6856040518060600160405280602881526020016121e5602891396001600160a01b038a166000908152600160205260408120906109cf6118c6565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611aa716565b6118ca565b5060019392505050565b6001600160a01b038116600090815260086020526040812054600160801b90610a6090610a5b90610a4f610a4a610a3b88610e32565b6007549063ffffffff6119b616565b611b3e565b9063ffffffff611b4e16565b611b81565b81610a6757fe5b0490505b919050565b600f5481565b60055460ff1690565b610a876118c6565b6001600160a01b0316610a98610f05565b6001600160a01b031614610ae1576040805162461bcd60e51b8152602060048201819052602482015260008051602061220d833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526010602052604090205460ff1615610b4f576040805162461bcd60e51b815260206004820181905260248201527f416c7265616479206578636c756465642066726f6d206469766964656e647321604482015290519081900360640190fd5b6001600160a01b0381166000908152601060205260408120805460ff19166001179055610b7d908290611b94565b6040805163131836e760e21b8152600b60048201526001600160a01b038316602482015290517361b83edf87ea662c695439a807c386455c9e797c91634c60db9c916044808301926000929190829003018186803b158015610bde57600080fd5b505af4158015610bf2573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b6000610802610c3a6118c6565b846109f68560016000610c4b6118c6565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611a1616565b60106020526000908152604090205460ff1681565b600080600080600080600080600b7361b83edf87ea662c695439a807c386455c9e797c63deb3d89690916040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610cf457600080fd5b505af4158015610d08573d6000803e3d6000fd5b505050506040513d6020811015610d1e57600080fd5b50518910610d45575060009650600019955085945086935083925082915081905080610dea565b6000600b7361b83edf87ea662c695439a807c386455c9e797c63d1aa9e7e90918c6040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b158015610da157600080fd5b505af4158015610db5573d6000803e3d6000fd5b505050506040513d6020811015610dcb57600080fd5b50519050610dd881611622565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260040180806020018281038252606f81526020018061210d606f913960800191505060405180910390fd5b60125481565b6001600160a01b031660009081526020819052604090205490565b610e556118c6565b6001600160a01b0316610e66610f05565b6001600160a01b031614610eaf576040805162461bcd60e51b8152602060048201819052602482015260008051602061220d833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b600a5481565b60055461010090046001600160a01b031690565b600061080682610ff3565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107e45780601f106107b9576101008083540402835291602001916107e4565b6000610802610f926118c6565b846109f6856040518060600160405280602581526020016123326025913960016000610fbc6118c6565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611aa716565b6001600160a01b0381166000908152600960205260408120546108069061101984610a05565b9063ffffffff611bf916565b60006108026110326118c6565b8484611a70565b6001600160a01b031660009081526009602052604090205490565b600061105e6118c6565b6001600160a01b031661106f610f05565b6001600160a01b0316146110b8576040805162461bcd60e51b8152602060048201819052602482015260008051602061220d833981519152604482015290519081900360640190fd5b60006110c384611c56565b90508015611129576001600160a01b0384166000818152601160209081526040918290204290558151848152915186151593927fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09292908290030190a36001915050610806565b5060009392505050565b60135481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61116c6118c6565b6001600160a01b031661117d610f05565b6001600160a01b0316146111c6576040805162461bcd60e51b8152602060048201819052602482015260008051602061220d833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526010602052604090205460ff16156111ec57611316565b6013548110611284576111ff8282611b94565b60408051632f0ad01760e21b8152600b60048201526001600160a01b03841660248201526044810183905290517361b83edf87ea662c695439a807c386455c9e797c9163bc2b405c916064808301926000929190829003018186803b15801561126757600080fd5b505af415801561127b573d6000803e3d6000fd5b50505050611309565b61128f826000611b94565b6040805163131836e760e21b8152600b60048201526001600160a01b038416602482015290517361b83edf87ea662c695439a807c386455c9e797c91634c60db9c916044808301926000929190829003018186803b1580156112f057600080fd5b505af4158015611304573d6000803e3d6000fd5b505050505b611314826001611054565b505b5050565b600f5490565b6113286118c6565b6001600160a01b0316611339610f05565b6001600160a01b031614611382576040805162461bcd60e51b8152602060048201819052602482015260008051602061220d833981519152604482015290519081900360640190fd5b610e1081101580156113975750620151808111155b6113d25760405162461bcd60e51b815260040180806020018281038252604f81526020018061227e604f913960600191505060405180910390fd5b6012548114156114135760405162461bcd60e51b81526004018080602001828103825260418152602001806122f16041913960600191505060405180910390fd5b60125460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601255565b6006546001600160a01b031681565b61145d6118c6565b6001600160a01b031661146e610f05565b6001600160a01b0316146114b7576040805162461bcd60e51b8152602060048201819052602482015260008051602061220d833981519152604482015290519081900360640190fd5b6001600160a01b0381166114fc5760405162461bcd60e51b815260040180806020018281038252602681526020018061217c6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b61156b6118c6565b6001600160a01b031661157c610f05565b6001600160a01b0316146115c5576040805162461bcd60e51b8152602060048201819052602482015260008051602061220d833981519152604482015290519081900360640190fd5b6006546040516001600160a01b03918216918316907f906ff2422a6ffa134f2d7ccaffd446bc0c583a5cb6615749b4b2836942a5fea890600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600080600080600080600080889750600b7361b83edf87ea662c695439a807c386455c9e797c6317e142d190918a6040518363ffffffff1660e01b815260040180838152602001826001600160a01b03166001600160a01b031681526020019250505060206040518083038186803b15801561169d57600080fd5b505af41580156116b1573d6000803e3d6000fd5b505050506040513d60208110156116c757600080fd5b5051965060001995506000871261173d57600f548711156116fd57600f546116f690889063ffffffff611dd116565b955061173d565b600f54600b5460009110611712576000611727565b600f54600b546117279163ffffffff611bf916565b9050611739888263ffffffff611b4e16565b9650505b61174688610ff3565b945061175188610a05565b6001600160a01b03891660009081526011602052604090205490945092508261177b57600061178f565b60125461178f90849063ffffffff611a1616565b915042821161179f5760006117af565b6117af824263ffffffff611bf916565b9050919395975091939597565b600b5460009081908190806117dc575050600f54600092508291506118bf565b600f546000805a90506000805b89841080156117f757508582105b156118ae57600b54600190950194851061181057600094505b6000600b600001868154811061182257fe5b60009182526020808320909101546001600160a01b0316808352601190915260409091205490915061185390611e05565b1561186f57611863816001611054565b1561186f576001909101905b60019092019160005a9050808511156118a5576118a2611895868363ffffffff611bf916565b879063ffffffff611a1616565b95505b93506117e99050565b600f85905590975095509193505050505b9193909250565b3390565b6001600160a01b03831661190f5760405162461bcd60e51b81526004018080602001828103825260248152602001806122cd6024913960400191505060405180910390fd5b6001600160a01b0382166119545760405162461bcd60e51b81526004018080602001828103825260228152602001806121a26022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000826119c557506000610806565b828202828482816119d257fe5b0414611a0f5760405162461bcd60e51b81526004018080602001828103825260218152602001806121c46021913960400191505060405180910390fd5b9392505050565b600082820183811015611a0f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60405162461bcd60e51b815260040180806020018281038252603081526020018061224e6030913960400191505060405180910390fd5b60008184841115611b365760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611afb578181015183820152602001611ae3565b50505050905090810190601f168015611b285780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818181121561080657600080fd5b6000828201818312801590611b635750838112155b80611b785750600083128015611b7857508381125b611a0f57600080fd5b600080821215611b9057600080fd5b5090565b6000611b9f83610e32565b905080821115611bcd576000611bbb838363ffffffff611bf916565b9050611bc78482611e32565b50611314565b80821015611314576000611be7828463ffffffff611bf916565b9050611bf38482611e9c565b50505050565b600082821115611c50576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600080611c6283610ff3565b90508015611dc8576001600160a01b038316600090815260096020526040902054611c93908263ffffffff611a1616565b6001600160a01b038416600081815260096020908152604091829020939093558051848152905191927fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d92918290030190a26006546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151600093929092169163a9059cbb9160448082019260209290919082900301818787803b158015611d3e57600080fd5b505af1158015611d52573d6000803e3d6000fd5b505050506040513d6020811015611d6857600080fd5b5051905080611dc0576001600160a01b038416600090815260096020526040902054611d9a908363ffffffff611bf916565b6001600160a01b0385166000908152600960205260408120919091559250610a6b915050565b509050610a6b565b50600092915050565b6000808212158015611de557508282840313155b80611dfc5750600082128015611dfc575082828403135b611c5057600080fd5b600042821115611e1757506000610a6b565b601254611e2a428463ffffffff611bf916565b101592915050565b611e3c8282611ee6565b611e7c611e57610a4a836007546119b690919063ffffffff16565b6001600160a01b0384166000908152600860205260409020549063ffffffff611dd116565b6001600160a01b0390921660009081526008602052604090209190915550565b611ea68282611fe2565b611e7c611ec1610a4a836007546119b690919063ffffffff16565b6001600160a01b0384166000908152600860205260409020549063ffffffff611b4e16565b6001600160a01b038216611f41576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611f4d60008383611314565b600254611f60908263ffffffff611a1616565b6002556001600160a01b038216600090815260208190526040902054611f8c908263ffffffff611a1616565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166120275760405162461bcd60e51b815260040180806020018281038252602181526020018061222d6021913960400191505060405180910390fd5b61203382600083611314565b612076816040518060600160405280602281526020016120eb602291396001600160a01b038516600090815260208190526040902054919063ffffffff611aa716565b6001600160a01b0383166000908152602081905260409020556002546120a2908263ffffffff611bf916565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636549676e6f72654675645f4469766964656e645f547261636b65723a2077697468647261774469766964656e642064697361626c65642e20557365207468652027636c61696d272066756e6374696f6e206f6e20746865206d61696e2049676e6f726546756420636f6e74726163742e4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737349676e6f72654675645f4469766964656e645f547261636b65723a204e6f207472616e736665727320616c6c6f77656449676e6f72654675645f4469766964656e645f547261636b65723a20636c61696d57616974206d757374206265207570646174656420746f206265747765656e203120616e6420323420686f75727345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737349676e6f72654675645f4469766964656e645f547261636b65723a2043616e6e6f742075706461746520636c61696d5761697420746f2073616d652076616c756545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207bcb9787607f5b0ba725add15d17d8c4aec1556fd4133fbb066400293ec92d0264736f6c6343000602003349676e6f72654675643a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c756549676e6f72654675643a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c75646564270000000000000000000000002cd1ff27484448294613fcda727129393a9d9b250000000000000000000000008c0479c5173ddd98a22d283233f86189ccb7c027
Deployed Bytecode
0x60806040526004361061037a5760003560e01c8063871c128d116101d1578063ad56c13c11610102578063e7841ec0116100a0578063f27fd2541161006f578063f27fd25414610cf7578063f2fde38b14610d21578063fce589d814610d54578063fe6d812414610d6957610381565b8063e7841ec014610c8e578063e98030c714610ca3578063e9c2801c14610ccd578063f1e9f1e514610ce257610381565b8063c0246668116100dc578063c024666814610b51578063c492f04614610b8c578063dd62ed3e14610c3e578063e2f4560514610c7957610381565b8063ad56c13c14610a76578063afa0ffbc14610af4578063b62496f514610b1e57610381565b80639c1b8af51161016f578063a457c2d711610149578063a457c2d7146109a7578063a8b9d240146109e0578063a9059cbb14610a13578063aa60e73314610a4c57610381565b80639c1b8af5146109445780639dc29fac14610959578063a26579ad1461099257610381565b80638da5cb5b116101ab5780638da5cb5b146108ca57806395d89b41146108df57806398118cb4146108f45780639a7a23d61461090957610381565b8063871c128d1461083a57806388bdd9be146108645780638aee81271461089757610381565b806349bd5a5e116102ab578063664a1ad61161024957806370a082311161022357806370a08231146107b3578063715018a6146107e657806381c79ec2146107fb57806385141a771461082557610381565b8063664a1ad6146107415780636843cd8414610756578063700bb1911461078957610381565b80634e71d92d116102855780634e71d92d146106b15780634fbee193146106c657806364b0f653146106f957806365b8dbc01461070e57610381565b806349bd5a5e146106485780634b46e3011461065d5780634bf2c7c91461068757610381565b806330bb4cff11610318578063357bf15c116102f2578063357bf15c1461059757806339509351146105c157806340ba8768146105fa57806340c10f191461060f57610381565b806330bb4cff14610522578063313ce5671461053757806331e79db01461056257610381565b80631694505e116103545780631694505e1461048457806318160ddd146104b557806323b872dd146104ca5780632c1f52161461050d57610381565b806306fdde0314610386578063095ea7b31461041057806313114a9d1461045d57610381565b3661038157005b600080fd5b34801561039257600080fd5b5061039b610d7e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103d55781810151838201526020016103bd565b50505050905090810190601f1680156104025780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561041c57600080fd5b506104496004803603604081101561043357600080fd5b506001600160a01b038135169060200135610e14565b604080519115158252519081900360200190f35b34801561046957600080fd5b50610472610e32565b60408051918252519081900360200190f35b34801561049057600080fd5b50610499610e38565b604080516001600160a01b039092168252519081900360200190f35b3480156104c157600080fd5b50610472610e47565b3480156104d657600080fd5b50610449600480360360608110156104ed57600080fd5b506001600160a01b03813581169160208101359091169060400135610e4d565b34801561051957600080fd5b50610499610eda565b34801561052e57600080fd5b50610472610ee9565b34801561054357600080fd5b5061054c610f5f565b6040805160ff9092168252519081900360200190f35b34801561056e57600080fd5b506105956004803603602081101561058557600080fd5b50356001600160a01b0316610f68565b005b3480156105a357600080fd5b50610595600480360360208110156105ba57600080fd5b5035611033565b3480156105cd57600080fd5b50610449600480360360408110156105e457600080fd5b506001600160a01b03813516906020013561115b565b34801561060657600080fd5b506104726111af565b34801561061b57600080fd5b506105956004803603604081101561063257600080fd5b506001600160a01b0381351690602001356111b5565b34801561065457600080fd5b506104996112eb565b34801561066957600080fd5b506105956004803603602081101561068057600080fd5b50356112fa565b34801561069357600080fd5b50610595600480360360208110156106aa57600080fd5b503561136b565b3480156106bd57600080fd5b5061059561148c565b3480156106d257600080fd5b50610449600480360360208110156106e957600080fd5b50356001600160a01b0316611559565b34801561070557600080fd5b50610472611577565b34801561071a57600080fd5b506105956004803603602081101561073157600080fd5b50356001600160a01b03166115bc565b34801561074d57600080fd5b506104996118c5565b34801561076257600080fd5b506104726004803603602081101561077957600080fd5b50356001600160a01b03166118d4565b34801561079557600080fd5b50610595600480360360208110156107ac57600080fd5b5035611957565b3480156107bf57600080fd5b50610472600480360360208110156107d657600080fd5b50356001600160a01b0316611a3e565b3480156107f257600080fd5b50610595611a59565b34801561080757600080fd5b506105956004803603602081101561081e57600080fd5b5035611b0b565b34801561083157600080fd5b50610499611c28565b34801561084657600080fd5b506105956004803603602081101561085d57600080fd5b5035611c2e565b34801561087057600080fd5b506105956004803603602081101561088757600080fd5b50356001600160a01b0316611d55565b3480156108a357600080fd5b50610595600480360360208110156108ba57600080fd5b50356001600160a01b03166121dd565b3480156108d657600080fd5b506104996122a2565b3480156108eb57600080fd5b5061039b6122b6565b34801561090057600080fd5b50610472612317565b34801561091557600080fd5b506105956004803603604081101561092c57600080fd5b506001600160a01b038135169060200135151561231d565b34801561095057600080fd5b506104726123d6565b34801561096557600080fd5b506105956004803603604081101561097c57600080fd5b506001600160a01b0381351690602001356123dc565b34801561099e57600080fd5b5061047261244b565b3480156109b357600080fd5b50610449600480360360408110156109ca57600080fd5b506001600160a01b038135169060200135612490565b3480156109ec57600080fd5b5061047260048036036020811015610a0357600080fd5b50356001600160a01b03166124fe565b348015610a1f57600080fd5b5061044960048036036040811015610a3657600080fd5b506001600160a01b03813516906020013561254f565b348015610a5857600080fd5b5061059560048036036020811015610a6f57600080fd5b5035612563565b348015610a8257600080fd5b50610aa960048036036020811015610a9957600080fd5b50356001600160a01b03166126c4565b604080516001600160a01b0390991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b348015610b0057600080fd5b5061059560048036036020811015610b1757600080fd5b50356127ad565b348015610b2a57600080fd5b5061044960048036036020811015610b4157600080fd5b50356001600160a01b03166128c9565b348015610b5d57600080fd5b5061059560048036036040811015610b7457600080fd5b506001600160a01b03813516906020013515156128de565b348015610b9857600080fd5b5061059560048036036040811015610baf57600080fd5b810190602081018135640100000000811115610bca57600080fd5b820183602082011115610bdc57600080fd5b80359060200191846020830284011164010000000083111715610bfe57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050505035151590506129fe565b348015610c4a57600080fd5b5061047260048036036040811015610c6157600080fd5b506001600160a01b0381358116916020013516612b3d565b348015610c8557600080fd5b50610472612b68565b348015610c9a57600080fd5b50610472612b6e565b348015610caf57600080fd5b5061059560048036036020811015610cc657600080fd5b5035612bb3565b348015610cd957600080fd5b50610472612c62565b348015610cee57600080fd5b50610499612c68565b348015610d0357600080fd5b50610aa960048036036020811015610d1a57600080fd5b5035612c77565b348015610d2d57600080fd5b5061059560048036036020811015610d4457600080fd5b50356001600160a01b0316612cdd565b348015610d6057600080fd5b50610472612deb565b348015610d7557600080fd5b50610499612df1565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610e0a5780601f10610ddf57610100808354040283529160200191610e0a565b820191906000526020600020905b815481529060010190602001808311610ded57829003601f168201915b5050505050905090565b6000610e28610e21612e00565b8484612e04565b5060015b92915050565b60115481565b6006546001600160a01b031681565b60025490565b6000610e5a848484612ef0565b610ed084610e66612e00565b610ecb8560405180606001604052806028815260200161454d602891396001600160a01b038a16600090815260016020526040812090610ea4612e00565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6133a816565b612e04565b5060019392505050565b6008546001600160a01b031681565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b158015610f2e57600080fd5b505afa158015610f42573d6000803e3d6000fd5b505050506040513d6020811015610f5857600080fd5b5051905090565b60055460ff1690565b610f70612e00565b6001600160a01b0316610f816122a2565b6001600160a01b031614610fca576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6008546040805163031e79db60e41b81526001600160a01b038481166004830152915191909216916331e79db091602480830192600092919082900301818387803b15801561101857600080fd5b505af115801561102c573d6000803e3d6000fd5b5050505050565b61103b612e00565b6001600160a01b031661104c6122a2565b6001600160a01b031614611095576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b60086110c46010546110b8600f546110b886600d5461343f90919063ffffffff16565b9063ffffffff61343f16565b1115611105576040805162461bcd60e51b815260206004820152601c602482015260008051602061450c833981519152604482015290519081900360640190fd5b600e819055601054600f54600d5461112a92916110b89182908663ffffffff61343f16565b60115560405181907f5597c0e02a719eddde3b801d7abc15c0023afdcf6880c1e254427559820083c290600090a250565b6000610e28611168612e00565b84610ecb8560016000611179612e00565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61343f16565b60105481565b600a546001600160a01b03166111c9612e00565b6001600160a01b03161461121a576040805162461bcd60e51b81526020600482015260136024820152724d75737420626520746865206d696e7465722160681b604482015290519081900360640190fd5b61122482826134a0565b6008546001600160a01b031663e30443bc8361123f81611a3e565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561128e57600080fd5b505af192505050801561129f575060015b6112e7576040805162461bcd60e51b8152602060048201526014602482015273436f756c646e2774207365742062616c616e636560601b604482015290519081900360640190fd5b5050565b6007546001600160a01b031681565b611302612e00565b6001600160a01b03166113136122a2565b6001600160a01b03161461135c576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b670de0b6b3a764000002600c55565b611373612e00565b6001600160a01b03166113846122a2565b6001600160a01b0316146113cd576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b60086113f06010546110b8846110b8600e54600d5461343f90919063ffffffff16565b1115611431576040805162461bcd60e51b815260206004820152601c602482015260008051602061450c833981519152604482015290519081900360640190fd5b80600f8190555061145b6010546110b8600f546110b8600e54600d5461343f90919063ffffffff16565b60115560405181907fd54296e32811a7f2da2c1f6e8b39cb815ce208595da09bb98b034ccca6dffc6990600090a250565b6008546040805163bc4c4b3760e01b815233600482015260006024820181905291516001600160a01b039093169263bc4c4b3792604480840193602093929083900390910190829087803b1580156114e357600080fd5b505af11580156114f7573d6000803e3d6000fd5b505050506040513d602081101561150d57600080fd5b5051611557576040805162461bcd60e51b81526020600482015260146024820152734e6f207265776172647320746f20636c61696d2160601b604482015290519081900360640190fd5b565b6001600160a01b031660009081526016602052604090205460ff1690565b600854604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b158015610f2e57600080fd5b6115c4612e00565b6001600160a01b03166115d56122a2565b6001600160a01b03161461161e576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6006546001600160a01b038281169116141561166b5760405162461bcd60e51b815260040180806020018281038252602e8152602001806144a7602e913960400191505060405180910390fd5b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0383811691909117918290556040805163c45a015560e01b815290516000939092169163c45a015591600480820192602092909190829003018186803b15801561170457600080fd5b505afa158015611718573d6000803e3d6000fd5b505050506040513d602081101561172e57600080fd5b5051600654604080516315ab88c960e31b815290516001600160a01b039384169363c9c6539693309391169163ad5c464891600480820192602092909190829003018186803b15801561178057600080fd5b505afa158015611794573d6000803e3d6000fd5b505050506040513d60208110156117aa57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b1580156117fc57600080fd5b505af1158015611810573d6000803e3d6000fd5b505050506040513d602081101561182657600080fd5b5051600780546001600160a01b0319166001600160a01b0380841691909117918290559192506118589116600161359c565b6008546006546040805163031e79db60e41b81526001600160a01b039283166004820152905191909216916331e79db091602480830192600092919082900301818387803b1580156118a957600080fd5b505af11580156118bd573d6000803e3d6000fd5b505050505050565b6009546001600160a01b031681565b600854604080516370a0823160e01b81526001600160a01b038481166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b15801561192557600080fd5b505afa158015611939573d6000803e3d6000fd5b505050506040513d602081101561194f57600080fd5b505192915050565b600854604080516001624d3b8760e01b03198152600481018490529051600092839283926001600160a01b039092169163ffb2c4799160248082019260609290919082900301818787803b1580156119ae57600080fd5b505af11580156119c2573d6000803e3d6000fd5b505050506040513d60608110156119d857600080fd5b5080516020808301516040938401518451848152928301829052828501819052606083018990529351929650945091925032916000917fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989181900360800190a350505050565b6001600160a01b031660009081526020819052604090205490565b611a61612e00565b6001600160a01b0316611a726122a2565b6001600160a01b031614611abb576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b611b13612e00565b6001600160a01b0316611b246122a2565b6001600160a01b031614611b6d576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6008611b906010546110b8600f546110b8600e548761343f90919063ffffffff16565b1115611bd1576040805162461bcd60e51b815260206004820152601c602482015260008051602061450c833981519152604482015290519081900360640190fd5b600d819055601054600f54600e54611bf792916110b8918290869063ffffffff61343f16565b60115560405181907f1e8d0723ec2530f83d10c12ca10bbb82e108a28c018f0981c7f8e0b93ca8ef3f90600090a250565b61dead81565b611c36612e00565b6001600160a01b0316611c476122a2565b6001600160a01b031614611c90576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b62030d408110158015611ca657506207a1208111155b611ce15760405162461bcd60e51b815260040180806020018281038252603f81526020018061439f603f913960400191505060405180910390fd5b601554811415611d225760405162461bcd60e51b81526004018080602001828103825260378152602001806144d56037913960400191505060405180910390fd5b60155460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601555565b611d5d612e00565b6001600160a01b0316611d6e6122a2565b6001600160a01b031614611db7576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6008546001600160a01b0382811691161415611e045760405162461bcd60e51b81526004018080602001828103825260388152602001806143246038913960400191505060405180910390fd5b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611e4c57600080fd5b505afa158015611e60573d6000803e3d6000fd5b505050506040513d6020811015611e7657600080fd5b50516001600160a01b031614611ebd5760405162461bcd60e51b81526004018080602001828103825260518152602001806144046051913960600191505060405180910390fd5b6040805163031e79db60e41b81526001600160a01b0383166004820181905291516331e79db09160248082019260009290919082900301818387803b158015611f0557600080fd5b505af1158015611f19573d6000803e3d6000fd5b50506040805163031e79db60e41b815230600482015290516001600160a01b03851693506331e79db09250602480830192600092919082900301818387803b158015611f6457600080fd5b505af1158015611f78573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db0611f936122a2565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b158015611fdb57600080fd5b505af1158015611fef573d6000803e3d6000fd5b50506006546040805163031e79db60e41b81526001600160a01b039283166004820152905191851693506331e79db0925060248082019260009290919082900301818387803b15801561204157600080fd5b505af1158015612055573d6000803e3d6000fd5b50506040805163031e79db60e41b815261dead600482015290516001600160a01b03851693506331e79db09250602480830192600092919082900301818387803b1580156120a257600080fd5b505af11580156120b6573d6000803e3d6000fd5b50506040805163031e79db60e41b815260006004820181905291516001600160a01b03861694506331e79db093506024808301939282900301818387803b15801561210057600080fd5b505af1158015612114573d6000803e3d6000fd5b50506009546040805163031e79db60e41b81526001600160a01b039283166004820152905191851693506331e79db0925060248082019260009290919082900301818387803b15801561216657600080fd5b505af115801561217a573d6000803e3d6000fd5b50506008546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600880546001600160a01b0319166001600160a01b039290921691909117905550565b6121e5612e00565b6001600160a01b03166121f66122a2565b6001600160a01b03161461223f576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b038381169182179092556008546040805163f8cf31cb60e01b815260048101939093525192169163f8cf31cb9160248082019260009290919082900301818387803b15801561101857600080fd5b60055461010090046001600160a01b031690565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610e0a5780601f10610ddf57610100808354040283529160200191610e0a565b600e5481565b612325612e00565b6001600160a01b03166123366122a2565b6001600160a01b03161461237f576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6007546001600160a01b03838116911614156123cc5760405162461bcd60e51b81526004018080602001828103825260528152602001806144556052913960600191505060405180910390fd5b6112e7828261359c565b60155481565b600a546001600160a01b03166123f0612e00565b6001600160a01b031614612441576040805162461bcd60e51b81526020600482015260136024820152724d75737420626520746865206d696e7465722160681b604482015290519081900360640190fd5b61122482826136ca565b60085460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec916004808301926020929190829003018186803b158015610f2e57600080fd5b6000610e2861249d612e00565b84610ecb8560405180606001604052806025815260200161463460259139600160006124c7612e00565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6133a816565b600854604080516302a2e74960e61b81526001600160a01b0384811660048301529151600093929092169163a8b9d24091602480820192602092909190829003018186803b15801561192557600080fd5b6000610e2861255c612e00565b8484612ef0565b61256b612e00565b6001600160a01b031661257c6122a2565b6001600160a01b0316146125c5576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6009546040805160008082526020820192839052815190936001600160a01b031692859291819081908082805b602083106126115780518252601f1990920191602091820191016125f2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612673576040519150601f19603f3d011682016040523d82523d6000602084013e612678565b606091505b50509050806112e7576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fd5b600080600080600080600080600860009054906101000a90046001600160a01b03166001600160a01b031663fbcbc0f18a6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b031681526020019150506101006040518083038186803b15801561273c57600080fd5b505afa158015612750573d6000803e3d6000fd5b505050506040513d61010081101561276757600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e090970151959e50939c50919a509850965094509092509050919395975091939597565b6127b5612e00565b6001600160a01b03166127c66122a2565b6001600160a01b03161461280f576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6008612832826110b8600f546110b8600e54600d5461343f90919063ffffffff16565b1115612873576040805162461bcd60e51b815260206004820152601c602482015260008051602061450c833981519152604482015290519081900360640190fd5b6010819055600f54600e54600d546128989284926110b892839163ffffffff61343f16565b60115560405181907f3c0f1409a287278bc133454699b697511b1729af2915de9a70015782b0e5518b90600090a250565b60176020526000908152604090205460ff1681565b6128e6612e00565b6001600160a01b03166128f76122a2565b6001600160a01b031614612940576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526016602052604090205460ff161515811515141561299e5760405162461bcd60e51b81526004018080602001828103825260358152602001806145ff6035913960400191505060405180910390fd5b6001600160a01b038216600081815260166020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b612a06612e00565b6001600160a01b0316612a176122a2565b6001600160a01b031614612a60576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b60005b8251811015612ab7578160166000858481518110612a7d57fe5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101612a63565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358282604051808060200183151515158152602001828103825284818151815260200191508051906020019060200280838360005b83811015612b25578181015183820152602001612b0d565b50505050905001935050505060405180910390a15050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600c5481565b6008546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec0916004808301926020929190829003018186803b158015610f2e57600080fd5b612bbb612e00565b6001600160a01b0316612bcc6122a2565b6001600160a01b031614612c15576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6008546040805163e98030c760e01b81526004810184905290516001600160a01b039092169163e98030c79160248082019260009290919082900301818387803b15801561101857600080fd5b600d5481565b600b546001600160a01b031681565b600080600080600080600080600860009054906101000a90046001600160a01b03166001600160a01b0316635183d6fd8a6040518263ffffffff1660e01b8152600401808281526020019150506101006040518083038186803b15801561273c57600080fd5b612ce5612e00565b6001600160a01b0316612cf66122a2565b6001600160a01b031614612d3f576040805162461bcd60e51b81526020600482018190526024820152600080516020614575833981519152604482015290519081900360640190fd5b6001600160a01b038116612d845760405162461bcd60e51b81526004018080602001828103825260268152602001806142dc6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600f5481565b600a546001600160a01b031681565b3390565b6001600160a01b038316612e495760405162461bcd60e51b81526004018080602001828103825260248152602001806145db6024913960400191505060405180910390fd5b6001600160a01b038216612e8e5760405162461bcd60e51b81526004018080602001828103825260228152602001806143026022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316612f355760405162461bcd60e51b81526004018080602001828103825260258152602001806145b66025913960400191505060405180910390fd5b6001600160a01b038216612f7a5760405162461bcd60e51b81526004018080602001828103825260238152602001806142976023913960400191505060405180910390fd5b80612f9057612f8b838360006137d2565b6133a3565b6000612f9b30611a3e565b600c5490915081108015908190612fbc5750600754600160a01b900460ff16155b8015612fe157506001600160a01b03851660009081526017602052604090205460ff16155b80156130065750612ff06122a2565b6001600160a01b0316856001600160a01b031614155b801561302b57506130156122a2565b6001600160a01b0316846001600160a01b031614155b156130f1576007805460ff60a01b1916600160a01b179055601154600e5460009161306d9161306190869063ffffffff61393916565b9063ffffffff61399216565b9050600061308c601154613061600f548761393990919063ffffffff16565b905060006130ab6011546130616010548861393990919063ffffffff16565b90506130b6836139f9565b6130bf81613a93565b6130c930836136ca565b60006130d430611a3e565b90506130df81613c8d565b50506007805460ff60a01b1916905550505b6001600160a01b03841660009081526017602052604081205460ff161561311a5750600161311e565b5060005b6001600160a01b03861660009081526016602052604090205460ff168061315d57506001600160a01b03851660009081526016602052604090205460ff165b15613166575060005b80156131a957600061318860646130616011548861393990919063ffffffff16565b905061319a858263ffffffff613e4416565b94506131a78730836137d2565b505b6131b48686866137d2565b6008546001600160a01b031663e30443bc876131cf81611a3e565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561321e57600080fd5b505af192505050801561322f575060015b506008546001600160a01b031663e30443bc8661324b81611a3e565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561329a57600080fd5b505af19250505080156132ab575060015b50600754600160a01b900460ff166118bd57601554600854604080516001624d3b8760e01b031981526004810184905290516001600160a01b039092169163ffb2c479916024808201926060929091908290030181600087803b15801561331157600080fd5b505af192505050801561334557506040513d606081101561333157600080fd5b508051602082015160409092015190919060015b61334e5761339e565b604080518481526020810184905280820183905260608101869052905132916001917fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989181900360800190a35050505b505050505b505050565b600081848411156134375760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156133fc5781810151838201526020016133e4565b50505050905090810190601f1680156134295780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015613499576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b0382166134fb576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b613507600083836133a3565b60025461351a908263ffffffff61343f16565b6002556001600160a01b038216600090815260208190526040902054613546908263ffffffff61343f16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b03821660009081526017602052604090205460ff16151581151514156135fa5760405162461bcd60e51b815260040180806020018281038252604381526020018061435c6043913960600191505060405180910390fd5b6001600160a01b0382166000908152601760205260409020805460ff1916821580159190911790915561368e576008546040805163031e79db60e41b81526001600160a01b038581166004830152915191909216916331e79db091602480830192600092919082900301818387803b15801561367557600080fd5b505af1158015613689573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b03821661370f5760405162461bcd60e51b81526004018080602001828103825260218152602001806145956021913960400191505060405180910390fd5b61371b826000836133a3565b61375e816040518060600160405280602281526020016142ba602291396001600160a01b038516600090815260208190526040902054919063ffffffff6133a816565b6001600160a01b03831660009081526020819052604090205560025461378a908263ffffffff613e4416565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b0383166138175760405162461bcd60e51b81526004018080602001828103825260258152602001806145b66025913960400191505060405180910390fd5b6001600160a01b03821661385c5760405162461bcd60e51b81526004018080602001828103825260238152602001806142976023913960400191505060405180910390fd5b6138678383836133a3565b6138aa816040518060600160405280602681526020016143de602691396001600160a01b038616600090815260208190526040902054919063ffffffff6133a816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546138df908263ffffffff61343f16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008261394857506000610e2c565b8282028284828161395557fe5b04146134995760405162461bcd60e51b815260040180806020018281038252602181526020018061452c6021913960400191505060405180910390fd5b60008082116139e8576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816139f157fe5b049392505050565b6000613a0c82600263ffffffff61399216565b90506000613a20838363ffffffff613e4416565b905047613a2c83613ea1565b476000613a3f828463ffffffff613e4416565b9050613a4b8582614033565b604080518681526020810183905280820186905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a1505050505050565b60408051600280825260608083018452926020830190803883390190505090503081600081518110613ac157fe5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015613b1557600080fd5b505afa158015613b29573d6000803e3d6000fd5b505050506040513d6020811015613b3f57600080fd5b5051815182906001908110613b5057fe5b6001600160a01b039283166020918202929092010152600654613b769130911684612e04565b60065460095460405163791ac94760e01b8152600481018581526000602483018190526001600160a01b0393841660648401819052426084850181905260a060448601908152885160a48701528851969097169663791ac947968a9694958a9590929160c490910190602080880191028083838b5b83811015613c03578181015183820152602001613beb565b505050509050019650505050505050600060405180830381600087803b158015613c2c57600080fd5b505af1158015613c40573d6000803e3d6000fd5b5050600954604080518681526001600160a01b03909216602083015280517f076a6f562f28adda4cd420e01b25d3d7a42ef2643cbbf7617907208ddb99c113945091829003019150a15050565b613c9681614103565b600b54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015613ce157600080fd5b505afa158015613cf5573d6000803e3d6000fd5b505050506040513d6020811015613d0b57600080fd5b5051600b546008546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018590529051939450600093919092169163a9059cbb91604480830192602092919082900301818787803b158015613d6b57600080fd5b505af1158015613d7f573d6000803e3d6000fd5b505050506040513d6020811015613d9557600080fd5b5051905080156133a357600854604080516301d4c84960e31b81526004810185905290516001600160a01b0390921691630ea642489160248082019260009290919082900301818387803b158015613dec57600080fd5b505af1158015613e00573d6000803e3d6000fd5b5050604080518681526020810186905281517f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc39450908190039091019150a1505050565b600082821115613e9b576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60408051600280825260608083018452926020830190803883390190505090503081600081518110613ecf57fe5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015613f2357600080fd5b505afa158015613f37573d6000803e3d6000fd5b505050506040513d6020811015613f4d57600080fd5b5051815182906001908110613f5e57fe5b6001600160a01b039283166020918202929092010152600654613f849130911684612e04565b60065460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b8381101561400a578181015183820152602001613ff2565b505050509050019650505050505050600060405180830381600087803b1580156118a957600080fd5b60065461404b9030906001600160a01b031684612e04565b6006546040805163f305d71960e01b8152306004820152602481018590526000604482018190526064820181905260848201524260a482015290516001600160a01b039092169163f305d71991849160c480830192606092919082900301818588803b1580156140ba57600080fd5b505af11580156140ce573d6000803e3d6000fd5b50505050506040513d60608110156140e557600080fd5b50805160208201516040909201516014556013919091556012555050565b60408051600380825260808201909252606091602082018380388339019050509050308160008151811061413357fe5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561418757600080fd5b505afa15801561419b573d6000803e3d6000fd5b505050506040513d60208110156141b157600080fd5b50518151829060019081106141c257fe5b6001600160a01b039283166020918202929092010152600b548251911690829060029081106141ed57fe5b6001600160a01b0392831660209182029290920101526006546142139130911684612e04565b600654604051635c11d79560e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b0390971696635c11d795968a968a9594939092909160c40190602087810191028083838b831561400a578181015183820152602001613ff256fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737349676e6f72654675643a20546865206469766964656e6420747261636b657220616c7265616479206861732074686174206164647265737349676e6f72654675643a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c756549676e6f72654675643a20676173466f7250726f63657373696e67206d757374206265206265747765656e203230302c30303020616e64203530302c30303045524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636549676e6f72654675643a20546865206e6577206469766964656e6420747261636b6572206d757374206265206f776e6564206279207468652049676e6f726546756420746f6b656e20636f6e747261637449676e6f72654675643a205468652049676e6f72654675642d424e4220706169722063616e6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6572506169727349676e6f72654675643a2054686520726f7574657220616c7265616479206861732074686174206164647265737349676e6f72654675643a2043616e6e6f742075706461746520676173466f7250726f63657373696e6720746f2073616d652076616c756549676e6f72654675643a204d6178696d756d2074617820697320382500000000536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737349676e6f72654675643a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c756465642745524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122048d883ed33e1194decdf106419d1b33bd079297708084984749078d643df151a64736f6c63430006020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002cd1ff27484448294613fcda727129393a9d9b250000000000000000000000008c0479c5173ddd98a22d283233f86189ccb7c027
-----Decoded View---------------
Arg [0] : _fundWallet (address): 0x2cD1FF27484448294613FCdA727129393A9d9b25
Arg [1] : _minter (address): 0x8C0479c5173DdD98A22d283233f86189CCb7C027
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000002cd1ff27484448294613fcda727129393a9d9b25
Arg [1] : 0000000000000000000000008c0479c5173ddd98a22d283233f86189ccb7c027
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.