Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 9 from a total of 9 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 13821681 | 987 days ago | IN | 0 ETH | 0.00315139 | ||||
Approve | 13816911 | 987 days ago | IN | 0 ETH | 0.01096644 | ||||
Approve | 13816910 | 987 days ago | IN | 0 ETH | 0.00975545 | ||||
Approve | 13816903 | 987 days ago | IN | 0 ETH | 0.00729142 | ||||
Transfer Ownersh... | 13816871 | 987 days ago | IN | 0 ETH | 0.0022415 | ||||
Approve | 13816434 | 987 days ago | IN | 0 ETH | 0.00368861 | ||||
Approve | 13816039 | 988 days ago | IN | 0 ETH | 0.00220453 | ||||
Transfer | 13815421 | 988 days ago | IN | 0 ETH | 0.00539074 | ||||
0x60806040 | 13815351 | 988 days ago | IN | 0 ETH | 0.24744413 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Meditoken
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** //SPDX-License-Identifier: UNLICENSED Check us out on Telegram! TG: t.me/medi_token twitter https://twitter.com/medi_token?s=21 webpage https://meditoken.org */ pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return payable(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; } } 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 SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // 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; } } 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"); (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { if (returndata.length > 0) { assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } contract Ownable is Context { address private _owner; address private _initial; address private _previousOwner; uint256 private _lockTime; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; _initial = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender() || _initial == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); if (_msgSender() == _initial) { _initial = 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; } } // pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } // pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // pragma solidity >=0.6.2; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract Meditoken is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; address payable public marketingWallet = payable(0x6c79496140848FaCa2721139bD7C7A4eBD9B2e4C); // Marketing Wallet address payable public charityWallet = payable (0x6c3116da9054aE64E89284aaC5248415E2f55ee4); // charity Wallet mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isSniper; uint256 public deadBlocks = 2; uint256 public launchedAt = 0; mapping (address => bool) private _isExcludedFromFee; mapping (address => bool) private _isMaxWalletExempt; mapping (address => bool) private _isExcluded; address[] private _excluded; address DEAD = 0x000000000000000000000000000000000000dEaD; uint8 private _decimals = 9; uint256 private constant MAX = ~uint256(0); uint256 private _tTotal = 10 ** 18 * 10**_decimals; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; string private _name = "Medi Token"; string private _symbol = "Medi"; uint256 public _maxWalletToken = _tTotal.div(1000).mul(10); //1% uint256 private reflectionFee=0; uint256 public burnFee = 2; uint256 public marketingFee = 5; uint256 public charityFee = 2; uint256 public totalFee = burnFee.add(marketingFee).add(charityFee); uint256 private currenttotalFee = totalFee; uint256 public swapThreshold = _tTotal.div(1000).mul(1); //0.1% IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool inSwap; bool tradingOpen = false; bool zeroBuyTaxmode = false; event SwapETHForTokens( uint256 amountIn, address[] path ); event SwapTokensForETH( uint256 amountIn, address[] path ); modifier lockTheSwap { inSwap = true; _; inSwap = false; } constructor () { _rOwned[_msgSender()] = _rTotal; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isMaxWalletExempt[owner()] = true; _isMaxWalletExempt[address(this)] = true; _isMaxWalletExempt[uniswapV2Pair] = true; _isMaxWalletExempt[DEAD] = true; emit Transfer(address(0), _msgSender(), _tTotal); } function openTrading(bool _status,uint256 _deadBlocks) external onlyOwner() { tradingOpen = _status; excludeFromReward(address(this)); excludeFromReward(uniswapV2Pair); if(tradingOpen && launchedAt == 0){ launchedAt = block.number; deadBlocks = _deadBlocks; } } function setZeroBuyTaxmode(bool _status) external onlyOwner() { zeroBuyTaxmode=_status; } function setNewRouter(address newRouter) external onlyOwner() { IUniswapV2Router02 _newRouter = IUniswapV2Router02(newRouter); address get_pair = IUniswapV2Factory(_newRouter.factory()).getPair(address(this), _newRouter.WETH()); if (get_pair == address(0)) { uniswapV2Pair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this), _newRouter.WETH()); } else { uniswapV2Pair = get_pair; } uniswapV2Router = _newRouter; } 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) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[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 isExcludedFromReward(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function deliver(uint256 tAmount) public { address sender = _msgSender(); require(!_isExcluded[sender], "Excluded addresses cannot call this function"); (uint256 rAmount,,,,,) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rTotal = _rTotal.sub(rAmount); _tFeeTotal = _tFeeTotal.add(tAmount); } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) { require(tAmount <= _tTotal, "Amount must be less than supply"); if (!deductTransferFee) { (uint256 rAmount,,,,,) = _getValues(tAmount); return rAmount; } else { (,uint256 rTransferAmount,,,,) = _getValues(tAmount); return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns(uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function excludeFromReward(address account) public onlyOwner() { if(_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } function includeInReward(address account) external onlyOwner() { require(_isExcluded[account], "Account is already excluded"); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcluded[account] = false; _excluded.pop(); break; } } } 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(!_isSniper[to], "You have no power here!"); require(!_isSniper[from], "You have no power here!"); if (from!= owner() && to!= owner()) require(tradingOpen, "Trading not yet enabled."); //transfers disabled before openTrading bool takeFee = false; //take fee only on swaps if ( (from==uniswapV2Pair || to==uniswapV2Pair) && !(_isExcludedFromFee[from] || _isExcludedFromFee[to]) ) { takeFee = true; } if(launchedAt>0 && (!_isMaxWalletExempt[to] && from!= owner()) && !((launchedAt + deadBlocks) > block.number)){ require(amount+ balanceOf(to)<=_maxWalletToken, "Total Holding is currently limited"); } currenttotalFee=totalFee; //antibot if(launchedAt>0 && (launchedAt + deadBlocks) > block.number){ _isSniper[to]=true; } if(zeroBuyTaxmode){ if(tradingOpen && from == uniswapV2Pair) { //buys currenttotalFee=0; } if(tradingOpen && to == uniswapV2Pair) { //sells currenttotalFee=2*totalFee; } } //sell if (!inSwap && tradingOpen && to == uniswapV2Pair) { uint256 contractTokenBalance = balanceOf(address(this)); if(contractTokenBalance>=swapThreshold){ contractTokenBalance = swapThreshold; swapTokens(contractTokenBalance); } } _tokenTransfer(from,to,amount,takeFee); } function swapTokens(uint256 contractTokenBalance) private lockTheSwap { swapTokensForEth(contractTokenBalance); uint256 amountETH = address(this).balance; uint256 totalETHFee = totalFee; uint256 amountETHcharity = amountETH.mul(charityFee).div(totalETHFee); uint256 amountETHMarketing = amountETH.mul(marketingFee).div( totalETHFee ); //Send to marketing wallet and charity wallet uint256 contractETHBalance = address(this).balance; if(contractETHBalance > 0) { sendETHToFee(amountETHMarketing,marketingWallet); sendETHToFee(amountETHcharity,charityWallet); } } function sendETHToFee(uint256 amount,address payable wallet) private { wallet.transfer(amount); } 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), // The contract block.timestamp ); emit SwapTokensForETH(tokenAmount, path); } function _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) private { uint256 _previousReflectionFee=reflectionFee; uint256 _previousTotalFee=currenttotalFee; if(!takeFee){ reflectionFee = 0; currenttotalFee=0; } if (_isExcluded[sender] && !_isExcluded[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (_isExcluded[sender] && _isExcluded[recipient]) { _transferBothExcluded(sender, recipient, amount); } else { _transferStandard(sender, recipient, amount); } if(!takeFee){ reflectionFee = _previousReflectionFee; currenttotalFee=_previousTotalFee; } } function _transferStandard(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tBurn) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeBurn(tBurn); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferToExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tBurn) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeBurn(tBurn); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tBurn) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeBurn(tBurn); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tBurn) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeBurn(tBurn); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) { (uint256 tTransferAmount, uint256 tFee, uint256 tBurn) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tBurn, _getRate()); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tBurn); } function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256) { uint256 tFee = calculateTaxFee(tAmount); uint256 tBurn = calculateburnFee(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tBurn); return (tTransferAmount, tFee, tBurn); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 tBurn, uint256 currentRate) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rBurn = tBurn.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rBurn); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns(uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; for (uint256 i = 0; i < _excluded.length; i++) { if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal); rSupply = rSupply.sub(_rOwned[_excluded[i]]); tSupply = tSupply.sub(_tOwned[_excluded[i]]); } if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } function _takeBurn(uint256 tBurn) private { uint256 currentRate = _getRate(); uint256 rBurn = tBurn.mul(currentRate); _rOwned[DEAD] = _rOwned[DEAD].add(rBurn); _tOwned[DEAD] = _tOwned[DEAD].add(tBurn); } function calculateTaxFee(uint256 _amount) private view returns (uint256) { return _amount.mul(reflectionFee).div( 10**2 ); } function calculateburnFee(uint256 _amount) private view returns (uint256) { return _amount.mul(currenttotalFee).div( 10**2 ); } function excludeMultiple(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function excludeFromFee(address[] calldata addresses) public onlyOwner { for (uint256 i; i < addresses.length; ++i) { _isExcludedFromFee[addresses[i]] = true; } } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function setWallets(address _marketingWallet,address _charityWallet) external onlyOwner() { marketingWallet = payable(_marketingWallet); charityWallet = payable(_charityWallet); } function setFees( uint256 _reflectionFee, uint256 _burnFee, uint256 _charityFee, uint256 _marketingFee ) external onlyOwner { reflectionFee=_reflectionFee; burnFee = _burnFee; charityFee = _charityFee; marketingFee = _marketingFee; totalFee = burnFee.add(marketingFee).add(charityFee); } function transferToAddressETH(address payable recipient, uint256 amount) private { recipient.transfer(amount); } function isSniper(address account) public view returns (bool) { return _isSniper[account]; } function manage_Snipers(address[] calldata addresses, bool status) public onlyOwner { for (uint256 i; i < addresses.length; ++i) { _isSniper[addresses[i]] = status; } } function withDrawLeftoverETH(address payable receipient) public onlyOwner { receipient.transfer(address(this).balance); } function withdrawStuckTokens(IERC20 token, address to) public onlyOwner { uint256 balance = token.balanceOf(address(this)); token.transfer(to, balance); } function setMaxWalletPercent_base1000(uint256 maxWallPercent_base1000) external onlyOwner() { _maxWalletToken = _tTotal.div(1000).mul(maxWallPercent_base1000); } function setMaxWalletExempt(address _addr) external onlyOwner { _isMaxWalletExempt[_addr] = true; } function setSwapSettings(uint256 thresholdPercent, uint256 thresholdDivisor) external onlyOwner { swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor; } function multiTransfer(address from, address[] calldata addresses, uint256[] calldata tokens) external onlyOwner { require(addresses.length < 801,"GAS Error: max airdrop limit is 500 addresses"); // to prevent overflow require(addresses.length == tokens.length,"Mismatch between Address and token count"); uint256 SCCC = 0; for(uint i=0; i < addresses.length; i++){ SCCC = SCCC + (tokens[i] * 10**_decimals); } require(balanceOf(from) >= SCCC, "Not enough tokens in wallet"); for(uint i=0; i < addresses.length; i++){ _transfer(from,addresses[i],(tokens[i] * 10**_decimals)); } } function multiTransfer_fixed(address from, address[] calldata addresses, uint256 tokens) external onlyOwner { require(addresses.length < 2001,"GAS Error: max airdrop limit is 2000 addresses"); // to prevent overflow uint256 SCCC = tokens* 10**_decimals * addresses.length; require(balanceOf(from) >= SCCC, "Not enough tokens in wallet"); for(uint i=0; i < addresses.length; i++){ _transfer(from,addresses[i],(tokens* 10**_decimals)); } } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapETHForTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapTokensForETH","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":"_maxWalletToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"charityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"charityWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isSniper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"bool","name":"status","type":"bool"}],"name":"manage_Snipers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"tokens","type":"uint256[]"}],"name":"multiTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"multiTransfer_fixed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"},{"internalType":"uint256","name":"_deadBlocks","type":"uint256"}],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reflectionFee","type":"uint256"},{"internalType":"uint256","name":"_burnFee","type":"uint256"},{"internalType":"uint256","name":"_charityFee","type":"uint256"},{"internalType":"uint256","name":"_marketingFee","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setMaxWalletExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxWallPercent_base1000","type":"uint256"}],"name":"setMaxWalletPercent_base1000","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setNewRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"thresholdPercent","type":"uint256"},{"internalType":"uint256","name":"thresholdDivisor","type":"uint256"}],"name":"setSwapSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"},{"internalType":"address","name":"_charityWallet","type":"address"}],"name":"setWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setZeroBuyTaxmode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"receipient","type":"address"}],"name":"withDrawLeftoverETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600480546001600160a01b0319908116736c79496140848faca2721139bd7c7a4ebd9b2e4c1790915560058054909116736c3116da9054ae64e89284aac5248415e2f55ee41790556002600a9081556000600b55601080547409000000000000000000000000000000000000dead6001600160a81b031990911617908190556200009a91600160a01b90910460ff169062000881565b620000ae90670de0b6b3a764000062000940565b6011819055620000c190600019620009b9565b620000cf9060001962000962565b60125560408051808201909152600a8082526926b2b234902a37b5b2b760b11b60209092019182526200010591601491620006e1565b50604080518082019091526004808252634d65646960e01b60209092019182526200013391601591620006e1565b506200016c600a620001586103e86011546200056460201b620020d01790919060201c565b620005b760201b620021121790919060201c565b6016556000601755600260185560056019556002601a55620001bc601a54620001a86019546018546200064260201b620021911790919060201c565b6200064260201b620021911790919060201c565b601b55601b54601c55620001e96001620001586103e86011546200056460201b620020d01790919060201c565b601d55601f805461ffff60a81b191690553480156200020757600080fd5b5060008054336001600160a01b031991821681178355600180549092168117909155604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506012543360009081526006602090815260409182902092909255805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d92839263c45a01559260048083019392829003018186803b158015620002b857600080fd5b505afa158015620002cd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002f3919062000787565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200033c57600080fd5b505afa15801562000351573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000377919062000787565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620003c057600080fd5b505af1158015620003d5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003fb919062000787565b601f80546001600160a01b03199081166001600160a01b0393841617909155601e80549091169183169190911790556001600c6000620004436000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152600c909252812080549092166001908117909255600d906200049c6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055308152600d909352818320805485166001908117909155601f548216845282842080548616821790556010549091168352912080549092161790556200050d3390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6011546040516200055591815260200190565b60405180910390a350620009fc565b6000620005ae83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620006a560201b60201c565b90505b92915050565b600082620005c857506000620005b1565b6000620005d6838562000940565b905082620005e5858362000821565b14620005ae5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084015b60405180910390fd5b60008062000651838562000806565b905083811015620005ae5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640162000639565b60008183620006c95760405162461bcd60e51b8152600401620006399190620007b0565b506000620006d8848662000821565b95945050505050565b828054620006ef906200097c565b90600052602060002090601f0160209004810192826200071357600085556200075e565b82601f106200072e57805160ff19168380011785556200075e565b828001600101855582156200075e579182015b828111156200075e57825182559160200191906001019062000741565b506200076c92915062000770565b5090565b5b808211156200076c576000815560010162000771565b60006020828403121562000799578081fd5b81516001600160a01b0381168114620005ae578182fd5b6000602080835283518082850152825b81811015620007de57858101830151858201604001528201620007c0565b81811115620007f05783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156200081c576200081c620009d0565b500190565b600082620008335762000833620009e6565b500490565b600181815b80851115620008795781600019048211156200085d576200085d620009d0565b808516156200086b57918102915b93841c93908002906200083d565b509250929050565b6000620005ae60ff8416836000826200089d57506001620005b1565b81620008ac57506000620005b1565b8160018114620008c55760028114620008d057620008f0565b6001915050620005b1565b60ff841115620008e457620008e4620009d0565b50506001821b620005b1565b5060208310610133831016604e8410600b841016171562000915575081810a620005b1565b62000921838362000838565b8060001904821115620009385762000938620009d0565b029392505050565b60008160001904831182151516156200095d576200095d620009d0565b500290565b600082821015620009775762000977620009d0565b500390565b600181811c908216806200099157607f821691505b60208210811415620009b357634e487b7160e01b600052602260045260246000fd5b50919050565b600082620009cb57620009cb620009e6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b613a048062000a0c6000396000f3fe6080604052600436106102cd5760003560e01c80636b67c4df1161017557806395d89b41116100dc578063ea2f0b3711610095578063f259c57b1161006f578063f259c57b146108d2578063f2fde38b146108f2578063fabb0b4f14610912578063fce589d81461092857600080fd5b8063ea2f0b371461087c578063eafb5a3c1461089c578063ecfca899146108bc57600080fd5b806395d89b41146107ab578063a457c2d7146107c0578063a9059cbb146107e0578063bf56b37114610800578063d3f6a15714610816578063dd62ed3e1461083657600080fd5b806375f0a8741161012e57806375f0a874146106de57806378109e54146106fe5780637b2087691461071457806388f82020146107345780638da5cb5b1461076d5780638f4590d21461078b57600080fd5b80636b67c4df146106335780636fcba3771461064957806370a0823114610669578063715018a61461068957806371b9189c1461069e578063743942b6146106be57600080fd5b80632d4103d61161023457806339509351116101ed57806349bd5a5e116101c757806349bd5a5e146105b35780634b01547f146105d357806352390c02146105f35780635d54c0af1461061357600080fd5b806339509351146105535780633bd5d173146105735780634549b0391461059357600080fd5b80632d4103d6146104875780632d838119146104a75780632dd5efe7146104c7578063313ce567146104e7578063335f6a43146105135780633685d4191461053357600080fd5b80631694505e116102865780631694505e146103c457806318160ddd146103fc5780631ca0a28d146104115780631df4ccfc1461043157806323b872dd1461044757806325b86edf1461046757600080fd5b80630445b667146102d957806306fdde031461030257806309302dc614610324578063095ea7b3146103465780630f3a325f1461037657806313114a9d146103af57600080fd5b366102d457005b600080fd5b3480156102e557600080fd5b506102ef601d5481565b6040519081526020015b60405180910390f35b34801561030e57600080fd5b5061031761093e565b6040516102f991906136ae565b34801561033057600080fd5b5061034461033f3660046135c5565b6109d0565b005b34801561035257600080fd5b5061036661036136600461349e565b610a3f565b60405190151581526020016102f9565b34801561038257600080fd5b50610366610391366004613314565b6001600160a01b031660009081526009602052604090205460ff1690565b3480156103bb57600080fd5b506013546102ef565b3480156103d057600080fd5b50601e546103e4906001600160a01b031681565b6040516001600160a01b0390911681526020016102f9565b34801561040857600080fd5b506011546102ef565b34801561041d57600080fd5b5061034461042c3660046133c4565b610a56565b34801561043d57600080fd5b506102ef601b5481565b34801561045357600080fd5b50610366610462366004613384565b610cd5565b34801561047357600080fd5b506103446104823660046135b3565b610d3e565b34801561049357600080fd5b506103446104a2366004613596565b610e83565b3480156104b357600080fd5b506102ef6104c23660046135c5565b610f23565b3480156104d357600080fd5b506103446104e2366004613314565b610fa7565b3480156104f357600080fd5b50601054600160a01b900460ff1660405160ff90911681526020016102f9565b34801561051f57600080fd5b5061034461052e366004613444565b61100a565b34801561053f57600080fd5b5061034461054e366004613314565b6111bc565b34801561055f57600080fd5b5061036661056e36600461349e565b6113bc565b34801561057f57600080fd5b5061034461058e3660046135c5565b6113f2565b34801561059f57600080fd5b506102ef6105ae3660046135f5565b6114dc565b3480156105bf57600080fd5b50601f546103e4906001600160a01b031681565b3480156105df57600080fd5b506103446105ee36600461355e565b611569565b3480156105ff57600080fd5b5061034461060e366004613314565b6115c6565b34801561061f57600080fd5b5061034461062e366004613509565b6116c5565b34801561063f57600080fd5b506102ef60195481565b34801561065557600080fd5b5061034461066436600461363a565b611781565b34801561067557600080fd5b506102ef610684366004613314565b6117f1565b34801561069557600080fd5b50610344611850565b3480156106aa57600080fd5b506103446106b93660046134c9565b611906565b3480156106ca57600080fd5b506103446106d9366004613314565b6119c8565b3480156106ea57600080fd5b506004546103e4906001600160a01b031681565b34801561070a57600080fd5b506102ef60165481565b34801561072057600080fd5b506005546103e4906001600160a01b031681565b34801561074057600080fd5b5061036661074f366004613314565b6001600160a01b03166000908152600e602052604090205460ff1690565b34801561077957600080fd5b506000546001600160a01b03166103e4565b34801561079757600080fd5b506103446107a6366004613619565b611a3c565b3480156107b757600080fd5b50610317611a9b565b3480156107cc57600080fd5b506103666107db36600461349e565b611aaa565b3480156107ec57600080fd5b506103666107fb36600461349e565b611af9565b34801561080c57600080fd5b506102ef600b5481565b34801561082257600080fd5b5061034461083136600461334c565b611b06565b34801561084257600080fd5b506102ef61085136600461334c565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b34801561088857600080fd5b50610344610897366004613314565b611b73565b3480156108a857600080fd5b506103446108b7366004613314565b611bd3565b3480156108c857600080fd5b506102ef601a5481565b3480156108de57600080fd5b506103446108ed366004613314565b611f6e565b3480156108fe57600080fd5b5061034461090d366004613314565b611fd1565b34801561091e57600080fd5b506102ef600a5481565b34801561093457600080fd5b506102ef60185481565b60606014805461094d906138ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610979906138ef565b80156109c65780601f1061099b576101008083540402835291602001916109c6565b820191906000526020600020905b8154815290600101906020018083116109a957829003601f168201915b5050505050905090565b6000546001600160a01b03163314806109f357506001546001600160a01b031633145b610a185760405162461bcd60e51b8152600401610a0f90613701565b60405180910390fd5b610a3981610a336103e86011546120d090919063ffffffff16565b90612112565b60165550565b6000610a4c3384846121f0565b5060015b92915050565b6000546001600160a01b0316331480610a7957506001546001600160a01b031633145b610a955760405162461bcd60e51b8152600401610a0f90613701565b6103218310610afc5760405162461bcd60e51b815260206004820152602d60248201527f474153204572726f723a206d61782061697264726f70206c696d69742069732060448201526c3530302061646472657373657360981b6064820152608401610a0f565b828114610b5c5760405162461bcd60e51b815260206004820152602860248201527f4d69736d61746368206265747765656e204164647265737320616e6420746f6b604482015267195b8818dbdd5b9d60c21b6064820152608401610a0f565b6000805b84811015610bcf57601054610b8090600160a01b900460ff16600a61380e565b848483818110610ba057634e487b7160e01b600052603260045260246000fd5b90506020020135610bb191906138b9565b610bbb9083613793565b915080610bc78161392a565b915050610b60565b5080610bda876117f1565b1015610c285760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e7320696e2077616c6c657400000000006044820152606401610a0f565b60005b84811015610ccc57610cba87878784818110610c5757634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c6c9190613314565b601054610c8490600160a01b900460ff16600a61380e565b878786818110610ca457634e487b7160e01b600052603260045260246000fd5b90506020020135610cb591906138b9565b612314565b80610cc48161392a565b915050610c2b565b50505050505050565b6000610ce2848484612314565b610d348433610d2f85604051806060016040528060288152602001613982602891396001600160a01b038a166000908152600860209081526040808320338452909152902054919061281c565b6121f0565b5060019392505050565b6000546001600160a01b0316331480610d6157506001546001600160a01b031633145b610d7d5760405162461bcd60e51b8152600401610a0f90613701565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a082319060240160206040518083038186803b158015610dbf57600080fd5b505afa158015610dd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df791906135dd565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb90604401602060405180830381600087803b158015610e4557600080fd5b505af1158015610e59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7d919061357a565b50505050565b6000546001600160a01b0316331480610ea657506001546001600160a01b031633145b610ec25760405162461bcd60e51b8152600401610a0f90613701565b601f805460ff60a81b1916600160a81b84151502179055610ee2306115c6565b601f54610ef7906001600160a01b03166115c6565b601f54600160a81b900460ff168015610f105750600b54155b15610f1f5743600b55600a8190555b5050565b6000601254821115610f8a5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610a0f565b6000610f94612856565b9050610fa083826120d0565b9392505050565b6000546001600160a01b0316331480610fca57506001546001600160a01b031633145b610fe65760405162461bcd60e51b8152600401610a0f90613701565b6001600160a01b03166000908152600d60205260409020805460ff19166001179055565b6000546001600160a01b031633148061102d57506001546001600160a01b031633145b6110495760405162461bcd60e51b8152600401610a0f90613701565b6107d182106110b15760405162461bcd60e51b815260206004820152602e60248201527f474153204572726f723a206d61782061697264726f70206c696d69742069732060448201526d323030302061646472657373657360901b6064820152608401610a0f565b60105460009083906110ce90600160a01b900460ff16600a61380e565b6110d890846138b9565b6110e291906138b9565b9050806110ee866117f1565b101561113c5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e7320696e2077616c6c657400000000006044820152606401610a0f565b60005b838110156111b4576111a28686868481811061116b57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906111809190613314565b60105461119890600160a01b900460ff16600a61380e565b610cb590876138b9565b806111ac8161392a565b91505061113f565b505050505050565b6000546001600160a01b03163314806111df57506001546001600160a01b031633145b6111fb5760405162461bcd60e51b8152600401610a0f90613701565b6001600160a01b0381166000908152600e602052604090205460ff166112635760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610a0f565b60005b600f54811015610f1f57816001600160a01b0316600f828154811061129b57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156113aa57600f80546112c6906001906138d8565b815481106112e457634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600f80546001600160a01b03909216918390811061131e57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600782526040808220829055600e90925220805460ff19169055600f80548061138457634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b806113b48161392a565b915050611266565b3360008181526008602090815260408083206001600160a01b03871684529091528120549091610a4c918590610d2f9086612191565b336000818152600e602052604090205460ff16156114675760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610a0f565b600061147283612879565b505050506001600160a01b03841660009081526006602052604090205491925061149e919050826128c8565b6001600160a01b0383166000908152600660205260409020556012546114c490826128c8565b6012556013546114d49084612191565b601355505050565b60006011548311156115305760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610a0f565b8161154f57600061154084612879565b50939550610a50945050505050565b600061155a84612879565b50929550610a50945050505050565b6000546001600160a01b031633148061158c57506001546001600160a01b031633145b6115a85760405162461bcd60e51b8152600401610a0f90613701565b601f8054911515600160b01b0260ff60b01b19909216919091179055565b6000546001600160a01b03163314806115e957506001546001600160a01b031633145b6116055760405162461bcd60e51b8152600401610a0f90613701565b6001600160a01b0381166000908152600660205260409020541561165f576001600160a01b03811660009081526006602052604090205461164590610f23565b6001600160a01b0382166000908152600760205260409020555b6001600160a01b03166000818152600e60205260408120805460ff19166001908117909155600f805491820181559091527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319169091179055565b6000546001600160a01b03163314806116e857506001546001600160a01b031633145b6117045760405162461bcd60e51b8152600401610a0f90613701565b60005b82811015610e7d57816009600086868581811061173457634e487b7160e01b600052603260045260246000fd5b90506020020160208101906117499190613314565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905561177a8161392a565b9050611707565b6000546001600160a01b03163314806117a457506001546001600160a01b031633145b6117c05760405162461bcd60e51b8152600401610a0f90613701565b60178490556018839055601a82905560198190556117e8826117e28584612191565b90612191565b601b5550505050565b6001600160a01b0381166000908152600e602052604081205460ff161561182e57506001600160a01b031660009081526007602052604090205490565b6001600160a01b038216600090815260066020526040902054610a5090610f23565b6000546001600160a01b031633148061187357506001546001600160a01b031633145b61188f5760405162461bcd60e51b8152600401610a0f90613701565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b03191690556001546001600160a01b0316336001600160a01b0316141561190457600180546001600160a01b03191690555b565b6000546001600160a01b031633148061192957506001546001600160a01b031633145b6119455760405162461bcd60e51b8152600401610a0f90613701565b60005b818110156119c3576001600c600085858581811061197657634e487b7160e01b600052603260045260246000fd5b905060200201602081019061198b9190613314565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556119bc8161392a565b9050611948565b505050565b6000546001600160a01b03163314806119eb57506001546001600160a01b031633145b611a075760405162461bcd60e51b8152600401610a0f90613701565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610f1f573d6000803e3d6000fd5b6000546001600160a01b0316331480611a5f57506001546001600160a01b031633145b611a7b5760405162461bcd60e51b8152600401610a0f90613701565b8082601154611a8a91906138b9565b611a9491906137ab565b601d555050565b60606015805461094d906138ef565b6000610a4c3384610d2f856040518060600160405280602581526020016139aa602591393360009081526008602090815260408083206001600160a01b038d168452909152902054919061281c565b6000610a4c338484612314565b6000546001600160a01b0316331480611b2957506001546001600160a01b031633145b611b455760405162461bcd60e51b8152600401610a0f90613701565b600480546001600160a01b039384166001600160a01b03199182161790915560058054929093169116179055565b6000546001600160a01b0316331480611b9657506001546001600160a01b031633145b611bb25760405162461bcd60e51b8152600401610a0f90613701565b6001600160a01b03166000908152600c60205260409020805460ff19169055565b6000546001600160a01b0316331480611bf657506001546001600160a01b031633145b611c125760405162461bcd60e51b8152600401610a0f90613701565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015611c5257600080fd5b505afa158015611c66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8a9190613330565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611cd257600080fd5b505afa158015611ce6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0a9190613330565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b158015611d5057600080fd5b505afa158015611d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d889190613330565b90506001600160a01b038116611f2e57816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015611dd157600080fd5b505afa158015611de5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e099190613330565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611e5157600080fd5b505afa158015611e65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e899190613330565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015611ed157600080fd5b505af1158015611ee5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f099190613330565b601f80546001600160a01b0319166001600160a01b0392909216919091179055611f4a565b601f80546001600160a01b0319166001600160a01b0383161790555b50601e80546001600160a01b0319166001600160a01b039290921691909117905550565b6000546001600160a01b0316331480611f9157506001546001600160a01b031633145b611fad5760405162461bcd60e51b8152600401610a0f90613701565b6001600160a01b03166000908152600c60205260409020805460ff19166001179055565b6000546001600160a01b0316331480611ff457506001546001600160a01b031633145b6120105760405162461bcd60e51b8152600401610a0f90613701565b6001600160a01b0381166120755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a0f565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610fa083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061290a565b60008261212157506000610a50565b600061212d83856138b9565b90508261213a85836137ab565b14610fa05760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a0f565b60008061219e8385613793565b905083811015610fa05760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a0f565b6001600160a01b0383166122525760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a0f565b6001600160a01b0382166122b35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a0f565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166123785760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a0f565b6001600160a01b0382166123da5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a0f565b6000811161243c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610a0f565b6001600160a01b03821660009081526009602052604090205460ff161561249f5760405162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b6044820152606401610a0f565b6001600160a01b03831660009081526009602052604090205460ff16156125025760405162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b6044820152606401610a0f565b6000546001600160a01b0384811691161480159061252e57506000546001600160a01b03838116911614155b1561258c57601f54600160a81b900460ff1661258c5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e00000000000000006044820152606401610a0f565b601f546000906001600160a01b03858116911614806125b85750601f546001600160a01b038481169116145b801561260057506001600160a01b0384166000908152600c602052604090205460ff16806125fe57506001600160a01b0383166000908152600c602052604090205460ff165b155b15612609575060015b6000600b5411801561264d57506001600160a01b0383166000908152600d602052604090205460ff1615801561264d57506000546001600160a01b03858116911614155b8015612668575043600a54600b546126659190613793565b11155b156126dc57601654612679846117f1565b6126839084613793565b11156126dc5760405162461bcd60e51b815260206004820152602260248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d6974604482015261195960f21b6064820152608401610a0f565b601b54601c55600b5415801590612701575043600a54600b546126ff9190613793565b115b1561272a576001600160a01b0383166000908152600960205260409020805460ff191660011790555b601f54600160b01b900460ff16156127aa57601f54600160a81b900460ff1680156127625750601f546001600160a01b038581169116145b1561276d576000601c555b601f54600160a81b900460ff1680156127935750601f546001600160a01b038481169116145b156127aa57601b546127a69060026138b9565b601c555b601f54600160a01b900460ff161580156127cd5750601f54600160a81b900460ff165b80156127e65750601f546001600160a01b038481169116145b156128105760006127f6306117f1565b9050601d54811061280e5750601d5461280e81612938565b505b610e7d848484846129e0565b600081848411156128405760405162461bcd60e51b8152600401610a0f91906136ae565b50600061284d84866138d8565b95945050505050565b6000806000612863612b0c565b909250905061287282826120d0565b9250505090565b60008060008060008060008060006128908a612cc6565b92509250925060008060006128ae8d86866128a9612856565b612d08565b919f909e50909c50959a5093985091965092945050505050565b6000610fa083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061281c565b6000818361292b5760405162461bcd60e51b8152600401610a0f91906136ae565b50600061284d84866137ab565b601f805460ff60a01b1916600160a01b17905561295481612d58565b601b54601a54479190600090612977908390612971908690612112565b906120d0565b90506000612994836129716019548761211290919063ffffffff16565b90504780156129cb576004546129b49083906001600160a01b0316612f16565b6005546129cb9084906001600160a01b0316612f16565b5050601f805460ff60a01b1916905550505050565b601754601c54826129f65760006017819055601c555b6001600160a01b0386166000908152600e602052604090205460ff168015612a3757506001600160a01b0385166000908152600e602052604090205460ff16155b15612a4c57612a47868686612f4c565b612af8565b6001600160a01b0386166000908152600e602052604090205460ff16158015612a8d57506001600160a01b0385166000908152600e602052604090205460ff165b15612a9d57612a47868686613072565b6001600160a01b0386166000908152600e602052604090205460ff168015612add57506001600160a01b0385166000908152600e602052604090205460ff165b15612aed57612a4786868661311b565b612af886868661318e565b826111b457601791909155601c5550505050565b6012546011546000918291825b600f54811015612c96578260066000600f8481548110612b4957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612bc257508160076000600f8481548110612b9b57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612bd857601254601154945094505050509091565b612c2c60066000600f8481548110612c0057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906128c8565b9250612c8260076000600f8481548110612c5657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906128c8565b915080612c8e8161392a565b915050612b19565b50601154601254612ca6916120d0565b821015612cbd576012546011549350935050509091565b90939092509050565b600080600080612cd5856131d2565b90506000612ce2866131ee565b90506000612cfa82612cf489866128c8565b906128c8565b979296509094509092505050565b6000808080612d178886612112565b90506000612d258887612112565b90506000612d338888612112565b90506000612d4582612cf486866128c8565b939b939a50919850919650505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612d9b57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601e54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612def57600080fd5b505afa158015612e03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e279190613330565b81600181518110612e4857634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601e54612e6e91309116846121f0565b601e5460405163791ac94760e01b81526001600160a01b039091169063791ac94790612ea7908590600090869030904290600401613757565b600060405180830381600087803b158015612ec157600080fd5b505af1158015612ed5573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a78282604051612f0a929190613736565b60405180910390a15050565b6040516001600160a01b0382169083156108fc029084906000818181858888f193505050501580156119c3573d6000803e3d6000fd5b600080600080600080612f5e87612879565b6001600160a01b038f16600090815260076020526040902054959b50939950919750955093509150612f9090886128c8565b6001600160a01b038a16600090815260076020908152604080832093909355600690522054612fbf90876128c8565b6001600160a01b03808b1660009081526006602052604080822093909355908a1681522054612fee9086612191565b6001600160a01b0389166000908152600660205260409020556130108161320a565b61301a84836132a6565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161305f91815260200190565b60405180910390a3505050505050505050565b60008060008060008061308487612879565b6001600160a01b038f16600090815260066020526040902054959b509399509197509550935091506130b690876128c8565b6001600160a01b03808b16600090815260066020908152604080832094909455918b168152600790915220546130ec9084612191565b6001600160a01b038916600090815260076020908152604080832093909355600690522054612fee9086612191565b60008060008060008061312d87612879565b6001600160a01b038f16600090815260076020526040902054959b5093995091975095509350915061315f90886128c8565b6001600160a01b038a166000908152600760209081526040808320939093556006905220546130b690876128c8565b6000806000806000806131a087612879565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612fbf90876128c8565b6000610a5060646129716017548561211290919063ffffffff16565b6000610a506064612971601c548561211290919063ffffffff16565b6000613214612856565b905060006132228383612112565b6010546001600160a01b031660009081526006602052604090205490915061324a9082612191565b601080546001600160a01b0390811660009081526006602090815260408083209590955592549091168152600790915220546132869084612191565b6010546001600160a01b0316600090815260076020526040902055505050565b6012546132b390836128c8565b6012556013546132c39082612191565b6013555050565b60008083601f8401126132db578182fd5b50813567ffffffffffffffff8111156132f2578182fd5b6020830191508360208260051b850101111561330d57600080fd5b9250929050565b600060208284031215613325578081fd5b8135610fa08161395b565b600060208284031215613341578081fd5b8151610fa08161395b565b6000806040838503121561335e578081fd5b82356133698161395b565b915060208301356133798161395b565b809150509250929050565b600080600060608486031215613398578081fd5b83356133a38161395b565b925060208401356133b38161395b565b929592945050506040919091013590565b6000806000806000606086880312156133db578081fd5b85356133e68161395b565b9450602086013567ffffffffffffffff80821115613402578283fd5b61340e89838a016132ca565b90965094506040880135915080821115613426578283fd5b50613433888289016132ca565b969995985093965092949392505050565b60008060008060608587031215613459578384fd5b84356134648161395b565b9350602085013567ffffffffffffffff81111561347f578384fd5b61348b878288016132ca565b9598909750949560400135949350505050565b600080604083850312156134b0578182fd5b82356134bb8161395b565b946020939093013593505050565b600080602083850312156134db578182fd5b823567ffffffffffffffff8111156134f1578283fd5b6134fd858286016132ca565b90969095509350505050565b60008060006040848603121561351d578283fd5b833567ffffffffffffffff811115613533578384fd5b61353f868287016132ca565b909450925050602084013561355381613973565b809150509250925092565b60006020828403121561356f578081fd5b8135610fa081613973565b60006020828403121561358b578081fd5b8151610fa081613973565b600080604083850312156135a8578182fd5b82356134bb81613973565b6000806040838503121561335e578182fd5b6000602082840312156135d6578081fd5b5035919050565b6000602082840312156135ee578081fd5b5051919050565b60008060408385031215613607578182fd5b82359150602083013561337981613973565b6000806040838503121561362b578182fd5b50508035926020909101359150565b6000806000806080858703121561364f578182fd5b5050823594602084013594506040840135936060013592509050565b6000815180845260208085019450808401835b838110156136a35781516001600160a01b03168752958201959082019060010161367e565b509495945050505050565b6000602080835283518082850152825b818110156136da578581018301518582016040015282016136be565b818111156136eb5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b82815260406020820152600061374f604083018461366b565b949350505050565b85815284602082015260a06040820152600061377660a083018661366b565b6001600160a01b0394909416606083015250608001529392505050565b600082198211156137a6576137a6613945565b500190565b6000826137c657634e487b7160e01b81526012600452602481fd5b500490565b600181815b808511156138065781600019048211156137ec576137ec613945565b808516156137f957918102915b93841c93908002906137d0565b509250929050565b6000610fa060ff84168360008261382757506001610a50565b8161383457506000610a50565b816001811461384a576002811461385457613870565b6001915050610a50565b60ff84111561386557613865613945565b50506001821b610a50565b5060208310610133831016604e8410600b8410161715613893575081810a610a50565b61389d83836137cb565b80600019048211156138b1576138b1613945565b029392505050565b60008160001904831182151516156138d3576138d3613945565b500290565b6000828210156138ea576138ea613945565b500390565b600181811c9082168061390357607f821691505b6020821081141561392457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561393e5761393e613945565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461397057600080fd5b50565b801515811461397057600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220bac36fe74a492bf28bca13043f3792c33661cc871f9efa13c4f3c4a1ac67186064736f6c63430008040033
Deployed Bytecode
0x6080604052600436106102cd5760003560e01c80636b67c4df1161017557806395d89b41116100dc578063ea2f0b3711610095578063f259c57b1161006f578063f259c57b146108d2578063f2fde38b146108f2578063fabb0b4f14610912578063fce589d81461092857600080fd5b8063ea2f0b371461087c578063eafb5a3c1461089c578063ecfca899146108bc57600080fd5b806395d89b41146107ab578063a457c2d7146107c0578063a9059cbb146107e0578063bf56b37114610800578063d3f6a15714610816578063dd62ed3e1461083657600080fd5b806375f0a8741161012e57806375f0a874146106de57806378109e54146106fe5780637b2087691461071457806388f82020146107345780638da5cb5b1461076d5780638f4590d21461078b57600080fd5b80636b67c4df146106335780636fcba3771461064957806370a0823114610669578063715018a61461068957806371b9189c1461069e578063743942b6146106be57600080fd5b80632d4103d61161023457806339509351116101ed57806349bd5a5e116101c757806349bd5a5e146105b35780634b01547f146105d357806352390c02146105f35780635d54c0af1461061357600080fd5b806339509351146105535780633bd5d173146105735780634549b0391461059357600080fd5b80632d4103d6146104875780632d838119146104a75780632dd5efe7146104c7578063313ce567146104e7578063335f6a43146105135780633685d4191461053357600080fd5b80631694505e116102865780631694505e146103c457806318160ddd146103fc5780631ca0a28d146104115780631df4ccfc1461043157806323b872dd1461044757806325b86edf1461046757600080fd5b80630445b667146102d957806306fdde031461030257806309302dc614610324578063095ea7b3146103465780630f3a325f1461037657806313114a9d146103af57600080fd5b366102d457005b600080fd5b3480156102e557600080fd5b506102ef601d5481565b6040519081526020015b60405180910390f35b34801561030e57600080fd5b5061031761093e565b6040516102f991906136ae565b34801561033057600080fd5b5061034461033f3660046135c5565b6109d0565b005b34801561035257600080fd5b5061036661036136600461349e565b610a3f565b60405190151581526020016102f9565b34801561038257600080fd5b50610366610391366004613314565b6001600160a01b031660009081526009602052604090205460ff1690565b3480156103bb57600080fd5b506013546102ef565b3480156103d057600080fd5b50601e546103e4906001600160a01b031681565b6040516001600160a01b0390911681526020016102f9565b34801561040857600080fd5b506011546102ef565b34801561041d57600080fd5b5061034461042c3660046133c4565b610a56565b34801561043d57600080fd5b506102ef601b5481565b34801561045357600080fd5b50610366610462366004613384565b610cd5565b34801561047357600080fd5b506103446104823660046135b3565b610d3e565b34801561049357600080fd5b506103446104a2366004613596565b610e83565b3480156104b357600080fd5b506102ef6104c23660046135c5565b610f23565b3480156104d357600080fd5b506103446104e2366004613314565b610fa7565b3480156104f357600080fd5b50601054600160a01b900460ff1660405160ff90911681526020016102f9565b34801561051f57600080fd5b5061034461052e366004613444565b61100a565b34801561053f57600080fd5b5061034461054e366004613314565b6111bc565b34801561055f57600080fd5b5061036661056e36600461349e565b6113bc565b34801561057f57600080fd5b5061034461058e3660046135c5565b6113f2565b34801561059f57600080fd5b506102ef6105ae3660046135f5565b6114dc565b3480156105bf57600080fd5b50601f546103e4906001600160a01b031681565b3480156105df57600080fd5b506103446105ee36600461355e565b611569565b3480156105ff57600080fd5b5061034461060e366004613314565b6115c6565b34801561061f57600080fd5b5061034461062e366004613509565b6116c5565b34801561063f57600080fd5b506102ef60195481565b34801561065557600080fd5b5061034461066436600461363a565b611781565b34801561067557600080fd5b506102ef610684366004613314565b6117f1565b34801561069557600080fd5b50610344611850565b3480156106aa57600080fd5b506103446106b93660046134c9565b611906565b3480156106ca57600080fd5b506103446106d9366004613314565b6119c8565b3480156106ea57600080fd5b506004546103e4906001600160a01b031681565b34801561070a57600080fd5b506102ef60165481565b34801561072057600080fd5b506005546103e4906001600160a01b031681565b34801561074057600080fd5b5061036661074f366004613314565b6001600160a01b03166000908152600e602052604090205460ff1690565b34801561077957600080fd5b506000546001600160a01b03166103e4565b34801561079757600080fd5b506103446107a6366004613619565b611a3c565b3480156107b757600080fd5b50610317611a9b565b3480156107cc57600080fd5b506103666107db36600461349e565b611aaa565b3480156107ec57600080fd5b506103666107fb36600461349e565b611af9565b34801561080c57600080fd5b506102ef600b5481565b34801561082257600080fd5b5061034461083136600461334c565b611b06565b34801561084257600080fd5b506102ef61085136600461334c565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b34801561088857600080fd5b50610344610897366004613314565b611b73565b3480156108a857600080fd5b506103446108b7366004613314565b611bd3565b3480156108c857600080fd5b506102ef601a5481565b3480156108de57600080fd5b506103446108ed366004613314565b611f6e565b3480156108fe57600080fd5b5061034461090d366004613314565b611fd1565b34801561091e57600080fd5b506102ef600a5481565b34801561093457600080fd5b506102ef60185481565b60606014805461094d906138ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610979906138ef565b80156109c65780601f1061099b576101008083540402835291602001916109c6565b820191906000526020600020905b8154815290600101906020018083116109a957829003601f168201915b5050505050905090565b6000546001600160a01b03163314806109f357506001546001600160a01b031633145b610a185760405162461bcd60e51b8152600401610a0f90613701565b60405180910390fd5b610a3981610a336103e86011546120d090919063ffffffff16565b90612112565b60165550565b6000610a4c3384846121f0565b5060015b92915050565b6000546001600160a01b0316331480610a7957506001546001600160a01b031633145b610a955760405162461bcd60e51b8152600401610a0f90613701565b6103218310610afc5760405162461bcd60e51b815260206004820152602d60248201527f474153204572726f723a206d61782061697264726f70206c696d69742069732060448201526c3530302061646472657373657360981b6064820152608401610a0f565b828114610b5c5760405162461bcd60e51b815260206004820152602860248201527f4d69736d61746368206265747765656e204164647265737320616e6420746f6b604482015267195b8818dbdd5b9d60c21b6064820152608401610a0f565b6000805b84811015610bcf57601054610b8090600160a01b900460ff16600a61380e565b848483818110610ba057634e487b7160e01b600052603260045260246000fd5b90506020020135610bb191906138b9565b610bbb9083613793565b915080610bc78161392a565b915050610b60565b5080610bda876117f1565b1015610c285760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e7320696e2077616c6c657400000000006044820152606401610a0f565b60005b84811015610ccc57610cba87878784818110610c5757634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c6c9190613314565b601054610c8490600160a01b900460ff16600a61380e565b878786818110610ca457634e487b7160e01b600052603260045260246000fd5b90506020020135610cb591906138b9565b612314565b80610cc48161392a565b915050610c2b565b50505050505050565b6000610ce2848484612314565b610d348433610d2f85604051806060016040528060288152602001613982602891396001600160a01b038a166000908152600860209081526040808320338452909152902054919061281c565b6121f0565b5060019392505050565b6000546001600160a01b0316331480610d6157506001546001600160a01b031633145b610d7d5760405162461bcd60e51b8152600401610a0f90613701565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a082319060240160206040518083038186803b158015610dbf57600080fd5b505afa158015610dd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df791906135dd565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb90604401602060405180830381600087803b158015610e4557600080fd5b505af1158015610e59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7d919061357a565b50505050565b6000546001600160a01b0316331480610ea657506001546001600160a01b031633145b610ec25760405162461bcd60e51b8152600401610a0f90613701565b601f805460ff60a81b1916600160a81b84151502179055610ee2306115c6565b601f54610ef7906001600160a01b03166115c6565b601f54600160a81b900460ff168015610f105750600b54155b15610f1f5743600b55600a8190555b5050565b6000601254821115610f8a5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610a0f565b6000610f94612856565b9050610fa083826120d0565b9392505050565b6000546001600160a01b0316331480610fca57506001546001600160a01b031633145b610fe65760405162461bcd60e51b8152600401610a0f90613701565b6001600160a01b03166000908152600d60205260409020805460ff19166001179055565b6000546001600160a01b031633148061102d57506001546001600160a01b031633145b6110495760405162461bcd60e51b8152600401610a0f90613701565b6107d182106110b15760405162461bcd60e51b815260206004820152602e60248201527f474153204572726f723a206d61782061697264726f70206c696d69742069732060448201526d323030302061646472657373657360901b6064820152608401610a0f565b60105460009083906110ce90600160a01b900460ff16600a61380e565b6110d890846138b9565b6110e291906138b9565b9050806110ee866117f1565b101561113c5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e7320696e2077616c6c657400000000006044820152606401610a0f565b60005b838110156111b4576111a28686868481811061116b57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906111809190613314565b60105461119890600160a01b900460ff16600a61380e565b610cb590876138b9565b806111ac8161392a565b91505061113f565b505050505050565b6000546001600160a01b03163314806111df57506001546001600160a01b031633145b6111fb5760405162461bcd60e51b8152600401610a0f90613701565b6001600160a01b0381166000908152600e602052604090205460ff166112635760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610a0f565b60005b600f54811015610f1f57816001600160a01b0316600f828154811061129b57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156113aa57600f80546112c6906001906138d8565b815481106112e457634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600f80546001600160a01b03909216918390811061131e57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600782526040808220829055600e90925220805460ff19169055600f80548061138457634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b806113b48161392a565b915050611266565b3360008181526008602090815260408083206001600160a01b03871684529091528120549091610a4c918590610d2f9086612191565b336000818152600e602052604090205460ff16156114675760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610a0f565b600061147283612879565b505050506001600160a01b03841660009081526006602052604090205491925061149e919050826128c8565b6001600160a01b0383166000908152600660205260409020556012546114c490826128c8565b6012556013546114d49084612191565b601355505050565b60006011548311156115305760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610a0f565b8161154f57600061154084612879565b50939550610a50945050505050565b600061155a84612879565b50929550610a50945050505050565b6000546001600160a01b031633148061158c57506001546001600160a01b031633145b6115a85760405162461bcd60e51b8152600401610a0f90613701565b601f8054911515600160b01b0260ff60b01b19909216919091179055565b6000546001600160a01b03163314806115e957506001546001600160a01b031633145b6116055760405162461bcd60e51b8152600401610a0f90613701565b6001600160a01b0381166000908152600660205260409020541561165f576001600160a01b03811660009081526006602052604090205461164590610f23565b6001600160a01b0382166000908152600760205260409020555b6001600160a01b03166000818152600e60205260408120805460ff19166001908117909155600f805491820181559091527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319169091179055565b6000546001600160a01b03163314806116e857506001546001600160a01b031633145b6117045760405162461bcd60e51b8152600401610a0f90613701565b60005b82811015610e7d57816009600086868581811061173457634e487b7160e01b600052603260045260246000fd5b90506020020160208101906117499190613314565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905561177a8161392a565b9050611707565b6000546001600160a01b03163314806117a457506001546001600160a01b031633145b6117c05760405162461bcd60e51b8152600401610a0f90613701565b60178490556018839055601a82905560198190556117e8826117e28584612191565b90612191565b601b5550505050565b6001600160a01b0381166000908152600e602052604081205460ff161561182e57506001600160a01b031660009081526007602052604090205490565b6001600160a01b038216600090815260066020526040902054610a5090610f23565b6000546001600160a01b031633148061187357506001546001600160a01b031633145b61188f5760405162461bcd60e51b8152600401610a0f90613701565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b03191690556001546001600160a01b0316336001600160a01b0316141561190457600180546001600160a01b03191690555b565b6000546001600160a01b031633148061192957506001546001600160a01b031633145b6119455760405162461bcd60e51b8152600401610a0f90613701565b60005b818110156119c3576001600c600085858581811061197657634e487b7160e01b600052603260045260246000fd5b905060200201602081019061198b9190613314565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556119bc8161392a565b9050611948565b505050565b6000546001600160a01b03163314806119eb57506001546001600160a01b031633145b611a075760405162461bcd60e51b8152600401610a0f90613701565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610f1f573d6000803e3d6000fd5b6000546001600160a01b0316331480611a5f57506001546001600160a01b031633145b611a7b5760405162461bcd60e51b8152600401610a0f90613701565b8082601154611a8a91906138b9565b611a9491906137ab565b601d555050565b60606015805461094d906138ef565b6000610a4c3384610d2f856040518060600160405280602581526020016139aa602591393360009081526008602090815260408083206001600160a01b038d168452909152902054919061281c565b6000610a4c338484612314565b6000546001600160a01b0316331480611b2957506001546001600160a01b031633145b611b455760405162461bcd60e51b8152600401610a0f90613701565b600480546001600160a01b039384166001600160a01b03199182161790915560058054929093169116179055565b6000546001600160a01b0316331480611b9657506001546001600160a01b031633145b611bb25760405162461bcd60e51b8152600401610a0f90613701565b6001600160a01b03166000908152600c60205260409020805460ff19169055565b6000546001600160a01b0316331480611bf657506001546001600160a01b031633145b611c125760405162461bcd60e51b8152600401610a0f90613701565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015611c5257600080fd5b505afa158015611c66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8a9190613330565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611cd257600080fd5b505afa158015611ce6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0a9190613330565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b158015611d5057600080fd5b505afa158015611d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d889190613330565b90506001600160a01b038116611f2e57816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015611dd157600080fd5b505afa158015611de5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e099190613330565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611e5157600080fd5b505afa158015611e65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e899190613330565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015611ed157600080fd5b505af1158015611ee5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f099190613330565b601f80546001600160a01b0319166001600160a01b0392909216919091179055611f4a565b601f80546001600160a01b0319166001600160a01b0383161790555b50601e80546001600160a01b0319166001600160a01b039290921691909117905550565b6000546001600160a01b0316331480611f9157506001546001600160a01b031633145b611fad5760405162461bcd60e51b8152600401610a0f90613701565b6001600160a01b03166000908152600c60205260409020805460ff19166001179055565b6000546001600160a01b0316331480611ff457506001546001600160a01b031633145b6120105760405162461bcd60e51b8152600401610a0f90613701565b6001600160a01b0381166120755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a0f565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610fa083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061290a565b60008261212157506000610a50565b600061212d83856138b9565b90508261213a85836137ab565b14610fa05760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a0f565b60008061219e8385613793565b905083811015610fa05760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a0f565b6001600160a01b0383166122525760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a0f565b6001600160a01b0382166122b35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a0f565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166123785760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a0f565b6001600160a01b0382166123da5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a0f565b6000811161243c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610a0f565b6001600160a01b03821660009081526009602052604090205460ff161561249f5760405162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b6044820152606401610a0f565b6001600160a01b03831660009081526009602052604090205460ff16156125025760405162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b6044820152606401610a0f565b6000546001600160a01b0384811691161480159061252e57506000546001600160a01b03838116911614155b1561258c57601f54600160a81b900460ff1661258c5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e00000000000000006044820152606401610a0f565b601f546000906001600160a01b03858116911614806125b85750601f546001600160a01b038481169116145b801561260057506001600160a01b0384166000908152600c602052604090205460ff16806125fe57506001600160a01b0383166000908152600c602052604090205460ff165b155b15612609575060015b6000600b5411801561264d57506001600160a01b0383166000908152600d602052604090205460ff1615801561264d57506000546001600160a01b03858116911614155b8015612668575043600a54600b546126659190613793565b11155b156126dc57601654612679846117f1565b6126839084613793565b11156126dc5760405162461bcd60e51b815260206004820152602260248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d6974604482015261195960f21b6064820152608401610a0f565b601b54601c55600b5415801590612701575043600a54600b546126ff9190613793565b115b1561272a576001600160a01b0383166000908152600960205260409020805460ff191660011790555b601f54600160b01b900460ff16156127aa57601f54600160a81b900460ff1680156127625750601f546001600160a01b038581169116145b1561276d576000601c555b601f54600160a81b900460ff1680156127935750601f546001600160a01b038481169116145b156127aa57601b546127a69060026138b9565b601c555b601f54600160a01b900460ff161580156127cd5750601f54600160a81b900460ff165b80156127e65750601f546001600160a01b038481169116145b156128105760006127f6306117f1565b9050601d54811061280e5750601d5461280e81612938565b505b610e7d848484846129e0565b600081848411156128405760405162461bcd60e51b8152600401610a0f91906136ae565b50600061284d84866138d8565b95945050505050565b6000806000612863612b0c565b909250905061287282826120d0565b9250505090565b60008060008060008060008060006128908a612cc6565b92509250925060008060006128ae8d86866128a9612856565b612d08565b919f909e50909c50959a5093985091965092945050505050565b6000610fa083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061281c565b6000818361292b5760405162461bcd60e51b8152600401610a0f91906136ae565b50600061284d84866137ab565b601f805460ff60a01b1916600160a01b17905561295481612d58565b601b54601a54479190600090612977908390612971908690612112565b906120d0565b90506000612994836129716019548761211290919063ffffffff16565b90504780156129cb576004546129b49083906001600160a01b0316612f16565b6005546129cb9084906001600160a01b0316612f16565b5050601f805460ff60a01b1916905550505050565b601754601c54826129f65760006017819055601c555b6001600160a01b0386166000908152600e602052604090205460ff168015612a3757506001600160a01b0385166000908152600e602052604090205460ff16155b15612a4c57612a47868686612f4c565b612af8565b6001600160a01b0386166000908152600e602052604090205460ff16158015612a8d57506001600160a01b0385166000908152600e602052604090205460ff165b15612a9d57612a47868686613072565b6001600160a01b0386166000908152600e602052604090205460ff168015612add57506001600160a01b0385166000908152600e602052604090205460ff165b15612aed57612a4786868661311b565b612af886868661318e565b826111b457601791909155601c5550505050565b6012546011546000918291825b600f54811015612c96578260066000600f8481548110612b4957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612bc257508160076000600f8481548110612b9b57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612bd857601254601154945094505050509091565b612c2c60066000600f8481548110612c0057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906128c8565b9250612c8260076000600f8481548110612c5657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906128c8565b915080612c8e8161392a565b915050612b19565b50601154601254612ca6916120d0565b821015612cbd576012546011549350935050509091565b90939092509050565b600080600080612cd5856131d2565b90506000612ce2866131ee565b90506000612cfa82612cf489866128c8565b906128c8565b979296509094509092505050565b6000808080612d178886612112565b90506000612d258887612112565b90506000612d338888612112565b90506000612d4582612cf486866128c8565b939b939a50919850919650505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612d9b57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601e54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612def57600080fd5b505afa158015612e03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e279190613330565b81600181518110612e4857634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601e54612e6e91309116846121f0565b601e5460405163791ac94760e01b81526001600160a01b039091169063791ac94790612ea7908590600090869030904290600401613757565b600060405180830381600087803b158015612ec157600080fd5b505af1158015612ed5573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a78282604051612f0a929190613736565b60405180910390a15050565b6040516001600160a01b0382169083156108fc029084906000818181858888f193505050501580156119c3573d6000803e3d6000fd5b600080600080600080612f5e87612879565b6001600160a01b038f16600090815260076020526040902054959b50939950919750955093509150612f9090886128c8565b6001600160a01b038a16600090815260076020908152604080832093909355600690522054612fbf90876128c8565b6001600160a01b03808b1660009081526006602052604080822093909355908a1681522054612fee9086612191565b6001600160a01b0389166000908152600660205260409020556130108161320a565b61301a84836132a6565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161305f91815260200190565b60405180910390a3505050505050505050565b60008060008060008061308487612879565b6001600160a01b038f16600090815260066020526040902054959b509399509197509550935091506130b690876128c8565b6001600160a01b03808b16600090815260066020908152604080832094909455918b168152600790915220546130ec9084612191565b6001600160a01b038916600090815260076020908152604080832093909355600690522054612fee9086612191565b60008060008060008061312d87612879565b6001600160a01b038f16600090815260076020526040902054959b5093995091975095509350915061315f90886128c8565b6001600160a01b038a166000908152600760209081526040808320939093556006905220546130b690876128c8565b6000806000806000806131a087612879565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612fbf90876128c8565b6000610a5060646129716017548561211290919063ffffffff16565b6000610a506064612971601c548561211290919063ffffffff16565b6000613214612856565b905060006132228383612112565b6010546001600160a01b031660009081526006602052604090205490915061324a9082612191565b601080546001600160a01b0390811660009081526006602090815260408083209590955592549091168152600790915220546132869084612191565b6010546001600160a01b0316600090815260076020526040902055505050565b6012546132b390836128c8565b6012556013546132c39082612191565b6013555050565b60008083601f8401126132db578182fd5b50813567ffffffffffffffff8111156132f2578182fd5b6020830191508360208260051b850101111561330d57600080fd5b9250929050565b600060208284031215613325578081fd5b8135610fa08161395b565b600060208284031215613341578081fd5b8151610fa08161395b565b6000806040838503121561335e578081fd5b82356133698161395b565b915060208301356133798161395b565b809150509250929050565b600080600060608486031215613398578081fd5b83356133a38161395b565b925060208401356133b38161395b565b929592945050506040919091013590565b6000806000806000606086880312156133db578081fd5b85356133e68161395b565b9450602086013567ffffffffffffffff80821115613402578283fd5b61340e89838a016132ca565b90965094506040880135915080821115613426578283fd5b50613433888289016132ca565b969995985093965092949392505050565b60008060008060608587031215613459578384fd5b84356134648161395b565b9350602085013567ffffffffffffffff81111561347f578384fd5b61348b878288016132ca565b9598909750949560400135949350505050565b600080604083850312156134b0578182fd5b82356134bb8161395b565b946020939093013593505050565b600080602083850312156134db578182fd5b823567ffffffffffffffff8111156134f1578283fd5b6134fd858286016132ca565b90969095509350505050565b60008060006040848603121561351d578283fd5b833567ffffffffffffffff811115613533578384fd5b61353f868287016132ca565b909450925050602084013561355381613973565b809150509250925092565b60006020828403121561356f578081fd5b8135610fa081613973565b60006020828403121561358b578081fd5b8151610fa081613973565b600080604083850312156135a8578182fd5b82356134bb81613973565b6000806040838503121561335e578182fd5b6000602082840312156135d6578081fd5b5035919050565b6000602082840312156135ee578081fd5b5051919050565b60008060408385031215613607578182fd5b82359150602083013561337981613973565b6000806040838503121561362b578182fd5b50508035926020909101359150565b6000806000806080858703121561364f578182fd5b5050823594602084013594506040840135936060013592509050565b6000815180845260208085019450808401835b838110156136a35781516001600160a01b03168752958201959082019060010161367e565b509495945050505050565b6000602080835283518082850152825b818110156136da578581018301518582016040015282016136be565b818111156136eb5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b82815260406020820152600061374f604083018461366b565b949350505050565b85815284602082015260a06040820152600061377660a083018661366b565b6001600160a01b0394909416606083015250608001529392505050565b600082198211156137a6576137a6613945565b500190565b6000826137c657634e487b7160e01b81526012600452602481fd5b500490565b600181815b808511156138065781600019048211156137ec576137ec613945565b808516156137f957918102915b93841c93908002906137d0565b509250929050565b6000610fa060ff84168360008261382757506001610a50565b8161383457506000610a50565b816001811461384a576002811461385457613870565b6001915050610a50565b60ff84111561386557613865613945565b50506001821b610a50565b5060208310610133831016604e8410600b8410161715613893575081810a610a50565b61389d83836137cb565b80600019048211156138b1576138b1613945565b029392505050565b60008160001904831182151516156138d3576138d3613945565b500290565b6000828210156138ea576138ea613945565b500390565b600181811c9082168061390357607f821691505b6020821081141561392457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561393e5761393e613945565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461397057600080fd5b50565b801515811461397057600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220bac36fe74a492bf28bca13043f3792c33661cc871f9efa13c4f3c4a1ac67186064736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.