ERC-20
Overview
Max Total Supply
100,000,000 VC
Holders
156
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
2,699,999.999999999999997424 VCValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
VitalikCake
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** Happy Birthday, Vitalik! http://vitalikcake.com/ http://t.me/vitalikcake **/ pragma solidity ^0.8.12; // SPDX-License-Identifier: Unlicensed interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != - 1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? - a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } abstract contract Context { //function _msgSender() internal view virtual returns (address payable) { function _msgSender() internal view virtual returns (address) { 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; } } library Address { function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly {codehash := extcodehash(account)} return (codehash != accountHash && codehash != 0x0); } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success,) = recipient.call{value : amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{value : weiValue}(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function factory() external pure returns (address); function WETH() external pure returns (address); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); } contract VitalikCake is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } IUniswapV2Router02 public uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address public uniswapV2Pair = address(0); mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private botWallets; mapping(address => bool) private _isExcludedFromFee; mapping(address => bool) private isExchangeWallet; mapping(address => bool) private _isExcludedFromRewards; string private _name = "VitalikCake"; string private _symbol = "VC"; uint8 private _decimals = 18; uint256 private _tTotal = 100000000 * 10 ** _decimals; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; bool isTaxFreeTransfer = true; uint256 public _maxBuyAmount = (_tTotal * 25) / 10000; //0.25% uint256 public ethPriceToSwap = 10000000000000000; //.01 ETH uint public ethSellAmount = 50000000000000000; //.1 ETH uint256 public _maxWalletAmount = (_tTotal * 1) / 100; //2% address public buyBackAddress; address public marketingAddress; address public devAddress; address public deadWallet = 0x000000000000000000000000000000000000dEaD; uint256 public gasForProcessing = 50000; event ProcessedDividendTracker(uint256 iterations, uint256 claims, uint256 lastProcessedIndex, bool indexed automatic, uint256 gas, address indexed processor); event SendDividends(uint256 EthAmount); struct Distribution { uint256 devTeam; uint256 marketing; uint256 dividend; uint256 buyBack; } struct TaxFees { uint256 buyFee; uint256 sellFee; uint256 largeSellFee; } bool private doTakeFees; bool private isSellTxn; TaxFees public taxFees; Distribution public distribution; DividendTracker private dividendTracker; constructor () { uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); _isExcludedFromRewards[uniswapV2Pair] = true; dividendTracker = new DividendTracker(); dividendTracker.setERC20Contract(address(this)); buyBackAddress = address(owner()); marketingAddress = address(owner()); devAddress = address(owner()); _balances[_msgSender()] = _tTotal; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[_msgSender()] = true; _isExcludedFromFee[buyBackAddress] = true; _isExcludedFromFee[marketingAddress] = true; _isExcludedFromFee[devAddress] = true; _isExcludedFromRewards[marketingAddress] = true; _isExcludedFromRewards[_msgSender()] = true; _isExcludedFromRewards[owner()] = true; _isExcludedFromRewards[buyBackAddress] = true; _isExcludedFromRewards[devAddress] = true; _isExcludedFromRewards[deadWallet] = true; _approve(_msgSender(), address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D), _tTotal); _isExcludedFromRewards[0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B] = true; _isExcludedFromFee[0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B] = true; isExchangeWallet[0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B] = true; taxFees = TaxFees(10, 10, 0); distribution = Distribution(0, 40, 60, 0); emit Transfer(address(0), _msgSender(), _tTotal); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } 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; } function setMaxWalletAmount(uint256 maxWalletAmount) external onlyOwner() { _maxWalletAmount = maxWalletAmount * 10 ** _decimals; } function excludeIncludeFromFee(address[] calldata addresses, bool isExcludeFromFee) public onlyOwner { addRemoveFee(addresses, isExcludeFromFee); } function addRemoveExchange(address[] calldata addresses, bool isAddExchange) public onlyOwner { _addRemoveExchange(addresses, isAddExchange); } function excludeIncludeFromRewards(address[] calldata addresses, bool isExcluded) public onlyOwner { addRemoveRewards(addresses, isExcluded); } function isExcludedFromRewards(address addr) public view returns (bool) { return _isExcludedFromRewards[addr]; } function addRemoveRewards(address[] calldata addresses, bool flag) private { for (uint256 i = 0; i < addresses.length; i++) { address addr = addresses[i]; _isExcludedFromRewards[addr] = flag; } } function setEthSwapSellSettings(uint ethSellAmount_, uint256 ethPriceToSwap_) external onlyOwner { ethSellAmount = ethSellAmount_; ethPriceToSwap = ethPriceToSwap_; } function _addRemoveExchange(address[] calldata addresses, bool flag) private { for (uint256 i = 0; i < addresses.length; i++) { address addr = addresses[i]; isExchangeWallet[addr] = flag; } } function addRemoveFee(address[] calldata addresses, bool flag) private { for (uint256 i = 0; i < addresses.length; i++) { address addr = addresses[i]; _isExcludedFromFee[addr] = flag; } } function setMaxBuyAmount(uint256 maxBuyAmount) external onlyOwner() { _maxBuyAmount = maxBuyAmount * 10 ** _decimals; } function setTaxFees(uint256 buyFee, uint256 sellFee, uint256 largeSellFee) external onlyOwner { taxFees.buyFee = buyFee; taxFees.sellFee = sellFee; taxFees.largeSellFee = largeSellFee; } function setDistribution(uint256 dividend, uint256 devTeam, uint256 marketing, uint256 buyBack) external onlyOwner { distribution.dividend = dividend; distribution.devTeam = devTeam; distribution.marketing = marketing; distribution.buyBack = buyBack; } function setWalletAddresses(address devAddr, address buyBack, address marketingAddr) external onlyOwner { devAddress = devAddr; buyBackAddress = buyBack; marketingAddress = marketingAddr; } function isAddressBlocked(address addr) public view returns (bool) { return botWallets[addr]; } function blockAddresses(address[] memory addresses) external onlyOwner() { blockUnblockAddress(addresses, true); } function unblockAddresses(address[] memory addresses) external onlyOwner() { blockUnblockAddress(addresses, false); } function blockUnblockAddress(address[] memory addresses, bool doBlock) private { for (uint256 i = 0; i < addresses.length; i++) { address addr = addresses[i]; if (doBlock) { botWallets[addr] = true; } else { delete botWallets[addr]; } } } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } receive() external payable {} function getEthPrice(uint tokenAmount) public view returns (uint) { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); return uniswapV2Router.getAmountsOut(tokenAmount, path)[1]; } function isExcludedFromFee(address account) public view returns (bool) { return _isExcludedFromFee[account]; } function enableDisableTaxFreeTransfers(bool enableDisable) external onlyOwner { isTaxFreeTransfer = enableDisable; } function _approve(address owner, address spender, uint256 amount) private { 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); } function _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); require(uniswapV2Pair != address(0), "UniswapV2Pair has not been set"); bool isSell = false; bool takeFees = !_isExcludedFromFee[from] && !_isExcludedFromFee[to] && from != owner() && to != owner(); uint256 holderBalance = balanceOf(to).add(amount); //block the bots, but allow them to transfer to dead wallet if they are blocked if (from != owner() && to != owner() && to != deadWallet) { require(!botWallets[from] && !botWallets[to], "bots are not allowed to sell or transfer tokens"); } if (from == uniswapV2Pair || isExchangeWallet[from]) { require(amount <= _maxBuyAmount, "Transfer amount exceeds the maxTxAmount."); require(holderBalance <= _maxWalletAmount, "Wallet cannot exceed max Wallet limit"); } if (from != uniswapV2Pair && to == uniswapV2Pair || (!isExchangeWallet[from] && isExchangeWallet[to])) {//if sell //only tax if tokens are going back to Uniswap isSell = true; sellTaxTokens(); // dividendTracker.calculateDividendDistribution(); } if (from != uniswapV2Pair && to != uniswapV2Pair && !isExchangeWallet[from] && !isExchangeWallet[to]) { takeFees = isTaxFreeTransfer ? false : true; require(holderBalance <= _maxWalletAmount, "Wallet cannot exceed max Wallet limit"); } _tokenTransfer(from, to, amount, takeFees, isSell, true); } function sellTaxTokens() private { uint256 contractTokenBalance = balanceOf(address(this)); if (contractTokenBalance > 0) { uint ethPrice = getEthPrice(contractTokenBalance); if (ethPrice >= ethPriceToSwap && !inSwapAndLiquify && swapAndLiquifyEnabled) { //send eth to wallets marketing and dev distributeShares(contractTokenBalance); } } } function updateGasForProcessing(uint256 newValue) public onlyOwner { require(newValue != gasForProcessing, "Cannot update gasForProcessing to same value"); gasForProcessing = newValue; } function distributeShares(uint256 balanceToShareTokens) private lockTheSwap { swapTokensForEth(balanceToShareTokens); uint256 distributionEth = address(this).balance; uint256 marketingShare = distributionEth.mul(distribution.marketing).div(100); uint256 dividendShare = distributionEth.mul(distribution.dividend).div(100); uint256 devTeamShare = distributionEth.mul(distribution.devTeam).div(100); uint256 buyBackShare = distributionEth.mul(distribution.buyBack).div(100); payable(marketingAddress).transfer(marketingShare); sendEthDividends(dividendShare); payable(devAddress).transfer(devTeamShare); payable(buyBackAddress).transfer(buyBackShare); } function setDividendTracker(address dividendContractAddress) external onlyOwner { dividendTracker = DividendTracker(payable(dividendContractAddress)); } function trackerAddress() external view returns (address) { return address(dividendTracker); } function sendEthDividends(uint256 dividends) private { (bool success,) = address(dividendTracker).call{value : dividends}(""); if (success) { emit SendDividends(dividends); } } 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 ); } //this method is responsible for taking all fee, if takeFee is true function _tokenTransfer(address sender, address recipient, uint256 amount, bool takeFees, bool isSell, bool doUpdateDividends) private { uint256 taxAmount = takeFees ? amount.mul(taxFees.buyFee).div(100) : 0; if (takeFees && isSell) { taxAmount = amount.mul(taxFees.sellFee).div(100); if (taxFees.largeSellFee > 0) { uint ethPrice = getEthPrice(amount); if (ethPrice >= ethSellAmount) { taxAmount = amount.mul(taxFees.largeSellFee).div(100); } } } uint256 transferAmount = amount.sub(taxAmount); _balances[sender] = _balances[sender].sub(amount); _balances[recipient] = _balances[recipient].add(transferAmount); _balances[address(this)] = _balances[address(this)].add(taxAmount); emit Transfer(sender, recipient, amount); if (doUpdateDividends) { try dividendTracker.setTokenBalance(sender) {} catch{} try dividendTracker.setTokenBalance(recipient) {} catch{} try dividendTracker.process(gasForProcessing) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) { emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gasForProcessing, tx.origin); }catch {} } } } contract IterableMapping { // Iterable mapping from address to uint; struct Map { address[] keys; mapping(address => uint) values; mapping(address => uint) indexOf; mapping(address => bool) inserted; } Map private map; function get(address key) public view returns (uint) { return map.values[key]; } function keyExists(address key) public view returns (bool) { return (getIndexOfKey(key) != - 1); } function getIndexOfKey(address key) public view returns (int) { if (!map.inserted[key]) { return - 1; } return int(map.indexOf[key]); } function getKeyAtIndex(uint index) public view returns (address) { return map.keys[index]; } function size() public view returns (uint) { return map.keys.length; } function set(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(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(); } } contract DividendTracker is IERC20, Context, Ownable { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; uint256 constant internal magnitude = 2 ** 128; uint256 internal magnifiedDividendPerShare; mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; mapping(address => uint256) internal claimedDividends; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name = "VitalikCake TRACKER"; string private _symbol = "VitalikCakeT"; uint8 private _decimals = 18; uint256 public totalDividendsDistributed; IterableMapping private tokenHoldersMap = new IterableMapping(); uint256 public minimumTokenBalanceForDividends = 200000 * 10 ** _decimals; //0.2% VitalikCake private token; bool public doCalculation = false; event updateBalance(address addr, uint256 amount); event DividendsDistributed(address indexed from, uint256 weiAmount); event DividendWithdrawn(address indexed to, uint256 weiAmount); uint256 public lastProcessedIndex; mapping(address => uint256) public lastClaimTimes; uint256 public claimWait = 3600; event ExcludeFromDividends(address indexed account); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim(address indexed account, uint256 amount, bool indexed automatic); constructor() { emit Transfer(address(0), _msgSender(), 0); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address, uint256) public pure returns (bool) { require(false, "No transfers allowed in dividend tracker"); return true; } function transferFrom(address, address, uint256) public pure override returns (bool) { require(false, "No transfers allowed in dividend tracker"); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } 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; } function _approve(address owner, address spender, uint256 amount) private { 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); } function setTokenBalance(address account) external { uint256 balance = token.balanceOf(account); if (!token.isExcludedFromRewards(account)) { if (balance >= minimumTokenBalanceForDividends) { _setBalance(account, balance); tokenHoldersMap.set(account, balance); } else { _setBalance(account, 0); tokenHoldersMap.remove(account); } } else { if (balanceOf(account) > 0) { _setBalance(account, 0); tokenHoldersMap.remove(account); } } processAccount(payable(account), true); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .sub((magnifiedDividendPerShare.mul(amount)).toInt256Safe()); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .add((magnifiedDividendPerShare.mul(amount)).toInt256Safe()); } receive() external payable { distributeDividends(); } function setERC20Contract(address contractAddr) external onlyOwner { token = VitalikCake(payable(contractAddr)); } function totalClaimedDividends(address account) external view returns (uint256){ return withdrawnDividends[account]; } function excludeFromDividends(address account) external onlyOwner { _setBalance(account, 0); tokenHoldersMap.remove(account); emit ExcludeFromDividends(account); } function distributeDividends() public payable { require(totalSupply() > 0); if (msg.value > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (msg.value).mul(magnitude) / totalSupply() ); emit DividendsDistributed(msg.sender, msg.value); totalDividendsDistributed = totalDividendsDistributed.add(msg.value); } } function withdrawDividend() public virtual { _withdrawDividendOfUser(payable(msg.sender)); } 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,) = user.call{value : _withdrawableDividend, gas : 3000}(""); if (!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } return _withdrawableDividend; } return 0; } function dividendOf(address _owner) public view returns (uint256) { return withdrawableDividendOf(_owner); } function withdrawableDividendOf(address _owner) public view returns (uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } function withdrawnDividendOf(address _owner) public view returns (uint256) { return withdrawnDividends[_owner]; } function accumulativeDividendOf(address _owner) public view returns (uint256) { return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe() .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude; } function setMinimumTokenBalanceForDividends(uint256 newMinTokenBalForDividends) external onlyOwner { minimumTokenBalanceForDividends = newMinTokenBalForDividends * (10 ** _decimals); } function updateClaimWait(uint256 newClaimWait) external onlyOwner { require(newClaimWait >= 3600 && newClaimWait <= 86400, "ClaimWait must be updated to between 1 and 24 hours"); require(newClaimWait != claimWait, "Cannot update claimWait to same value"); emit ClaimWaitUpdated(newClaimWait, claimWait); claimWait = newClaimWait; } function getLastProcessedIndex() external view returns (uint256) { return lastProcessedIndex; } function minimumTokenLimit() public view returns (uint256) { return minimumTokenBalanceForDividends; } function getNumberOfTokenHolders() external view returns (uint256) { return tokenHoldersMap.size(); } 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.size() > lastProcessedIndex ? tokenHoldersMap.size().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 canAutoClaim(uint256 lastClaimTime) private view returns (bool) { if (lastClaimTime > block.timestamp) { return false; } return block.timestamp.sub(lastClaimTime) >= claimWait; } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = balanceOf(account); if (newBalance > currentBalance) { uint256 mintAmount = newBalance.sub(currentBalance); _mint(account, mintAmount); } else if (newBalance < currentBalance) { uint256 burnAmount = currentBalance.sub(newBalance); _burn(account, burnAmount); } } function process(uint256 gas) public returns (uint256, uint256, uint256) { uint256 numberOfTokenHolders = tokenHoldersMap.size(); 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.size()) { _lastProcessedIndex = 0; } address account = tokenHoldersMap.getKeyAtIndex(_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 processAccountByDeployer(address payable account, bool automatic) external onlyOwner { processAccount(account, automatic); } function totalDividendClaimed(address account) public view returns (uint256) { return claimedDividends[account]; } function processAccount(address payable account, bool automatic) private returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if (amount > 0) { uint256 totalClaimed = claimedDividends[account]; claimedDividends[account] = amount.add(totalClaimed); lastClaimTimes[account] = block.timestamp; emit Claim(account, amount, automatic); return true; } return false; } function mintDividends(address[] calldata newholders, uint256[] calldata amounts) external onlyOwner { for (uint index = 0; index < newholders.length; index++) { address account = newholders[index]; uint256 amount = amounts[index] * 10 ** _decimals; if (amount >= minimumTokenBalanceForDividends) { _setBalance(account, amount); tokenHoldersMap.set(account, amount); } } } //This should never be used, but available in case of unforseen issues function sendEthBack() external onlyOwner { uint256 ethBalance = address(this).balance; payable(owner()).transfer(ethBalance); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"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":false,"internalType":"uint256","name":"EthAmount","type":"uint256"}],"name":"SendDividends","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":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","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"},{"inputs":[],"name":"_maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"bool","name":"isAddExchange","type":"bool"}],"name":"addRemoveExchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"blockAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyBackAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distribution","outputs":[{"internalType":"uint256","name":"devTeam","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"dividend","type":"uint256"},{"internalType":"uint256","name":"buyBack","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"enableDisable","type":"bool"}],"name":"enableDisableTaxFreeTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ethPriceToSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"bool","name":"isExcludeFromFee","type":"bool"}],"name":"excludeIncludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeIncludeFromRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"getEthPrice","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":"addr","type":"address"}],"name":"isAddressBlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isExcludedFromRewards","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dividend","type":"uint256"},{"internalType":"uint256","name":"devTeam","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"buyBack","type":"uint256"}],"name":"setDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"dividendContractAddress","type":"address"}],"name":"setDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ethSellAmount_","type":"uint256"},{"internalType":"uint256","name":"ethPriceToSwap_","type":"uint256"}],"name":"setEthSwapSellSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxBuyAmount","type":"uint256"}],"name":"setMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxWalletAmount","type":"uint256"}],"name":"setMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyFee","type":"uint256"},{"internalType":"uint256","name":"sellFee","type":"uint256"},{"internalType":"uint256","name":"largeSellFee","type":"uint256"}],"name":"setTaxFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"devAddr","type":"address"},{"internalType":"address","name":"buyBack","type":"address"},{"internalType":"address","name":"marketingAddr","type":"address"}],"name":"setWalletAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxFees","outputs":[{"internalType":"uint256","name":"buyFee","type":"uint256"},{"internalType":"uint256","name":"sellFee","type":"uint256"},{"internalType":"uint256","name":"largeSellFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"trackerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"unblockAddresses","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":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
600180546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1790915560028054909116905560c0604052600b60808190526a566974616c696b43616b6560a81b60a0908152620000609160099190620007c7565b5060408051808201909152600280825261564360f01b60209092019182526200008c91600a91620007c7565b50600b805460ff19166012908117909155620000aa90600a62000990565b620000ba906305f5e100620009a8565b600c819055600d805462ffff0019166201010017905561271090620000e1906019620009a8565b620000ed9190620009ca565b600e55662386f26fc10000600f5566b1a2bc2ec500006010556064600c546001620001199190620009a8565b620001259190620009ca565b601155601580546001600160a01b03191661dead17905561c3506016553480156200014f57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600160009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020b9190620009ed565b6001600160a01b031663c9c6539630600160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200026e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002949190620009ed565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003089190620009ed565b600280546001600160a01b0319166001600160a01b0392909216918217905560009081526008602052604090819020805460ff19166001179055516200034e9062000856565b604051809103906000f0801580156200036b573d6000803e3d6000fd5b50601f80546001600160a01b0319166001600160a01b039290921691821790556040516319591aa760e31b815230600482015263cac8d53890602401600060405180830381600087803b158015620003c257600080fd5b505af1158015620003d7573d6000803e3d6000fd5b50505050620003eb6200068c60201b60201c565b601280546001600160a01b039283166001600160a01b0319918216178255600080546013805484169186169182178155601480549094169091178355600c54338084526003602090815260408086209390935584548816855260068152828520805460ff199081166001908117909255838752848720805482168317905588548a168752848720805482168317905585548a168752848720805482168317905587548a1687528487208054821683179055945489168652600890915282852080548516821790558185528285208054851682179055845488168552828520805485168217905595548716845281842080548416871790559354861683528083208054831686179055601554909516825293902080549093169091179091556200052d90600c54737a250d5630b4cf539739df2c5dacb4c659f2488d906200069b565b73ab5801a7d398351b8be11c439e05c5b3259aec9b60009081527f97e75841f85d535c8c20fd3ec5560d6ad1b5c0a4fec9547a611f92be71613c688054600160ff1991821681179092557fb85cef5fe77e8034ffc0628bfdaa4e84e3a3eb8caefb0d34f2187229643baf5c8054821683179055600760209081527f6b5d059cf98e4f01261bec508f1e35376686c59d61a5a6c769a9e36caddcff37805490921690921790556040805160608082018352600a8083528285018190529183018590526018829055601991909155601a84905581516080810183528481526028938101849052603c92810183905201839052601b839055601c91909155601d55601e55620006363390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600c546040516200067e91815260200190565b60405180910390a362000a55565b6000546001600160a01b031690565b6001600160a01b038316620007035760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620007665760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620006fa565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b828054620007d59062000a18565b90600052602060002090601f016020900481019282620007f9576000855562000844565b82601f106200081457805160ff191683800117855562000844565b8280016001018555821562000844579182015b828111156200084457825182559160200191906001019062000827565b506200085292915062000864565b5090565b612e20806200356583390190565b5b8082111562000852576000815560010162000865565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620008d2578160001904821115620008b657620008b66200087b565b80851615620008c457918102915b93841c939080029062000896565b509250929050565b600082620008eb575060016200098a565b81620008fa575060006200098a565b81600181146200091357600281146200091e576200093e565b60019150506200098a565b60ff8411156200093257620009326200087b565b50506001821b6200098a565b5060208310610133831016604e8410600b841016171562000963575081810a6200098a565b6200096f838362000891565b80600019048211156200098657620009866200087b565b0290505b92915050565b6000620009a160ff841683620008da565b9392505050565b6000816000190483118215151615620009c557620009c56200087b565b500290565b600082620009e857634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121562000a0057600080fd5b81516001600160a01b0381168114620009a157600080fd5b600181811c9082168062000a2d57607f821691505b6020821081141562000a4f57634e487b7160e01b600052602260045260246000fd5b50919050565b612b008062000a656000396000f3fe6080604052600436106102975760003560e01c8063783478ad1161015a57806398acb5d8116100c1578063c49b9a801161007a578063c49b9a8014610851578063dd62ed3e14610871578063e7dad4f9146108b7578063f2fde38b146108f0578063f34eb0b814610910578063fb6287d21461093057600080fd5b806398acb5d81461079b5780639b0e2e86146107bb5780639c1b8af5146107db578063a457c2d7146107f1578063a5ece94114610811578063a9059cbb1461083157600080fd5b8063871c128d11610113578063871c128d146106f25780638da5cb5b1461071257806391142cb31461073057806395d89b4114610746578063968481361461075b5780639758f61d1461077b57600080fd5b8063783478ad146106345780637bde92bc1461065457806382d1d6861461067457806385141a771461069257806385d4787b146106b2578063870d365d146106d257600080fd5b80633ad10ef6116101fe57806354a5df1f116101b757806354a5df1f1461055a5780635ee58efc146105705780636c0a24eb146105b357806370a08231146105c9578063715018a6146105ff57806371cd56af1461061457600080fd5b80633ad10ef614610482578063441d801f146104a257806349bd5a5e146104c25780634a74bb02146104e25780634e781233146105015780635342acb41461052157600080fd5b80631694505e116102505780631694505e146103b357806318160ddd146103eb57806323b872dd1461040057806327a14fc214610420578063313ce56714610440578063395093511461046257600080fd5b80630492f055146102a357806306fdde03146102cc578063095ea7b3146102ee5780630ddc09761461031e5780630e832273146103585780630fc709e51461039157600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506102b9600e5481565b6040519081526020015b60405180910390f35b3480156102d857600080fd5b506102e1610950565b6040516102c391906122dd565b3480156102fa57600080fd5b5061030e610309366004612347565b6109e2565b60405190151581526020016102c3565b34801561032a57600080fd5b50601854601954601a5461033d92919083565b604080519384526020840192909252908201526060016102c3565b34801561036457600080fd5b5061030e610373366004612373565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561039d57600080fd5b506103b16103ac366004612390565b6109f9565b005b3480156103bf57600080fd5b506001546103d3906001600160a01b031681565b6040516001600160a01b0390911681526020016102c3565b3480156103f757600080fd5b50600c546102b9565b34801561040c57600080fd5b5061030e61041b3660046123c2565b610a40565b34801561042c57600080fd5b506103b161043b366004612403565b610aa9565b34801561044c57600080fd5b50600b5460405160ff90911681526020016102c3565b34801561046e57600080fd5b5061030e61047d366004612347565b610af4565b34801561048e57600080fd5b506014546103d3906001600160a01b031681565b3480156104ae57600080fd5b506103b16104bd366004612431565b610b2a565b3480156104ce57600080fd5b506002546103d3906001600160a01b031681565b3480156104ee57600080fd5b50600d5461030e90610100900460ff1681565b34801561050d57600080fd5b506103b161051c3660046124b5565b610b64565b34801561052d57600080fd5b5061030e61053c366004612373565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561056657600080fd5b506102b9600f5481565b34801561057c57600080fd5b50601b54601c54601d54601e546105939392919084565b6040805194855260208501939093529183015260608201526080016102c3565b3480156105bf57600080fd5b506102b960115481565b3480156105d557600080fd5b506102b96105e4366004612373565b6001600160a01b031660009081526003602052604090205490565b34801561060b57600080fd5b506103b1610baa565b34801561062057600080fd5b506103b161062f366004612431565b610c1e565b34801561064057600080fd5b506012546103d3906001600160a01b031681565b34801561066057600080fd5b506103b161066f3660046124d0565b610c53565b34801561068057600080fd5b50601f546001600160a01b03166103d3565b34801561069e57600080fd5b506015546103d3906001600160a01b031681565b3480156106be57600080fd5b506103b16106cd36600461255d565b610c88565b3480156106de57600080fd5b506102b96106ed366004612403565b610cc0565b3480156106fe57600080fd5b506103b161070d366004612403565b610e2f565b34801561071e57600080fd5b506000546001600160a01b03166103d3565b34801561073c57600080fd5b506102b960105481565b34801561075257600080fd5b506102e1610ec5565b34801561076757600080fd5b506103b1610776366004612431565b610ed4565b34801561078757600080fd5b506103b16107963660046125fc565b610f09565b3480156107a757600080fd5b506103b16107b6366004612373565b610f41565b3480156107c757600080fd5b506103b16107d636600461255d565b610f8d565b3480156107e757600080fd5b506102b960165481565b3480156107fd57600080fd5b5061030e61080c366004612347565b610fc2565b34801561081d57600080fd5b506013546103d3906001600160a01b031681565b34801561083d57600080fd5b5061030e61084c366004612347565b611011565b34801561085d57600080fd5b506103b161086c3660046124b5565b61101e565b34801561087d57600080fd5b506102b961088c366004612628565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156108c357600080fd5b5061030e6108d2366004612373565b6001600160a01b031660009081526005602052604090205460ff1690565b3480156108fc57600080fd5b506103b161090b366004612373565b61109c565b34801561091c57600080fd5b506103b161092b366004612403565b611186565b34801561093c57600080fd5b506103b161094b366004612661565b6111d1565b60606009805461095f906126ac565b80601f016020809104026020016040519081016040528092919081815260200182805461098b906126ac565b80156109d85780601f106109ad576101008083540402835291602001916109d8565b820191906000526020600020905b8154815290600101906020018083116109bb57829003601f168201915b5050505050905090565b60006109ef33848461123a565b5060015b92915050565b6000546001600160a01b03163314610a2c5760405162461bcd60e51b8152600401610a23906126e7565b60405180910390fd5b601d93909355601b91909155601c55601e55565b6000610a4d84848461135e565b610a9f8433610a9a85604051806060016040528060288152602001612a7e602891396001600160a01b038a166000908152600460209081526040808320338452909152902054919061189c565b61123a565b5060019392505050565b6000546001600160a01b03163314610ad35760405162461bcd60e51b8152600401610a23906126e7565b600b54610ae49060ff16600a612816565b610aee9082612825565b60115550565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916109ef918590610a9a90866118d6565b6000546001600160a01b03163314610b545760405162461bcd60e51b8152600401610a23906126e7565b610b5f83838361193c565b505050565b6000546001600160a01b03163314610b8e5760405162461bcd60e51b8152600401610a23906126e7565b600d8054911515620100000262ff000019909216919091179055565b6000546001600160a01b03163314610bd45760405162461bcd60e51b8152600401610a23906126e7565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610c485760405162461bcd60e51b8152600401610a23906126e7565b610b5f8383836119ac565b6000546001600160a01b03163314610c7d5760405162461bcd60e51b8152600401610a23906126e7565b601091909155600f55565b6000546001600160a01b03163314610cb25760405162461bcd60e51b8152600401610a23906126e7565b610cbd816001611a16565b50565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110610cf957610cf9612844565b6001600160a01b03928316602091820292909201810191909152600154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610d52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d76919061285a565b81600181518110610d8957610d89612844565b6001600160a01b03928316602091820292909201015260015460405163d06ca61f60e01b815291169063d06ca61f90610dc890869085906004016128bb565b600060405180830381865afa158015610de5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e0d91908101906128dc565b600181518110610e1f57610e1f612844565b6020026020010151915050919050565b6000546001600160a01b03163314610e595760405162461bcd60e51b8152600401610a23906126e7565b601654811415610ec05760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f742075706461746520676173466f7250726f63657373696e67207460448201526b6f2073616d652076616c756560a01b6064820152608401610a23565b601655565b6060600a805461095f906126ac565b6000546001600160a01b03163314610efe5760405162461bcd60e51b8152600401610a23906126e7565b610b5f838383611aa2565b6000546001600160a01b03163314610f335760405162461bcd60e51b8152600401610a23906126e7565b601892909255601955601a55565b6000546001600160a01b03163314610f6b5760405162461bcd60e51b8152600401610a23906126e7565b601f80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610fb75760405162461bcd60e51b8152600401610a23906126e7565b610cbd816000611a16565b60006109ef3384610a9a85604051806060016040528060258152602001612aa6602591393360009081526004602090815260408083206001600160a01b038d168452909152902054919061189c565b60006109ef33848461135e565b6000546001600160a01b031633146110485760405162461bcd60e51b8152600401610a23906126e7565b600d80548215156101000261ff00199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061109190831515815260200190565b60405180910390a150565b6000546001600160a01b031633146110c65760405162461bcd60e51b8152600401610a23906126e7565b6001600160a01b03811661112b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a23565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146111b05760405162461bcd60e51b8152600401610a23906126e7565b600b546111c19060ff16600a612816565b6111cb9082612825565b600e5550565b6000546001600160a01b031633146111fb5760405162461bcd60e51b8152600401610a23906126e7565b601480546001600160a01b039485166001600160a01b031991821617909155601280549385169382169390931790925560138054919093169116179055565b6001600160a01b03831661129c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a23565b6001600160a01b0382166112fd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a23565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166113c25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a23565b6001600160a01b0382166114245760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a23565b600081116114865760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610a23565b6002546001600160a01b03166114de5760405162461bcd60e51b815260206004820152601e60248201527f556e697377617056325061697220686173206e6f74206265656e2073657400006044820152606401610a23565b6001600160a01b038316600090815260066020526040812054819060ff1615801561152257506001600160a01b03841660009081526006602052604090205460ff16155b801561153c57506000546001600160a01b03868116911614155b801561155657506000546001600160a01b03858116911614155b905060006115838461157d876001600160a01b031660009081526003602052604090205490565b906118d6565b90506115976000546001600160a01b031690565b6001600160a01b0316866001600160a01b0316141580156115c657506000546001600160a01b03868116911614155b80156115e057506015546001600160a01b03868116911614155b1561168b576001600160a01b03861660009081526005602052604090205460ff1615801561162757506001600160a01b03851660009081526005602052604090205460ff16155b61168b5760405162461bcd60e51b815260206004820152602f60248201527f626f747320617265206e6f7420616c6c6f77656420746f2073656c6c206f722060448201526e7472616e7366657220746f6b656e7360881b6064820152608401610a23565b6002546001600160a01b03878116911614806116bf57506001600160a01b03861660009081526007602052604090205460ff165b1561174957600e548411156117275760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610a23565b6011548111156117495760405162461bcd60e51b8152600401610a2390612962565b6002546001600160a01b0387811691161480159061177457506002546001600160a01b038681169116145b806117bb57506001600160a01b03861660009081526007602052604090205460ff161580156117bb57506001600160a01b03851660009081526007602052604090205460ff165b156117cc57600192506117cc611b0c565b6002546001600160a01b038781169116148015906117f857506002546001600160a01b03868116911614155b801561181d57506001600160a01b03861660009081526007602052604090205460ff16155b801561184257506001600160a01b03851660009081526007602052604090205460ff16155b1561188557600d5462010000900460ff1661185e576001611861565b60005b91506011548111156118855760405162461bcd60e51b8152600401610a2390612962565b61189486868685876001611b69565b505050505050565b600081848411156118c05760405162461bcd60e51b8152600401610a2391906122dd565b5060006118cd84866129a7565b95945050505050565b6000806118e383856129be565b9050838110156119355760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a23565b9392505050565b60005b828110156119a657600084848381811061195b5761195b612844565b90506020020160208101906119709190612373565b6001600160a01b03166000908152600660205260409020805460ff1916841515179055508061199e816129d6565b91505061193f565b50505050565b60005b828110156119a65760008484838181106119cb576119cb612844565b90506020020160208101906119e09190612373565b6001600160a01b03166000908152600860205260409020805460ff19168415151790555080611a0e816129d6565b9150506119af565b60005b8251811015610b5f576000838281518110611a3657611a36612844565b602002602001015190508215611a6e576001600160a01b0381166000908152600560205260409020805460ff19166001179055611a8f565b6001600160a01b0381166000908152600560205260409020805460ff191690555b5080611a9a816129d6565b915050611a19565b60005b828110156119a6576000848483818110611ac157611ac1612844565b9050602002016020810190611ad69190612373565b6001600160a01b03166000908152600760205260409020805460ff19168415151790555080611b04816129d6565b915050611aa5565b306000908152600360205260409020548015610cbd576000611b2d82610cc0565b9050600f548110158015611b445750600d5460ff16155b8015611b575750600d54610100900460ff165b15611b6557611b6582611e67565b5050565b600083611b77576000611b92565b601854611b9290606490611b8c908890611fc7565b90612046565b9050838015611b9e5750825b15611bf357601954611bb890606490611b8c908890611fc7565b601a5490915015611bf3576000611bce86610cc0565b90506010548110611bf157601a54611bee90606490611b8c908990611fc7565b91505b505b6000611bff8683612088565b6001600160a01b038916600090815260036020526040902054909150611c259087612088565b6001600160a01b03808a166000908152600360205260408082209390935590891681522054611c5490826118d6565b6001600160a01b038816600090815260036020526040808220929092553081522054611c8090836118d6565b3060009081526003602090815260409182902092909255518781526001600160a01b0389811692908b16917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a38215611e5d57601f54604051633974d3b160e01b81526001600160a01b038a8116600483015290911690633974d3b190602401600060405180830381600087803b158015611d2357600080fd5b505af1925050508015611d34575060015b50601f54604051633974d3b160e01b81526001600160a01b03898116600483015290911690633974d3b190602401600060405180830381600087803b158015611d7c57600080fd5b505af1925050508015611d8d575060015b50601f546016546040516001624d3b8760e01b031981526001600160a01b039092169163ffb2c47991611dc69160040190815260200190565b6060604051808303816000875af1925050508015611e01575060408051601f3d908101601f19168201909252611dfe918101906129f1565b60015b611e0a57611e5d565b601654604080518581526020810185905280820184905260608101929092525132916001917fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989181900360800190a35050505b5050505050505050565b600d805460ff19166001179055611e7d816120ca565b601c544790600090611e9790606490611b8c908590611fc7565b90506000611eb86064611b8c601b6002015486611fc790919063ffffffff16565b90506000611ed96064611b8c601b6000015487611fc790919063ffffffff16565b90506000611efa6064611b8c601b6003015488611fc790919063ffffffff16565b6013546040519192506001600160a01b03169085156108fc029086906000818181858888f19350505050158015611f35573d6000803e3d6000fd5b50611f3f8361221c565b6014546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015611f79573d6000803e3d6000fd5b506012546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611fb4573d6000803e3d6000fd5b5050600d805460ff191690555050505050565b600082611fd6575060006109f3565b6000611fe28385612825565b905082611fef8583612a1f565b146119355760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a23565b600061193583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506122af565b600061193583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061189c565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106120ff576120ff612844565b6001600160a01b03928316602091820292909201810191909152600154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612158573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217c919061285a565b8160018151811061218f5761218f612844565b6001600160a01b0392831660209182029290920101526001546121b5913091168461123a565b60015460405163791ac94760e01b81526001600160a01b039091169063791ac947906121ee908590600090869030904290600401612a41565b600060405180830381600087803b15801561220857600080fd5b505af1158015611894573d6000803e3d6000fd5b601f546040516000916001600160a01b03169083908381818185875af1925050503d8060008114612269576040519150601f19603f3d011682016040523d82523d6000602084013e61226e565b606091505b505090508015611b65576040518281527fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19060200160405180910390a15050565b600081836122d05760405162461bcd60e51b8152600401610a2391906122dd565b5060006118cd8486612a1f565b600060208083528351808285015260005b8181101561230a578581018301518582016040015282016122ee565b8181111561231c576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610cbd57600080fd5b6000806040838503121561235a57600080fd5b823561236581612332565b946020939093013593505050565b60006020828403121561238557600080fd5b813561193581612332565b600080600080608085870312156123a657600080fd5b5050823594602084013594506040840135936060013592509050565b6000806000606084860312156123d757600080fd5b83356123e281612332565b925060208401356123f281612332565b929592945050506040919091013590565b60006020828403121561241557600080fd5b5035919050565b8035801515811461242c57600080fd5b919050565b60008060006040848603121561244657600080fd5b833567ffffffffffffffff8082111561245e57600080fd5b818601915086601f83011261247257600080fd5b81358181111561248157600080fd5b8760208260051b850101111561249657600080fd5b6020928301955093506124ac918601905061241c565b90509250925092565b6000602082840312156124c757600080fd5b6119358261241c565b600080604083850312156124e357600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612531576125316124f2565b604052919050565b600067ffffffffffffffff821115612553576125536124f2565b5060051b60200190565b6000602080838503121561257057600080fd5b823567ffffffffffffffff81111561258757600080fd5b8301601f8101851361259857600080fd5b80356125ab6125a682612539565b612508565b81815260059190911b820183019083810190878311156125ca57600080fd5b928401925b828410156125f15783356125e281612332565b825292840192908401906125cf565b979650505050505050565b60008060006060848603121561261157600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561263b57600080fd5b823561264681612332565b9150602083013561265681612332565b809150509250929050565b60008060006060848603121561267657600080fd5b833561268181612332565b9250602084013561269181612332565b915060408401356126a181612332565b809150509250925092565b600181811c908216806126c057607f821691505b602082108114156126e157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561276d5781600019048211156127535761275361271c565b8085161561276057918102915b93841c9390800290612737565b509250929050565b600082612784575060016109f3565b81612791575060006109f3565b81600181146127a757600281146127b1576127cd565b60019150506109f3565b60ff8411156127c2576127c261271c565b50506001821b6109f3565b5060208310610133831016604e8410600b84101617156127f0575081810a6109f3565b6127fa8383612732565b806000190482111561280e5761280e61271c565b029392505050565b600061193560ff841683612775565b600081600019048311821515161561283f5761283f61271c565b500290565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561286c57600080fd5b815161193581612332565b600081518084526020808501945080840160005b838110156128b05781516001600160a01b03168752958201959082019060010161288b565b509495945050505050565b8281526040602082015260006128d46040830184612877565b949350505050565b600060208083850312156128ef57600080fd5b825167ffffffffffffffff81111561290657600080fd5b8301601f8101851361291757600080fd5b80516129256125a682612539565b81815260059190911b8201830190838101908783111561294457600080fd5b928401925b828410156125f157835182529284019290840190612949565b60208082526025908201527f57616c6c65742063616e6e6f7420657863656564206d61782057616c6c6574206040820152641b1a5b5a5d60da1b606082015260800190565b6000828210156129b9576129b961271c565b500390565b600082198211156129d1576129d161271c565b500190565b60006000198214156129ea576129ea61271c565b5060010190565b600080600060608486031215612a0657600080fd5b8351925060208401519150604084015190509250925092565b600082612a3c57634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a060408201526000612a6060a0830186612877565b6001600160a01b039490941660608301525060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220acb3259dda6f72928f32b4f96e30f8aec78f8213ccd3f1bfb12370e553243a2064736f6c634300080c003360c0604052601360808190527f566974616c696b43616b6520545241434b45520000000000000000000000000060a090815262000040916008919062000196565b5060408051808201909152600c8082526b159a5d185b1a5ad0d85ad95560a21b6020909201918252620000769160099162000196565b50600a805460ff19166012179055604051620000929062000225565b604051809103906000f080158015620000af573d6000803e3d6000fd5b50600c80546001600160a01b0319166001600160a01b0392909216919091179055600a8054620000e59160ff909116906200035f565b620000f49062030d4062000377565b600d55600e805460ff60a01b19169055610e106011553480156200011757600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350604051600080825233917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3620003d6565b828054620001a49062000399565b90600052602060002090601f016020900481019282620001c8576000855562000213565b82601f10620001e357805160ff191683800117855562000213565b8280016001018555821562000213579182015b8281111562000213578251825591602001919060010190620001f6565b506200022192915062000233565b5090565b6104ea806200293683390190565b5b8082111562000221576000815560010162000234565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002a15781600019048211156200028557620002856200024a565b808516156200029357918102915b93841c939080029062000265565b509250929050565b600082620002ba5750600162000359565b81620002c95750600062000359565b8160018114620002e25760028114620002ed576200030d565b600191505062000359565b60ff8411156200030157620003016200024a565b50506001821b62000359565b5060208310610133831016604e8410600b841016171562000332575081810a62000359565b6200033e838362000260565b80600019048211156200035557620003556200024a565b0290505b92915050565b60006200037060ff841683620002a9565b9392505050565b60008160001904831182151516156200039457620003946200024a565b500290565b600181811c90821680620003ae57607f821691505b60208210811415620003d057634e487b7160e01b600052602260045260246000fd5b50919050565b61255080620003e66000396000f3fe60806040526004361061024a5760003560e01c8063715018a611610139578063a9059cbb116100b6578063e0fb0f351161007a578063e0fb0f35146106c0578063e7841ec0146106d5578063e98030c7146106ea578063f2fde38b1461070a578063fbcbc0f11461072a578063ffb2c4791461078f57600080fd5b8063a9059cbb14610629578063aafd847a146104ea578063be10b61414610644578063cac8d5381461065a578063dd62ed3e1461067a57600080fd5b80638da5cb5b116100fd5780638da5cb5b1461058c57806391b89fba146105b457806395d89b41146105d4578063a457c2d7146105e9578063a8b9d2401461060957600080fd5b8063715018a6146104d5578063730270b5146104ea578063804974ea1461052057806385a6b3ae14610556578063897742821461056c57600080fd5b8063313ce567116101c75780635ebf4db91161018b5780635ebf4db91461043f57806365e2ccb21461045f5780636a474002146104745780636f2789ec1461048957806370a082311461049f57600080fd5b8063313ce5671461039c57806331e79db0146103be57806339509351146103de5780633974d3b1146103fe5780633f83d72c1461041e57600080fd5b806321df2b091161020e57806321df2b09146102f9578063226cfa3d1461031957806323b872dd1461034657806327ce0147146103665780633009a6091461038657600080fd5b806303c833021461025e57806306fdde0314610266578063095ea7b31461029157806309bbedde146102c157806318160ddd146102e457600080fd5b36610259576102576107ca565b005b600080fd5b6102576107ca565b34801561027257600080fd5b5061027b61085d565b6040516102889190611fac565b60405180910390f35b34801561029d57600080fd5b506102b16102ac366004612016565b6108ef565b6040519015158152602001610288565b3480156102cd57600080fd5b506102d6610906565b604051908152602001610288565b3480156102f057600080fd5b506007546102d6565b34801561030557600080fd5b5061025761031436600461208e565b610979565b34801561032557600080fd5b506102d66103343660046120fa565b60106020526000908152604090205481565b34801561035257600080fd5b506102b1610361366004612117565b610ab4565b34801561037257600080fd5b506102d66103813660046120fa565b610b10565b34801561039257600080fd5b506102d6600f5481565b3480156103a857600080fd5b50600a5460405160ff9091168152602001610288565b3480156103ca57600080fd5b506102576103d93660046120fa565b610b6d565b3480156103ea57600080fd5b506102b16103f9366004612016565b610c38565b34801561040a57600080fd5b506102576104193660046120fa565b610c73565b34801561042a57600080fd5b50600e546102b190600160a01b900460ff1681565b34801561044b57600080fd5b5061025761045a366004612158565b610eab565b34801561046b57600080fd5b50600d546102d6565b34801561048057600080fd5b50610257610ef8565b34801561049557600080fd5b506102d660115481565b3480156104ab57600080fd5b506102d66104ba3660046120fa565b6001600160a01b031660009081526005602052604090205490565b3480156104e157600080fd5b50610257610f04565b3480156104f657600080fd5b506102d66105053660046120fa565b6001600160a01b031660009081526003602052604090205490565b34801561052c57600080fd5b506102d661053b3660046120fa565b6001600160a01b031660009081526004602052604090205490565b34801561056257600080fd5b506102d6600b5481565b34801561057857600080fd5b5061025761058736600461217f565b610f78565b34801561059857600080fd5b506000546040516001600160a01b039091168152602001610288565b3480156105c057600080fd5b506102d66105cf3660046120fa565b610fac565b3480156105e057600080fd5b5061027b610fb7565b3480156105f557600080fd5b506102b1610604366004612016565b610fc6565b34801561061557600080fd5b506102d66106243660046120fa565b611015565b34801561063557600080fd5b506102b1610361366004612016565b34801561065057600080fd5b506102d6600d5481565b34801561066657600080fd5b506102576106753660046120fa565b611041565b34801561068657600080fd5b506102d66106953660046121b8565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156106cc57600080fd5b5061025761108d565b3480156106e157600080fd5b50600f546102d6565b3480156106f657600080fd5b50610257610705366004612158565b611106565b34801561071657600080fd5b506102576107253660046120fa565b611240565b34801561073657600080fd5b5061074a6107453660046120fa565b61132a565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610288565b34801561079b57600080fd5b506107af6107aa366004612158565b61154a565b60408051938452602084019290925290820152606001610288565b60006107d560075490565b116107df57600080fd5b341561085b576108126107f160075490565b6107ff34600160801b611796565b61080991906121fc565b6001549061181c565b60015560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600b54610857903461181c565b600b555b565b60606008805461086c9061221e565b80601f01602080910402602001604051908101604052809291908181526020018280546108989061221e565b80156108e55780601f106108ba576101008083540402835291602001916108e5565b820191906000526020600020905b8154815290600101906020018083116108c857829003601f168201915b5050505050905090565b60006108fc33848461187b565b5060015b92915050565b600c546040805163949d225d60e01b815290516000926001600160a01b03169163949d225d9160048083019260209291908290030181865afa158015610950573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109749190612259565b905090565b6000546001600160a01b031633146109ac5760405162461bcd60e51b81526004016109a390612272565b60405180910390fd5b60005b83811015610aad5760008585838181106109cb576109cb6122a7565b90506020020160208101906109e091906120fa565b600a80549192506000916109f99160ff909116906123a1565b858585818110610a0b57610a0b6122a7565b90506020020135610a1c91906123b0565b9050600d548110610a9857610a31828261199f565b600c54604051630704bb0560e31b81526001600160a01b0384811660048301526024820184905290911690633825d82890604401600060405180830381600087803b158015610a7f57600080fd5b505af1158015610a93573d6000803e3d6000fd5b505050505b50508080610aa5906123cf565b9150506109af565b5050505050565b60405162461bcd60e51b815260206004820152602860248201527f4e6f207472616e736665727320616c6c6f77656420696e206469766964656e64604482015267103a3930b1b5b2b960c11b60648201526000906084016109a3565b6001600160a01b0381166000908152600260209081526040808320546005909252822054600154600160801b92610b6392610b5e92610b5891610b539190611796565b6119fe565b90611a0e565b611a4c565b61090091906121fc565b6000546001600160a01b03163314610b975760405162461bcd60e51b81526004016109a390612272565b610ba281600061199f565b600c54604051631484968760e11b81526001600160a01b038381166004830152909116906329092d0e90602401600060405180830381600087803b158015610be957600080fd5b505af1158015610bfd573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b3360008181526006602090815260408083206001600160a01b038716845290915281205490916108fc918590610c6e908661181c565b61187b565b600e546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a0823190602401602060405180830381865afa158015610cbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce29190612259565b600e54604051630e83227360e01b81526001600160a01b038581166004830152929350911690630e83227390602401602060405180830381865afa158015610d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5291906123ea565b610e1257600d548110610dd557610d69828261199f565b600c54604051630704bb0560e31b81526001600160a01b0384811660048301526024820184905290911690633825d828906044015b600060405180830381600087803b158015610db857600080fd5b505af1158015610dcc573d6000803e3d6000fd5b50505050610e9b565b610de082600061199f565b600c54604051631484968760e11b81526001600160a01b038481166004830152909116906329092d0e90602401610d9e565b6001600160a01b03821660009081526005602052604090205415610e9b57610e3b82600061199f565b600c54604051631484968760e11b81526001600160a01b038481166004830152909116906329092d0e90602401600060405180830381600087803b158015610e8257600080fd5b505af1158015610e96573d6000803e3d6000fd5b505050505b610ea6826001611a5f565b505050565b6000546001600160a01b03163314610ed55760405162461bcd60e51b81526004016109a390612272565b600a8054610ee89160ff909116906123a1565b610ef290826123b0565b600d5550565b610f0133611b09565b50565b6000546001600160a01b03163314610f2e5760405162461bcd60e51b81526004016109a390612272565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610fa25760405162461bcd60e51b81526004016109a390612272565b610ea68282611a5f565b600061090082611015565b60606009805461086c9061221e565b60006108fc3384610c6e856040518060600160405280602581526020016124f6602591393360009081526006602090815260408083206001600160a01b038d1684529091529020549190611c4f565b6001600160a01b0381166000908152600360205260408120546109009061103b84610b10565b90611c89565b6000546001600160a01b0316331461106b5760405162461bcd60e51b81526004016109a390612272565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146110b75760405162461bcd60e51b81526004016109a390612272565b476110ca6000546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611102573d6000803e3d6000fd5b5050565b6000546001600160a01b031633146111305760405162461bcd60e51b81526004016109a390612272565b610e1081101580156111455750620151808111155b6111ad5760405162461bcd60e51b815260206004820152603360248201527f436c61696d57616974206d757374206265207570646174656420746f206265746044820152727765656e203120616e6420323420686f75727360681b60648201526084016109a3565b60115481141561120d5760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f742075706461746520636c61696d5761697420746f2073616d652060448201526476616c756560d81b60648201526084016109a3565b60115460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601155565b6000546001600160a01b0316331461126a5760405162461bcd60e51b81526004016109a390612272565b6001600160a01b0381166112cf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a3565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600c5460405163564c8d1160e01b81526001600160a01b038084166004830152839260009283928392839283928392839291169063564c8d1190602401602060405180830381865afa158015611384573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a89190612259565b96506000199550600087126114d757600f548711156113d657600f546113cf908890611ccb565b95506114d7565b600f54600c546040805163949d225d60e01b81529051600093926001600160a01b03169163949d225d9160048083019260209291908290030181865afa158015611424573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114489190612259565b116114545760006114c7565b600f54600c546040805163949d225d60e01b815290516114c793926001600160a01b03169163949d225d9160048083019260209291908290030181865afa1580156114a3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103b9190612259565b90506114d38882611a0e565b9650505b6114e088611015565b94506114eb88610b10565b6001600160a01b038916600090815260106020526040902054909450925082611515576000611523565b60115461152390849061181c565b915042821161153357600061153d565b61153d8242611c89565b9050919395975091939597565b600080600080600c60009054906101000a90046001600160a01b03166001600160a01b031663949d225d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c79190612259565b9050806115df575050600f546000925082915061178f565b600f546000805a90506000805b89841080156115fa57508582105b1561177e5784611609816123cf565b955050600c60009054906101000a90046001600160a01b03166001600160a01b031663949d225d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561165f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116839190612259565b851061168e57600094505b600c5460405163198c0deb60e21b8152600481018790526000916001600160a01b03169063663037ac90602401602060405180830381865afa1580156116d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116fc9190612407565b6001600160a01b03811660009081526010602052604090205490915061172190611d08565b1561174457611731816001611a5f565b156117445781611740816123cf565b9250505b8261174e816123cf565b93505060005a9050808511156117755761177261176b8683611c89565b879061181c565b95505b93506115ec9050565b600f85905590975095509193505050505b9193909250565b6000826117a557506000610900565b60006117b183856123b0565b9050826117be85836121fc565b146118155760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016109a3565b9392505050565b6000806118298385612424565b9050838110156118155760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016109a3565b6001600160a01b0383166118dd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109a3565b6001600160a01b03821661193e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109a3565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216600090815260056020526040902054808211156119de5760006119cc8383611c89565b90506119d88482611d2f565b50505050565b80821015610ea65760006119f28284611c89565b90506119d88482611e6b565b6000818181121561090057600080fd5b600080611a1b838561243c565b905060008312158015611a2e5750838112155b80611a435750600083128015611a4357508381125b61181557600080fd5b600080821215611a5b57600080fd5b5090565b600080611a6b84611b09565b90508015611aff576001600160a01b038416600090815260046020526040902054611a96828261181c565b6001600160a01b03861660008181526004602090815260408083209490945560108152908390204290559151848152861515927fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092910160405180910390a3600192505050610900565b5060009392505050565b600080611b1583611015565b90508015611c46576001600160a01b038316600090815260036020526040902054611b40908261181c565b6001600160a01b038416600081815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90611b8f9084815260200190565b60405180910390a26000836001600160a01b031682610bb890604051600060405180830381858888f193505050503d8060008114611be9576040519150601f19603f3d011682016040523d82523d6000602084013e611bee565b606091505b5050905080611c3f576001600160a01b038416600090815260036020526040902054611c1a9083611c89565b6001600160a01b03909416600090815260036020526040812094909455509192915050565b5092915050565b50600092915050565b60008184841115611c735760405162461bcd60e51b81526004016109a39190611fac565b506000611c80848661247d565b95945050505050565b600061181583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611c4f565b600080611cd88385612494565b905060008312158015611ceb5750838113155b80611a435750600083128015611a43575083811361181557600080fd5b600042821115611d1a57506000919050565b601154611d274284611c89565b101592915050565b6001600160a01b038216611d855760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016109a3565b600754611d92908261181c565b6007556001600160a01b038216600090815260056020526040902054611db8908261181c565b6001600160a01b0383166000818152600560205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611e099085815260200190565b60405180910390a3611e4b611e2c610b538360015461179690919063ffffffff16565b6001600160a01b03841660009081526002602052604090205490611ccb565b6001600160a01b0390921660009081526002602052604090209190915550565b6001600160a01b038216611ecb5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109a3565b611f08816040518060600160405280602281526020016124d4602291396001600160a01b0385166000908152600560205260409020549190611c4f565b6001600160a01b038316600090815260056020526040902055600754611f2e9082611c89565b6007556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3611e4b611f8d610b538360015461179690919063ffffffff16565b6001600160a01b03841660009081526002602052604090205490611a0e565b600060208083528351808285015260005b81811015611fd957858101830151858201604001528201611fbd565b81811115611feb576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610f0157600080fd5b6000806040838503121561202957600080fd5b823561203481612001565b946020939093013593505050565b60008083601f84011261205457600080fd5b50813567ffffffffffffffff81111561206c57600080fd5b6020830191508360208260051b850101111561208757600080fd5b9250929050565b600080600080604085870312156120a457600080fd5b843567ffffffffffffffff808211156120bc57600080fd5b6120c888838901612042565b909650945060208701359150808211156120e157600080fd5b506120ee87828801612042565b95989497509550505050565b60006020828403121561210c57600080fd5b813561181581612001565b60008060006060848603121561212c57600080fd5b833561213781612001565b9250602084013561214781612001565b929592945050506040919091013590565b60006020828403121561216a57600080fd5b5035919050565b8015158114610f0157600080fd5b6000806040838503121561219257600080fd5b823561219d81612001565b915060208301356121ad81612171565b809150509250929050565b600080604083850312156121cb57600080fd5b82356121d681612001565b915060208301356121ad81612001565b634e487b7160e01b600052601160045260246000fd5b60008261221957634e487b7160e01b600052601260045260246000fd5b500490565b600181811c9082168061223257607f821691505b6020821081141561225357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561226b57600080fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600181815b808511156122f85781600019048211156122de576122de6121e6565b808516156122eb57918102915b93841c93908002906122c2565b509250929050565b60008261230f57506001610900565b8161231c57506000610900565b8160018114612332576002811461233c57612358565b6001915050610900565b60ff84111561234d5761234d6121e6565b50506001821b610900565b5060208310610133831016604e8410600b841016171561237b575081810a610900565b61238583836122bd565b8060001904821115612399576123996121e6565b029392505050565b600061181560ff841683612300565b60008160001904831182151516156123ca576123ca6121e6565b500290565b60006000198214156123e3576123e36121e6565b5060010190565b6000602082840312156123fc57600080fd5b815161181581612171565b60006020828403121561241957600080fd5b815161181581612001565b60008219821115612437576124376121e6565b500190565b600080821280156001600160ff1b038490038513161561245e5761245e6121e6565b600160ff1b8390038412811615612477576124776121e6565b50500190565b60008282101561248f5761248f6121e6565b500390565b60008083128015600160ff1b8501841216156124b2576124b26121e6565b6001600160ff1b03840183138116156124cd576124cd6121e6565b5050039056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f94da34fbd54c6394304b983c0413dd17fb2aace434cb4b6bce376aee099490364736f6c634300080c0033608060405234801561001057600080fd5b506104ca806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c8063663037ac1161005b578063663037ac146100d0578063949d225d146100fb578063c2bc2efc14610103578063cd4133291461012c57600080fd5b806329092d0e146100825780633825d82814610097578063564c8d11146100aa575b600080fd5b6100956100903660046103de565b61014f565b005b6100956100a5366004610400565b61027a565b6100bd6100b83660046103de565b610335565b6040519081526020015b60405180910390f35b6100e36100de36600461042a565b61037a565b6040516001600160a01b0390911681526020016100c7565b6000546100bd565b6100bd6101113660046103de565b6001600160a01b031660009081526001602052604090205490565b61013f61013a3660046103de565b6103ac565b60405190151581526020016100c7565b6001600160a01b03811660009081526003602052604090205460ff166101725750565b6001600160a01b0381166000908152600360209081526040808320805460ff191690556001808352818420849055600290925282205482549092916101b691610443565b905060008060000182815481106101cf576101cf610468565b60009182526020808320909101546001600160a01b03908116808452600290925260408084208790559087168352822082905581549092508291908590811061021a5761021a610468565b6000918252602082200180546001600160a01b0319166001600160a01b0393909316929092179091558054806102525761025261047e565b600082815260209020810160001990810180546001600160a01b031916905501905550505050565b6001600160a01b03821660009081526003602052604090205460ff16156102b8576001600160a01b0391909116600090815260016020526040902055565b6001600160a01b0382166000818152600360209081526040808320805460ff1916600190811790915580835281842086905583546002909352908320829055810182559080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5630180546001600160a01b03191690911790555050565b6001600160a01b03811660009081526003602052604081205460ff1661035e5750600019919050565b506001600160a01b031660009081526002602052604090205490565b600080600001828154811061039157610391610468565b6000918252602090912001546001600160a01b031692915050565b60006103b782610335565b600019141592915050565b80356001600160a01b03811681146103d957600080fd5b919050565b6000602082840312156103f057600080fd5b6103f9826103c2565b9392505050565b6000806040838503121561041357600080fd5b61041c836103c2565b946020939093013593505050565b60006020828403121561043c57600080fd5b5035919050565b60008282101561046357634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fdfea26469706673582212208d179b8a14f83bec19485fd326e8ce4293005b354ca0c64ecbccf38d5a0233d964736f6c634300080c0033
Deployed Bytecode
0x6080604052600436106102975760003560e01c8063783478ad1161015a57806398acb5d8116100c1578063c49b9a801161007a578063c49b9a8014610851578063dd62ed3e14610871578063e7dad4f9146108b7578063f2fde38b146108f0578063f34eb0b814610910578063fb6287d21461093057600080fd5b806398acb5d81461079b5780639b0e2e86146107bb5780639c1b8af5146107db578063a457c2d7146107f1578063a5ece94114610811578063a9059cbb1461083157600080fd5b8063871c128d11610113578063871c128d146106f25780638da5cb5b1461071257806391142cb31461073057806395d89b4114610746578063968481361461075b5780639758f61d1461077b57600080fd5b8063783478ad146106345780637bde92bc1461065457806382d1d6861461067457806385141a771461069257806385d4787b146106b2578063870d365d146106d257600080fd5b80633ad10ef6116101fe57806354a5df1f116101b757806354a5df1f1461055a5780635ee58efc146105705780636c0a24eb146105b357806370a08231146105c9578063715018a6146105ff57806371cd56af1461061457600080fd5b80633ad10ef614610482578063441d801f146104a257806349bd5a5e146104c25780634a74bb02146104e25780634e781233146105015780635342acb41461052157600080fd5b80631694505e116102505780631694505e146103b357806318160ddd146103eb57806323b872dd1461040057806327a14fc214610420578063313ce56714610440578063395093511461046257600080fd5b80630492f055146102a357806306fdde03146102cc578063095ea7b3146102ee5780630ddc09761461031e5780630e832273146103585780630fc709e51461039157600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506102b9600e5481565b6040519081526020015b60405180910390f35b3480156102d857600080fd5b506102e1610950565b6040516102c391906122dd565b3480156102fa57600080fd5b5061030e610309366004612347565b6109e2565b60405190151581526020016102c3565b34801561032a57600080fd5b50601854601954601a5461033d92919083565b604080519384526020840192909252908201526060016102c3565b34801561036457600080fd5b5061030e610373366004612373565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561039d57600080fd5b506103b16103ac366004612390565b6109f9565b005b3480156103bf57600080fd5b506001546103d3906001600160a01b031681565b6040516001600160a01b0390911681526020016102c3565b3480156103f757600080fd5b50600c546102b9565b34801561040c57600080fd5b5061030e61041b3660046123c2565b610a40565b34801561042c57600080fd5b506103b161043b366004612403565b610aa9565b34801561044c57600080fd5b50600b5460405160ff90911681526020016102c3565b34801561046e57600080fd5b5061030e61047d366004612347565b610af4565b34801561048e57600080fd5b506014546103d3906001600160a01b031681565b3480156104ae57600080fd5b506103b16104bd366004612431565b610b2a565b3480156104ce57600080fd5b506002546103d3906001600160a01b031681565b3480156104ee57600080fd5b50600d5461030e90610100900460ff1681565b34801561050d57600080fd5b506103b161051c3660046124b5565b610b64565b34801561052d57600080fd5b5061030e61053c366004612373565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561056657600080fd5b506102b9600f5481565b34801561057c57600080fd5b50601b54601c54601d54601e546105939392919084565b6040805194855260208501939093529183015260608201526080016102c3565b3480156105bf57600080fd5b506102b960115481565b3480156105d557600080fd5b506102b96105e4366004612373565b6001600160a01b031660009081526003602052604090205490565b34801561060b57600080fd5b506103b1610baa565b34801561062057600080fd5b506103b161062f366004612431565b610c1e565b34801561064057600080fd5b506012546103d3906001600160a01b031681565b34801561066057600080fd5b506103b161066f3660046124d0565b610c53565b34801561068057600080fd5b50601f546001600160a01b03166103d3565b34801561069e57600080fd5b506015546103d3906001600160a01b031681565b3480156106be57600080fd5b506103b16106cd36600461255d565b610c88565b3480156106de57600080fd5b506102b96106ed366004612403565b610cc0565b3480156106fe57600080fd5b506103b161070d366004612403565b610e2f565b34801561071e57600080fd5b506000546001600160a01b03166103d3565b34801561073c57600080fd5b506102b960105481565b34801561075257600080fd5b506102e1610ec5565b34801561076757600080fd5b506103b1610776366004612431565b610ed4565b34801561078757600080fd5b506103b16107963660046125fc565b610f09565b3480156107a757600080fd5b506103b16107b6366004612373565b610f41565b3480156107c757600080fd5b506103b16107d636600461255d565b610f8d565b3480156107e757600080fd5b506102b960165481565b3480156107fd57600080fd5b5061030e61080c366004612347565b610fc2565b34801561081d57600080fd5b506013546103d3906001600160a01b031681565b34801561083d57600080fd5b5061030e61084c366004612347565b611011565b34801561085d57600080fd5b506103b161086c3660046124b5565b61101e565b34801561087d57600080fd5b506102b961088c366004612628565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156108c357600080fd5b5061030e6108d2366004612373565b6001600160a01b031660009081526005602052604090205460ff1690565b3480156108fc57600080fd5b506103b161090b366004612373565b61109c565b34801561091c57600080fd5b506103b161092b366004612403565b611186565b34801561093c57600080fd5b506103b161094b366004612661565b6111d1565b60606009805461095f906126ac565b80601f016020809104026020016040519081016040528092919081815260200182805461098b906126ac565b80156109d85780601f106109ad576101008083540402835291602001916109d8565b820191906000526020600020905b8154815290600101906020018083116109bb57829003601f168201915b5050505050905090565b60006109ef33848461123a565b5060015b92915050565b6000546001600160a01b03163314610a2c5760405162461bcd60e51b8152600401610a23906126e7565b60405180910390fd5b601d93909355601b91909155601c55601e55565b6000610a4d84848461135e565b610a9f8433610a9a85604051806060016040528060288152602001612a7e602891396001600160a01b038a166000908152600460209081526040808320338452909152902054919061189c565b61123a565b5060019392505050565b6000546001600160a01b03163314610ad35760405162461bcd60e51b8152600401610a23906126e7565b600b54610ae49060ff16600a612816565b610aee9082612825565b60115550565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916109ef918590610a9a90866118d6565b6000546001600160a01b03163314610b545760405162461bcd60e51b8152600401610a23906126e7565b610b5f83838361193c565b505050565b6000546001600160a01b03163314610b8e5760405162461bcd60e51b8152600401610a23906126e7565b600d8054911515620100000262ff000019909216919091179055565b6000546001600160a01b03163314610bd45760405162461bcd60e51b8152600401610a23906126e7565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610c485760405162461bcd60e51b8152600401610a23906126e7565b610b5f8383836119ac565b6000546001600160a01b03163314610c7d5760405162461bcd60e51b8152600401610a23906126e7565b601091909155600f55565b6000546001600160a01b03163314610cb25760405162461bcd60e51b8152600401610a23906126e7565b610cbd816001611a16565b50565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110610cf957610cf9612844565b6001600160a01b03928316602091820292909201810191909152600154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610d52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d76919061285a565b81600181518110610d8957610d89612844565b6001600160a01b03928316602091820292909201015260015460405163d06ca61f60e01b815291169063d06ca61f90610dc890869085906004016128bb565b600060405180830381865afa158015610de5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e0d91908101906128dc565b600181518110610e1f57610e1f612844565b6020026020010151915050919050565b6000546001600160a01b03163314610e595760405162461bcd60e51b8152600401610a23906126e7565b601654811415610ec05760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f742075706461746520676173466f7250726f63657373696e67207460448201526b6f2073616d652076616c756560a01b6064820152608401610a23565b601655565b6060600a805461095f906126ac565b6000546001600160a01b03163314610efe5760405162461bcd60e51b8152600401610a23906126e7565b610b5f838383611aa2565b6000546001600160a01b03163314610f335760405162461bcd60e51b8152600401610a23906126e7565b601892909255601955601a55565b6000546001600160a01b03163314610f6b5760405162461bcd60e51b8152600401610a23906126e7565b601f80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610fb75760405162461bcd60e51b8152600401610a23906126e7565b610cbd816000611a16565b60006109ef3384610a9a85604051806060016040528060258152602001612aa6602591393360009081526004602090815260408083206001600160a01b038d168452909152902054919061189c565b60006109ef33848461135e565b6000546001600160a01b031633146110485760405162461bcd60e51b8152600401610a23906126e7565b600d80548215156101000261ff00199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061109190831515815260200190565b60405180910390a150565b6000546001600160a01b031633146110c65760405162461bcd60e51b8152600401610a23906126e7565b6001600160a01b03811661112b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a23565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146111b05760405162461bcd60e51b8152600401610a23906126e7565b600b546111c19060ff16600a612816565b6111cb9082612825565b600e5550565b6000546001600160a01b031633146111fb5760405162461bcd60e51b8152600401610a23906126e7565b601480546001600160a01b039485166001600160a01b031991821617909155601280549385169382169390931790925560138054919093169116179055565b6001600160a01b03831661129c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a23565b6001600160a01b0382166112fd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a23565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166113c25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a23565b6001600160a01b0382166114245760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a23565b600081116114865760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610a23565b6002546001600160a01b03166114de5760405162461bcd60e51b815260206004820152601e60248201527f556e697377617056325061697220686173206e6f74206265656e2073657400006044820152606401610a23565b6001600160a01b038316600090815260066020526040812054819060ff1615801561152257506001600160a01b03841660009081526006602052604090205460ff16155b801561153c57506000546001600160a01b03868116911614155b801561155657506000546001600160a01b03858116911614155b905060006115838461157d876001600160a01b031660009081526003602052604090205490565b906118d6565b90506115976000546001600160a01b031690565b6001600160a01b0316866001600160a01b0316141580156115c657506000546001600160a01b03868116911614155b80156115e057506015546001600160a01b03868116911614155b1561168b576001600160a01b03861660009081526005602052604090205460ff1615801561162757506001600160a01b03851660009081526005602052604090205460ff16155b61168b5760405162461bcd60e51b815260206004820152602f60248201527f626f747320617265206e6f7420616c6c6f77656420746f2073656c6c206f722060448201526e7472616e7366657220746f6b656e7360881b6064820152608401610a23565b6002546001600160a01b03878116911614806116bf57506001600160a01b03861660009081526007602052604090205460ff165b1561174957600e548411156117275760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610a23565b6011548111156117495760405162461bcd60e51b8152600401610a2390612962565b6002546001600160a01b0387811691161480159061177457506002546001600160a01b038681169116145b806117bb57506001600160a01b03861660009081526007602052604090205460ff161580156117bb57506001600160a01b03851660009081526007602052604090205460ff165b156117cc57600192506117cc611b0c565b6002546001600160a01b038781169116148015906117f857506002546001600160a01b03868116911614155b801561181d57506001600160a01b03861660009081526007602052604090205460ff16155b801561184257506001600160a01b03851660009081526007602052604090205460ff16155b1561188557600d5462010000900460ff1661185e576001611861565b60005b91506011548111156118855760405162461bcd60e51b8152600401610a2390612962565b61189486868685876001611b69565b505050505050565b600081848411156118c05760405162461bcd60e51b8152600401610a2391906122dd565b5060006118cd84866129a7565b95945050505050565b6000806118e383856129be565b9050838110156119355760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a23565b9392505050565b60005b828110156119a657600084848381811061195b5761195b612844565b90506020020160208101906119709190612373565b6001600160a01b03166000908152600660205260409020805460ff1916841515179055508061199e816129d6565b91505061193f565b50505050565b60005b828110156119a65760008484838181106119cb576119cb612844565b90506020020160208101906119e09190612373565b6001600160a01b03166000908152600860205260409020805460ff19168415151790555080611a0e816129d6565b9150506119af565b60005b8251811015610b5f576000838281518110611a3657611a36612844565b602002602001015190508215611a6e576001600160a01b0381166000908152600560205260409020805460ff19166001179055611a8f565b6001600160a01b0381166000908152600560205260409020805460ff191690555b5080611a9a816129d6565b915050611a19565b60005b828110156119a6576000848483818110611ac157611ac1612844565b9050602002016020810190611ad69190612373565b6001600160a01b03166000908152600760205260409020805460ff19168415151790555080611b04816129d6565b915050611aa5565b306000908152600360205260409020548015610cbd576000611b2d82610cc0565b9050600f548110158015611b445750600d5460ff16155b8015611b575750600d54610100900460ff165b15611b6557611b6582611e67565b5050565b600083611b77576000611b92565b601854611b9290606490611b8c908890611fc7565b90612046565b9050838015611b9e5750825b15611bf357601954611bb890606490611b8c908890611fc7565b601a5490915015611bf3576000611bce86610cc0565b90506010548110611bf157601a54611bee90606490611b8c908990611fc7565b91505b505b6000611bff8683612088565b6001600160a01b038916600090815260036020526040902054909150611c259087612088565b6001600160a01b03808a166000908152600360205260408082209390935590891681522054611c5490826118d6565b6001600160a01b038816600090815260036020526040808220929092553081522054611c8090836118d6565b3060009081526003602090815260409182902092909255518781526001600160a01b0389811692908b16917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a38215611e5d57601f54604051633974d3b160e01b81526001600160a01b038a8116600483015290911690633974d3b190602401600060405180830381600087803b158015611d2357600080fd5b505af1925050508015611d34575060015b50601f54604051633974d3b160e01b81526001600160a01b03898116600483015290911690633974d3b190602401600060405180830381600087803b158015611d7c57600080fd5b505af1925050508015611d8d575060015b50601f546016546040516001624d3b8760e01b031981526001600160a01b039092169163ffb2c47991611dc69160040190815260200190565b6060604051808303816000875af1925050508015611e01575060408051601f3d908101601f19168201909252611dfe918101906129f1565b60015b611e0a57611e5d565b601654604080518581526020810185905280820184905260608101929092525132916001917fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989181900360800190a35050505b5050505050505050565b600d805460ff19166001179055611e7d816120ca565b601c544790600090611e9790606490611b8c908590611fc7565b90506000611eb86064611b8c601b6002015486611fc790919063ffffffff16565b90506000611ed96064611b8c601b6000015487611fc790919063ffffffff16565b90506000611efa6064611b8c601b6003015488611fc790919063ffffffff16565b6013546040519192506001600160a01b03169085156108fc029086906000818181858888f19350505050158015611f35573d6000803e3d6000fd5b50611f3f8361221c565b6014546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015611f79573d6000803e3d6000fd5b506012546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611fb4573d6000803e3d6000fd5b5050600d805460ff191690555050505050565b600082611fd6575060006109f3565b6000611fe28385612825565b905082611fef8583612a1f565b146119355760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a23565b600061193583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506122af565b600061193583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061189c565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106120ff576120ff612844565b6001600160a01b03928316602091820292909201810191909152600154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612158573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217c919061285a565b8160018151811061218f5761218f612844565b6001600160a01b0392831660209182029290920101526001546121b5913091168461123a565b60015460405163791ac94760e01b81526001600160a01b039091169063791ac947906121ee908590600090869030904290600401612a41565b600060405180830381600087803b15801561220857600080fd5b505af1158015611894573d6000803e3d6000fd5b601f546040516000916001600160a01b03169083908381818185875af1925050503d8060008114612269576040519150601f19603f3d011682016040523d82523d6000602084013e61226e565b606091505b505090508015611b65576040518281527fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19060200160405180910390a15050565b600081836122d05760405162461bcd60e51b8152600401610a2391906122dd565b5060006118cd8486612a1f565b600060208083528351808285015260005b8181101561230a578581018301518582016040015282016122ee565b8181111561231c576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610cbd57600080fd5b6000806040838503121561235a57600080fd5b823561236581612332565b946020939093013593505050565b60006020828403121561238557600080fd5b813561193581612332565b600080600080608085870312156123a657600080fd5b5050823594602084013594506040840135936060013592509050565b6000806000606084860312156123d757600080fd5b83356123e281612332565b925060208401356123f281612332565b929592945050506040919091013590565b60006020828403121561241557600080fd5b5035919050565b8035801515811461242c57600080fd5b919050565b60008060006040848603121561244657600080fd5b833567ffffffffffffffff8082111561245e57600080fd5b818601915086601f83011261247257600080fd5b81358181111561248157600080fd5b8760208260051b850101111561249657600080fd5b6020928301955093506124ac918601905061241c565b90509250925092565b6000602082840312156124c757600080fd5b6119358261241c565b600080604083850312156124e357600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612531576125316124f2565b604052919050565b600067ffffffffffffffff821115612553576125536124f2565b5060051b60200190565b6000602080838503121561257057600080fd5b823567ffffffffffffffff81111561258757600080fd5b8301601f8101851361259857600080fd5b80356125ab6125a682612539565b612508565b81815260059190911b820183019083810190878311156125ca57600080fd5b928401925b828410156125f15783356125e281612332565b825292840192908401906125cf565b979650505050505050565b60008060006060848603121561261157600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561263b57600080fd5b823561264681612332565b9150602083013561265681612332565b809150509250929050565b60008060006060848603121561267657600080fd5b833561268181612332565b9250602084013561269181612332565b915060408401356126a181612332565b809150509250925092565b600181811c908216806126c057607f821691505b602082108114156126e157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561276d5781600019048211156127535761275361271c565b8085161561276057918102915b93841c9390800290612737565b509250929050565b600082612784575060016109f3565b81612791575060006109f3565b81600181146127a757600281146127b1576127cd565b60019150506109f3565b60ff8411156127c2576127c261271c565b50506001821b6109f3565b5060208310610133831016604e8410600b84101617156127f0575081810a6109f3565b6127fa8383612732565b806000190482111561280e5761280e61271c565b029392505050565b600061193560ff841683612775565b600081600019048311821515161561283f5761283f61271c565b500290565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561286c57600080fd5b815161193581612332565b600081518084526020808501945080840160005b838110156128b05781516001600160a01b03168752958201959082019060010161288b565b509495945050505050565b8281526040602082015260006128d46040830184612877565b949350505050565b600060208083850312156128ef57600080fd5b825167ffffffffffffffff81111561290657600080fd5b8301601f8101851361291757600080fd5b80516129256125a682612539565b81815260059190911b8201830190838101908783111561294457600080fd5b928401925b828410156125f157835182529284019290840190612949565b60208082526025908201527f57616c6c65742063616e6e6f7420657863656564206d61782057616c6c6574206040820152641b1a5b5a5d60da1b606082015260800190565b6000828210156129b9576129b961271c565b500390565b600082198211156129d1576129d161271c565b500190565b60006000198214156129ea576129ea61271c565b5060010190565b600080600060608486031215612a0657600080fd5b8351925060208401519150604084015190509250925092565b600082612a3c57634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a060408201526000612a6060a0830186612877565b6001600160a01b039490941660608301525060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220acb3259dda6f72928f32b4f96e30f8aec78f8213ccd3f1bfb12370e553243a2064736f6c634300080c0033
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.