Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 731 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 20359667 | 145 days ago | IN | 0 ETH | 0.00031888 | ||||
Approve | 20320684 | 150 days ago | IN | 0 ETH | 0.00042284 | ||||
Approve | 20320670 | 150 days ago | IN | 0 ETH | 0.0004332 | ||||
Approve | 20320555 | 150 days ago | IN | 0 ETH | 0.000413 | ||||
Approve | 20304455 | 153 days ago | IN | 0 ETH | 0.00009931 | ||||
Transfer | 20304439 | 153 days ago | IN | 0 ETH | 0.00012127 | ||||
Transfer | 20304435 | 153 days ago | IN | 0 ETH | 0.00011786 | ||||
Transfer | 20304428 | 153 days ago | IN | 0 ETH | 0.00011658 | ||||
Transfer | 20304425 | 153 days ago | IN | 0 ETH | 0.00011871 | ||||
Transfer | 20304413 | 153 days ago | IN | 0 ETH | 0.00011622 | ||||
Transfer | 20302943 | 153 days ago | IN | 0 ETH | 0.00016358 | ||||
Transfer | 20302941 | 153 days ago | IN | 0 ETH | 0.00016707 | ||||
Transfer | 20302926 | 153 days ago | IN | 0 ETH | 0.00017769 | ||||
Transfer | 20302922 | 153 days ago | IN | 0 ETH | 0.00047831 | ||||
Approve | 20299591 | 153 days ago | IN | 0 ETH | 0.00010774 | ||||
Approve | 20281342 | 156 days ago | IN | 0 ETH | 0.00013682 | ||||
Approve | 19858617 | 215 days ago | IN | 0 ETH | 0.00015582 | ||||
Approve | 19844831 | 217 days ago | IN | 0 ETH | 0.00022079 | ||||
Transfer | 19827723 | 219 days ago | IN | 0 ETH | 0.00045491 | ||||
Approve | 19822124 | 220 days ago | IN | 0 ETH | 0.00020666 | ||||
Approve | 19822121 | 220 days ago | IN | 0 ETH | 0.00042386 | ||||
Approve | 19707797 | 236 days ago | IN | 0 ETH | 0.00015679 | ||||
Approve | 19707764 | 236 days ago | IN | 0 ETH | 0.00013783 | ||||
Approve | 19633742 | 246 days ago | IN | 0 ETH | 0.00141236 | ||||
Approve | 19359876 | 285 days ago | IN | 0 ETH | 0.00266172 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
20359669 | 145 days ago | 0.02160549 ETH | ||||
20359669 | 145 days ago | 0.02160549 ETH | ||||
20302922 | 153 days ago | 0.00818747 ETH | ||||
20302922 | 153 days ago | 0.00818747 ETH | ||||
19858620 | 215 days ago | 0.00790282 ETH | ||||
19858620 | 215 days ago | 0.00790282 ETH | ||||
19822132 | 220 days ago | 0.00795108 ETH | ||||
19822132 | 220 days ago | 0.00795108 ETH | ||||
19633744 | 246 days ago | 0.01043341 ETH | ||||
19633744 | 246 days ago | 0.01043341 ETH | ||||
19272556 | 297 days ago | 0.00882965 ETH | ||||
19272556 | 297 days ago | 0.00882965 ETH | ||||
19272538 | 297 days ago | 0.01606036 ETH | ||||
19272538 | 297 days ago | 0.01606036 ETH | ||||
18578657 | 394 days ago | 0.01518997 ETH | ||||
18578657 | 394 days ago | 0.01518997 ETH | ||||
18275933 | 437 days ago | 0.02316162 ETH | ||||
18275933 | 437 days ago | 0.02316162 ETH | ||||
18198863 | 448 days ago | 0.01395632 ETH | ||||
18198863 | 448 days ago | 0.01395632 ETH | ||||
18108657 | 460 days ago | 0.0147215 ETH | ||||
18108657 | 460 days ago | 0.0147215 ETH | ||||
18086407 | 463 days ago | 0.0257947 ETH | ||||
18086407 | 463 days ago | 0.0257947 ETH | ||||
18063087 | 467 days ago | 0.0499014 ETH |
Loading...
Loading
Contract Name:
BlockBet
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** *Submitted for verification at Etherscan.io on 2023-08-11 */ // Website: https://blockbet.live // Telegram: https://t.me/BlockBetETH // Twitter: https://twitter.com/blockbet_live // SPDX-License-Identifier: MIT pragma solidity =0.8.10 >=0.8.10 >=0.8.0 <0.9.0; pragma experimental ABIEncoderV2; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _transferOwnership(_msgSender()); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } library SafeMath { function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); 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(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 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 (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 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 (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); 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 (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract BlockBet is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address private marketingWallet; address private developmentWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; uint256 public percentForLPBurn = 0; bool public lpBurnEnabled = false; uint256 public lpBurnFrequency = 3600 seconds; uint256 public lastLpBurnTime; uint256 public manualBurnFrequency = 30 minutes; uint256 public lastManualLpBurnTime; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = true; mapping(address => uint256) private _holderLastTransferTimestamp; bool public transferDelayEnabled = true; uint256 public buyTotalFees; uint256 public buyMarketingFee; uint256 public buyLiquidityFee; uint256 public buyDevelopmentFee; uint256 public sellTotalFees; uint256 public sellMarketingFee; uint256 public sellLiquidityFee; uint256 public sellDevelopmentFee; uint256 public tokensForMarketing; uint256 public tokensForLiquidity; uint256 public tokensForDev; mapping(address => bool) private _isBlacklisted; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public automatedMarketMakerPairs; event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event marketingWalletUpdated( address indexed newWallet, address indexed oldWallet ); event developmentWalletUpdated( address indexed newWallet, address indexed oldWallet ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); event AutoNukeLP(); event ManualNukeLP(); constructor() ERC20("BlockBet", "$BET") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 _buyMarketingFee = 10; uint256 _buyLiquidityFee = 0; uint256 _buyDevelopmentFee = 0; uint256 _sellMarketingFee = 20; uint256 _sellLiquidityFee = 0; uint256 _sellDevelopmentFee = 0; uint256 totalSupply = 10_000_000 * 1e18; maxTransactionAmount = 200_000 * 1e18; maxWallet = 200_000 * 1e18; swapTokensAtAmount = (totalSupply * 10) / 10000; buyMarketingFee = _buyMarketingFee; buyLiquidityFee = _buyLiquidityFee; buyDevelopmentFee = _buyDevelopmentFee; buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevelopmentFee; sellMarketingFee = _sellMarketingFee; sellLiquidityFee = _sellLiquidityFee; sellDevelopmentFee = _sellDevelopmentFee; sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevelopmentFee; marketingWallet = address(0x8441D739fde0E6b3fAAcFFd5f2c590FF7391309A); developmentWallet = address(0x8441D739fde0E6b3fAAcFFd5f2c590FF7391309A); excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); _mint(msg.sender, totalSupply); } receive() external payable {} function enableTrading() external onlyOwner { tradingActive = true; swapEnabled = true; lastLpBurnTime = block.timestamp; } function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } function disableTransferDelay() external onlyOwner returns (bool) { transferDelayEnabled = false; return true; } function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply." ); swapTokensAtAmount = newAmount; return true; } function updateMaxTxnAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 1000) / 1e18, "Cannot set maxTransactionAmount lower than 0.1%" ); maxTransactionAmount = newNum * (10**18); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxWallet lower than 0.5%" ); maxWallet = newNum * (10**18); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function updateBuyFees( uint256 _marketingFee, uint256 _liquidityFee, uint256 _developmentFee ) external onlyOwner { buyMarketingFee = _marketingFee; buyLiquidityFee = _liquidityFee; buyDevelopmentFee = _developmentFee; buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevelopmentFee; require(buyTotalFees <= 35, "Must keep fees at 35% or less"); } function updateSellFees( uint256 _marketingFee, uint256 _liquidityFee, uint256 _developmentFee ) external onlyOwner { sellMarketingFee = _marketingFee; sellLiquidityFee = _liquidityFee; sellDevelopmentFee = _developmentFee; sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevelopmentFee; require(sellTotalFees <= 40, "Must keep fees at 40% or less"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function blacklistAddress(address account, bool blacklist) public onlyOwner { _isBlacklisted[account] = blacklist; } function blacklistAddressMultiple(address[] memory accounts) public onlyOwner { for(uint i =0; i < accounts.length; i++){ _isBlacklisted[accounts[i]] = true; } } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateMarketingWalletInfo(address newMarketingWallet) external onlyOwner { emit marketingWalletUpdated(newMarketingWallet, marketingWallet); marketingWallet = newMarketingWallet; } function updateDevelopmentWalletInfo(address newWallet) external onlyOwner { emit developmentWalletUpdated(newWallet, developmentWallet); developmentWallet = newWallet; } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } event BoughtEarly(address indexed sniper); function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer from the zero address"); require(!_isBlacklisted[to], "ERC20: transfer to the blackListed address"); require(!_isBlacklisted[from], "ERC20: transfer from the blackListed address"); if (amount == 0) { super._transfer(from, to, 0); return; } if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. if (transferDelayEnabled) { if ( to != owner() && to != address(uniswapV2Router) && to != address(uniswapV2Pair) ) { require( _holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled. Only one purchase per block allowed." ); _holderLastTransferTimestamp[tx.origin] = block.number; } } //when buy if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } //when sell else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } if ( !swapping && automatedMarketMakerPairs[to] && lpBurnEnabled && block.timestamp >= lastLpBurnTime + lpBurnFrequency && !_isExcludedFromFees[from] ) { autoBurnLiquidityPairTokens(); } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = amount.mul(sellTotalFees).div(100); tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees; tokensForDev += (fees * sellDevelopmentFee) / sellTotalFees; tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees; } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees; tokensForDev += (fees * buyDevelopmentFee) / buyTotalFees; tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, 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), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable deadAddress, block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForMarketing + tokensForDev; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > swapTokensAtAmount * 20) { contractBalance = swapTokensAtAmount * 20; } // Halve the amount of liquidity tokens uint256 liquidityTokens = (contractBalance * tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); uint256 ethForMarketing = ethBalance.mul(tokensForMarketing).div( totalTokensToSwap ); uint256 ethForDev = ethBalance.mul(tokensForDev).div(totalTokensToSwap); uint256 ethForLiquidity = ethBalance - ethForMarketing - ethForDev; tokensForLiquidity = 0; tokensForMarketing = 0; tokensForDev = 0; (success, ) = address(developmentWallet).call{value: ethForDev}(""); if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify( amountToSwapForETH, ethForLiquidity, tokensForLiquidity ); } (success, ) = address(marketingWallet).call{ value: address(this).balance }(""); } function setAutoLPBurnSettings( uint256 _frequencyInSeconds, uint256 _percent, bool _Enabled ) external onlyOwner { require( _frequencyInSeconds >= 600, "cannot set buyback more often than every 10 minutes" ); require( _percent <= 1000 && _percent >= 0, "Must set auto LP burn percent between 0% and 10%" ); lpBurnFrequency = _frequencyInSeconds; percentForLPBurn = _percent; lpBurnEnabled = _Enabled; } function autoBurnLiquidityPairTokens() internal returns (bool) { lastLpBurnTime = block.timestamp; // get balance of liquidity pair uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair); // calculate amount to burn uint256 amountToBurn = liquidityPairBalance.mul(percentForLPBurn).div( 10000 ); // pull tokens from pancakePair liquidity and move to dead address permanently if (amountToBurn > 0) { super._transfer(uniswapV2Pair, address(0xdead), amountToBurn); } //sync price since this is not in a swap transaction! IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair); pair.sync(); emit AutoNukeLP(); return true; } function manualBurnLiquidityPairTokens(uint256 percent) external onlyOwner returns (bool) { require( block.timestamp > lastManualLpBurnTime + manualBurnFrequency, "Must wait for cooldown to finish" ); require(percent <= 1000, "May not nuke more than 10% of tokens in LP"); lastManualLpBurnTime = block.timestamp; // get balance of liquidity pair uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair); // calculate amount to burn uint256 amountToBurn = liquidityPairBalance.mul(percent).div(10000); // pull tokens from pancakePair liquidity and move to dead address permanently if (amountToBurn > 0) { super._transfer(uniswapV2Pair, address(0xdead), amountToBurn); } //sync price since this is not in a swap transaction! IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair); pair.sync(); emit ManualNukeLP(); return true; } }
{ "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":[],"name":"AutoNukeLP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sniper","type":"address"}],"name":"BoughtEarly","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[],"name":"ManualNukeLP","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":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"developmentWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"blacklist","type":"bool"}],"name":"blacklistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"blacklistAddressMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyDevelopmentFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastManualLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"manualBurnLiquidityPairTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentForLPBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellDevelopmentFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_frequencyInSeconds","type":"uint256"},{"internalType":"uint256","name":"_percent","type":"uint256"},{"internalType":"bool","name":"_Enabled","type":"bool"}],"name":"setAutoLPBurnSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForDev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_developmentFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateDevelopmentWalletInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWalletInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_developmentFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526000600b55600c805460ff19908116909155610e10600d55610708600f556011805462ffffff1916620100011790556013805490911660011790553480156200004c57600080fd5b506040805180820182526008815267109b1bd8dad0995d60c21b6020808301918252835180850190945260048452630910915560e21b908401528151919291620000999160039162000685565b508051620000af90600490602084019062000685565b505050620000cc620000c6620003d460201b60201c565b620003d8565b737a250d5630b4cf539739df2c5dacb4c659f2488d620000ee8160016200042a565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000139573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015f91906200072b565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d391906200072b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000221573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024791906200072b565b6001600160a01b031660a0819052620002629060016200042a565b60a05162000272906001620004a4565b692a5a058fc295ed0000006008819055600a908155600080601481806a084595161401484a000000612710620002a9828962000773565b620002b5919062000795565b60095560158790556016869055601785905584620002d48789620007b8565b620002e09190620007b8565b6014556019849055601a839055601b82905581620002ff8486620007b8565b6200030b9190620007b8565b60185560068054738441d739fde0e6b3faacffd5f2c590ff7391309a6001600160a01b03199182168117909255600780549091169091179055620003636200035b6005546001600160a01b031690565b6001620004f8565b62000370306001620004f8565b6200037f61dead6001620004f8565b6200039e620003966005546001600160a01b031690565b60016200042a565b620003ab3060016200042a565b620003ba61dead60016200042a565b620003c63382620005a0565b505050505050505062000810565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620004795760405162461bcd60e51b8152602060048201819052602482015260008051602062003caf83398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152602160205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260226020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620005435760405162461bcd60e51b8152602060048201819052602482015260008051602062003caf833981519152604482015260640162000470565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005f85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000470565b80600260008282546200060c9190620007b8565b90915550506001600160a01b038216600090815260208190526040812080548392906200063b908490620007b8565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200069390620007d3565b90600052602060002090601f016020900481019282620006b7576000855562000702565b82601f10620006d257805160ff191683800117855562000702565b8280016001018555821562000702579182015b8281111562000702578251825591602001919060010190620006e5565b506200071092915062000714565b5090565b5b8082111562000710576000815560010162000715565b6000602082840312156200073e57600080fd5b81516001600160a01b03811681146200075657600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156200079057620007906200075d565b500290565b600082620007b357634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115620007ce57620007ce6200075d565b500190565b600181811c90821680620007e857607f821691505b602082108114156200080a57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516134176200089860003960008181610617015281816112670152818161198801528181611a2301528181611a4f01528181611ee401528181612a9101528181612b330152612b5f01526000818161045a01528181611ea601528181612c6901528181612d2201528181612d5e01528181612dd80152612e3501526134176000f3fe6080604052600436106103b15760003560e01c80638095d564116101e7578063c02466681161010d578063dd62ed3e116100a0578063f2fde38b1161006f578063f2fde38b14610ac9578063f637434214610ae9578063f8b45b0514610aff578063fe72b27a14610b1557600080fd5b8063dd62ed3e14610a42578063e2f4560514610a88578063e884f26014610a9e578063f11a24d314610ab357600080fd5b8063c8c8ebe4116100dc578063c8c8ebe4146109d6578063cbf24c06146109ec578063d257b34f14610a0c578063d85ba06314610a2c57600080fd5b8063c02466681461095c578063c17b5b8c1461097c578063c18bc1951461099c578063c876d0b9146109bc57600080fd5b80639ec22c0e11610185578063a9059cbb11610154578063a9059cbb146108d7578063b2041411146108f7578063b62496f51461090d578063bbc0c7421461093d57600080fd5b80639ec22c0e146108755780639fccce321461088b578063a457c2d7146108a1578063a4c82a00146108c157600080fd5b806392136913116101c1578063921369131461080a578063924de9b71461082057806395d89b41146108405780639a7a23d61461085557600080fd5b80638095d564146107b75780638a8c523c146107d75780638da5cb5b146107ec57600080fd5b8063313ce567116102d75780636ddd17131161026a578063751039fc11610239578063751039fc1461074c5780637571336a146107615780637bce5a04146107815780637d831a8b1461079757600080fd5b80636ddd1713146106c157806370a08231146106e1578063715018a614610717578063730c18881461072c57600080fd5b80634a62bb65116102a65780634a62bb65146106395780634fbee19314610653578063535e02d81461068b5780636a486a8e146106ab57600080fd5b8063313ce567146105a957806339509351146105c5578063455a4396146105e557806349bd5a5e1461060557600080fd5b8063199ffc721161034f57806323b872dd1161031e57806323b872dd1461054357806327c8f835146105635780632c3e486c146105795780632e82f1a01461058f57600080fd5b8063199ffc72146104df5780631a8145bb146104f55780631f3fed8f1461050b578063203e727e1461052157600080fd5b80631694505e1161038b5780631694505e1461044857806318160ddd14610494578063184c16c5146104b357806318a94cf1146104c957600080fd5b806306fdde03146103bd578063095ea7b3146103e857806310d5de531461041857600080fd5b366103b857005b600080fd5b3480156103c957600080fd5b506103d2610b35565b6040516103df9190612eb3565b60405180910390f35b3480156103f457600080fd5b50610408610403366004612f28565b610bc7565b60405190151581526020016103df565b34801561042457600080fd5b50610408610433366004612f54565b60216020526000908152604090205460ff1681565b34801561045457600080fd5b5061047c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103df565b3480156104a057600080fd5b506002545b6040519081526020016103df565b3480156104bf57600080fd5b506104a5600f5481565b3480156104d557600080fd5b506104a5601b5481565b3480156104eb57600080fd5b506104a5600b5481565b34801561050157600080fd5b506104a5601d5481565b34801561051757600080fd5b506104a5601c5481565b34801561052d57600080fd5b5061054161053c366004612f71565b610bdd565b005b34801561054f57600080fd5b5061040861055e366004612f8a565b610cc3565b34801561056f57600080fd5b5061047c61dead81565b34801561058557600080fd5b506104a5600d5481565b34801561059b57600080fd5b50600c546104089060ff1681565b3480156105b557600080fd5b50604051601281526020016103df565b3480156105d157600080fd5b506104086105e0366004612f28565b610d6d565b3480156105f157600080fd5b50610541610600366004612fdb565b610da9565b34801561061157600080fd5b5061047c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561064557600080fd5b506011546104089060ff1681565b34801561065f57600080fd5b5061040861066e366004612f54565b6001600160a01b0316600090815260208052604090205460ff1690565b34801561069757600080fd5b506105416106a6366004612f54565b610dfe565b3480156106b757600080fd5b506104a560185481565b3480156106cd57600080fd5b506011546104089062010000900460ff1681565b3480156106ed57600080fd5b506104a56106fc366004612f54565b6001600160a01b031660009081526020819052604090205490565b34801561072357600080fd5b50610541610e85565b34801561073857600080fd5b50610541610747366004613010565b610ebb565b34801561075857600080fd5b50610408610fe4565b34801561076d57600080fd5b5061054161077c366004612fdb565b611021565b34801561078d57600080fd5b506104a560155481565b3480156107a357600080fd5b506105416107b2366004612f54565b611076565b3480156107c357600080fd5b506105416107d2366004613045565b6110fd565b3480156107e357600080fd5b506105416111a5565b3480156107f857600080fd5b506005546001600160a01b031661047c565b34801561081657600080fd5b506104a560195481565b34801561082c57600080fd5b5061054161083b366004613071565b6111e6565b34801561084c57600080fd5b506103d261122c565b34801561086157600080fd5b50610541610870366004612fdb565b61123b565b34801561088157600080fd5b506104a560105481565b34801561089757600080fd5b506104a5601e5481565b3480156108ad57600080fd5b506104086108bc366004612f28565b61131b565b3480156108cd57600080fd5b506104a5600e5481565b3480156108e357600080fd5b506104086108f2366004612f28565b6113b4565b34801561090357600080fd5b506104a560175481565b34801561091957600080fd5b50610408610928366004612f54565b60226020526000908152604090205460ff1681565b34801561094957600080fd5b5060115461040890610100900460ff1681565b34801561096857600080fd5b50610541610977366004612fdb565b6113c1565b34801561098857600080fd5b50610541610997366004613045565b611448565b3480156109a857600080fd5b506105416109b7366004612f71565b6114eb565b3480156109c857600080fd5b506013546104089060ff1681565b3480156109e257600080fd5b506104a560085481565b3480156109f857600080fd5b50610541610a073660046130a2565b6115bc565b348015610a1857600080fd5b50610408610a27366004612f71565b61164e565b348015610a3857600080fd5b506104a560145481565b348015610a4e57600080fd5b506104a5610a5d366004613167565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610a9457600080fd5b506104a560095481565b348015610aaa57600080fd5b506104086117a5565b348015610abf57600080fd5b506104a560165481565b348015610ad557600080fd5b50610541610ae4366004612f54565b6117e2565b348015610af557600080fd5b506104a5601a5481565b348015610b0b57600080fd5b506104a5600a5481565b348015610b2157600080fd5b50610408610b30366004612f71565b61187d565b606060038054610b44906131a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610b70906131a0565b8015610bbd5780601f10610b9257610100808354040283529160200191610bbd565b820191906000526020600020905b815481529060010190602001808311610ba057829003601f168201915b5050505050905090565b6000610bd4338484611af7565b50600192915050565b6005546001600160a01b03163314610c105760405162461bcd60e51b8152600401610c07906131db565b60405180910390fd5b670de0b6b3a76400006103e8610c2560025490565b610c30906001613226565b610c3a9190613245565b610c449190613245565b811015610cab5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610c07565b610cbd81670de0b6b3a7640000613226565b60085550565b6000610cd0848484611c1b565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610d555760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610c07565b610d628533858403611af7565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610bd4918590610da4908690613267565b611af7565b6005546001600160a01b03163314610dd35760405162461bcd60e51b8152600401610c07906131db565b6001600160a01b03919091166000908152601f60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610e285760405162461bcd60e51b8152600401610c07906131db565b6007546040516001600160a01b03918216918316907ffaf1b77ed79f6e898c44dd8ab36b330c7b2fd39bcaab05ed6362480df870396590600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610eaf5760405162461bcd60e51b8152600401610c07906131db565b610eb960006125e6565b565b6005546001600160a01b03163314610ee55760405162461bcd60e51b8152600401610c07906131db565b610258831015610f535760405162461bcd60e51b815260206004820152603360248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015272616e206576657279203130206d696e7574657360681b6064820152608401610c07565b6103e88211158015610f63575060015b610fc85760405162461bcd60e51b815260206004820152603060248201527f4d75737420736574206175746f204c50206275726e2070657263656e7420626560448201526f747765656e20302520616e642031302560801b6064820152608401610c07565b600d92909255600b55600c805460ff1916911515919091179055565b6005546000906001600160a01b031633146110115760405162461bcd60e51b8152600401610c07906131db565b506011805460ff19169055600190565b6005546001600160a01b0316331461104b5760405162461bcd60e51b8152600401610c07906131db565b6001600160a01b03919091166000908152602160205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110a05760405162461bcd60e51b8152600401610c07906131db565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146111275760405162461bcd60e51b8152600401610c07906131db565b601583905560168290556017819055806111418385613267565b61114b9190613267565b6014819055602310156111a05760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420333525206f72206c6573730000006044820152606401610c07565b505050565b6005546001600160a01b031633146111cf5760405162461bcd60e51b8152600401610c07906131db565b6011805462ffff0019166201010017905542600e55565b6005546001600160a01b031633146112105760405162461bcd60e51b8152600401610c07906131db565b60118054911515620100000262ff000019909216919091179055565b606060048054610b44906131a0565b6005546001600160a01b031633146112655760405162461bcd60e51b8152600401610c07906131db565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561130d5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610c07565b6113178282612638565b5050565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561139d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c07565b6113aa3385858403611af7565b5060019392505050565b6000610bd4338484611c1b565b6005546001600160a01b031633146113eb5760405162461bcd60e51b8152600401610c07906131db565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146114725760405162461bcd60e51b8152600401610c07906131db565b6019839055601a829055601b8190558061148c8385613267565b6114969190613267565b6018819055602810156111a05760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420343025206f72206c6573730000006044820152606401610c07565b6005546001600160a01b031633146115155760405162461bcd60e51b8152600401610c07906131db565b670de0b6b3a76400006103e861152a60025490565b611535906005613226565b61153f9190613245565b6115499190613245565b8110156115a45760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610c07565b6115b681670de0b6b3a7640000613226565b600a5550565b6005546001600160a01b031633146115e65760405162461bcd60e51b8152600401610c07906131db565b60005b8151811015611317576001601f600084848151811061160a5761160a61327f565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061164681613295565b9150506115e9565b6005546000906001600160a01b0316331461167b5760405162461bcd60e51b8152600401610c07906131db565b620186a061168860025490565b611693906001613226565b61169d9190613245565b82101561170a5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610c07565b6103e861171660025490565b611721906005613226565b61172b9190613245565b8211156117975760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610c07565b50600981905560015b919050565b6005546000906001600160a01b031633146117d25760405162461bcd60e51b8152600401610c07906131db565b506013805460ff19169055600190565b6005546001600160a01b0316331461180c5760405162461bcd60e51b8152600401610c07906131db565b6001600160a01b0381166118715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c07565b61187a816125e6565b50565b6005546000906001600160a01b031633146118aa5760405162461bcd60e51b8152600401610c07906131db565b600f546010546118ba9190613267565b42116119085760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610c07565b6103e882111561196d5760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610c07565b426010556040516370a0823160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016600482015260009030906370a0823190602401602060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fc91906132b0565b90506000611a16612710611a10848761268c565b9061269f565b90508015611a4b57611a4b7f000000000000000000000000000000000000000000000000000000000000000061dead836126ab565b60007f00000000000000000000000000000000000000000000000000000000000000009050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611aab57600080fd5b505af1158015611abf573d6000803e3d6000fd5b50506040517f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb925060009150a1506001949350505050565b6001600160a01b038316611b595760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c07565b6001600160a01b038216611bba5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c07565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611c415760405162461bcd60e51b8152600401610c07906132c9565b6001600160a01b038216611c675760405162461bcd60e51b8152600401610c07906132c9565b6001600160a01b0382166000908152601f602052604090205460ff1615611ce35760405162461bcd60e51b815260206004820152602a60248201527f45524332303a207472616e7366657220746f2074686520626c61636b4c6973746044820152696564206164647265737360b01b6064820152608401610c07565b6001600160a01b0383166000908152601f602052604090205460ff1615611d615760405162461bcd60e51b815260206004820152602c60248201527f45524332303a207472616e736665722066726f6d2074686520626c61636b4c6960448201526b73746564206164647265737360a01b6064820152608401610c07565b80611d72576111a0838360006126ab565b60115460ff161561222d576005546001600160a01b03848116911614801590611da957506005546001600160a01b03838116911614155b8015611dbd57506001600160a01b03821615155b8015611dd457506001600160a01b03821661dead14155b8015611dea5750600554600160a01b900460ff16155b1561222d57601154610100900460ff16611e80576001600160a01b038316600090815260208052604090205460ff1680611e3b57506001600160a01b038216600090815260208052604090205460ff165b611e805760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610c07565b60135460ff1615611fc7576005546001600160a01b03838116911614801590611edb57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b8015611f1957507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b15611fc757326000908152601260205260409020544311611fb45760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610c07565b3260009081526012602052604090204390555b6001600160a01b03831660009081526022602052604090205460ff16801561200857506001600160a01b03821660009081526021602052604090205460ff16155b156120ec5760085481111561207d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610c07565b600a546001600160a01b0383166000908152602081905260409020546120a39083613267565b11156120e75760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c07565b61222d565b6001600160a01b03821660009081526022602052604090205460ff16801561212d57506001600160a01b03831660009081526021602052604090205460ff16155b156121a3576008548111156120e75760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610c07565b6001600160a01b03821660009081526021602052604090205460ff1661222d57600a546001600160a01b0383166000908152602081905260409020546121e99083613267565b111561222d5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c07565b3060009081526020819052604090205460095481108015908190612259575060115462010000900460ff165b801561226f5750600554600160a01b900460ff16155b801561229457506001600160a01b03851660009081526022602052604090205460ff16155b80156122b857506001600160a01b038516600090815260208052604090205460ff16155b80156122dc57506001600160a01b038416600090815260208052604090205460ff16155b1561230a576005805460ff60a01b1916600160a01b1790556122fc61283c565b6005805460ff60a01b191690555b600554600160a01b900460ff1615801561233c57506001600160a01b03841660009081526022602052604090205460ff165b801561234a5750600c5460ff165b80156123655750600d54600e546123619190613267565b4210155b801561238957506001600160a01b038516600090815260208052604090205460ff16155b1561239857612396612a76565b505b6005546001600160a01b038616600090815260208052604090205460ff600160a01b9092048216159116806123e457506001600160a01b038516600090815260208052604090205460ff165b156123ed575060005b600081156125d2576001600160a01b03861660009081526022602052604090205460ff16801561241f57506000601854115b156124d75761243e6064611a106018548861268c90919063ffffffff16565b9050601854601a54826124519190613226565b61245b9190613245565b601d600082825461246c9190613267565b9091555050601854601b546124819083613226565b61248b9190613245565b601e600082825461249c9190613267565b90915550506018546019546124b19083613226565b6124bb9190613245565b601c60008282546124cc9190613267565b909155506125b49050565b6001600160a01b03871660009081526022602052604090205460ff16801561250157506000601454115b156125b4576125206064611a106014548861268c90919063ffffffff16565b9050601454601654826125339190613226565b61253d9190613245565b601d600082825461254e9190613267565b90915550506014546017546125639083613226565b61256d9190613245565b601e600082825461257e9190613267565b90915550506014546015546125939083613226565b61259d9190613245565b601c60008282546125ae9190613267565b90915550505b80156125c5576125c58730836126ab565b6125cf818661330e565b94505b6125dd8787876126ab565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260226020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b60006126988284613226565b9392505050565b60006126988284613245565b6001600160a01b0383166126d15760405162461bcd60e51b8152600401610c07906132c9565b6001600160a01b0382166127335760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c07565b6001600160a01b038316600090815260208190526040902054818110156127ab5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c07565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906127e2908490613267565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161282e91815260200190565b60405180910390a350505050565b3060009081526020819052604081205490506000601e54601c54601d546128639190613267565b61286d9190613267565b9050600082158061287c575081155b1561288657505050565b600954612894906014613226565b8311156128ac576009546128a9906014613226565b92505b6000600283601d54866128bf9190613226565b6128c99190613245565b6128d39190613245565b905060006128e18583612c06565b9050476128ed82612c12565b60006128f94783612c06565b9050600061291687611a10601c548561268c90919063ffffffff16565b9050600061293388611a10601e548661268c90919063ffffffff16565b9050600081612942848661330e565b61294c919061330e565b6000601d819055601c819055601e8190556007546040519293506001600160a01b031691849181818185875af1925050503d80600081146129a9576040519150601f19603f3d011682016040523d82523d6000602084013e6129ae565b606091505b509098505086158015906129c25750600081115b15612a15576129d18782612dd2565b601d54604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6006546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612a62576040519150601f19603f3d011682016040523d82523d6000602084013e612a67565b606091505b50505050505050505050505050565b42600e556040516370a0823160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166004820152600090819030906370a0823190602401602060405180830381865afa158015612ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0791906132b0565b90506000612b26612710611a10600b548561268c90919063ffffffff16565b90508015612b5b57612b5b7f000000000000000000000000000000000000000000000000000000000000000061dead836126ab565b60007f00000000000000000000000000000000000000000000000000000000000000009050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015612bbb57600080fd5b505af1158015612bcf573d6000803e3d6000fd5b50506040517f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d925060009150a16001935050505090565b6000612698828461330e565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612c4757612c4761327f565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ce99190613325565b81600181518110612cfc57612cfc61327f565b60200260200101906001600160a01b031690816001600160a01b031681525050612d47307f000000000000000000000000000000000000000000000000000000000000000084611af7565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612d9c908590600090869030904290600401613342565b600060405180830381600087803b158015612db657600080fd5b505af1158015612dca573d6000803e3d6000fd5b505050505050565b612dfd307f000000000000000000000000000000000000000000000000000000000000000084611af7565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015261dead60848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015612e87573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612eac91906133b3565b5050505050565b600060208083528351808285015260005b81811015612ee057858101830151858201604001528201612ec4565b81811115612ef2576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461187a57600080fd5b80356117a081612f08565b60008060408385031215612f3b57600080fd5b8235612f4681612f08565b946020939093013593505050565b600060208284031215612f6657600080fd5b813561269881612f08565b600060208284031215612f8357600080fd5b5035919050565b600080600060608486031215612f9f57600080fd5b8335612faa81612f08565b92506020840135612fba81612f08565b929592945050506040919091013590565b803580151581146117a057600080fd5b60008060408385031215612fee57600080fd5b8235612ff981612f08565b915061300760208401612fcb565b90509250929050565b60008060006060848603121561302557600080fd5b833592506020840135915061303c60408501612fcb565b90509250925092565b60008060006060848603121561305a57600080fd5b505081359360208301359350604090920135919050565b60006020828403121561308357600080fd5b61269882612fcb565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156130b557600080fd5b823567ffffffffffffffff808211156130cd57600080fd5b818501915085601f8301126130e157600080fd5b8135818111156130f3576130f361308c565b8060051b604051601f19603f830116810181811085821117156131185761311861308c565b60405291825284820192508381018501918883111561313657600080fd5b938501935b8285101561315b5761314c85612f1d565b8452938501939285019261313b565b98975050505050505050565b6000806040838503121561317a57600080fd5b823561318581612f08565b9150602083013561319581612f08565b809150509250929050565b600181811c908216806131b457607f821691505b602082108114156131d557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561324057613240613210565b500290565b60008261326257634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561327a5761327a613210565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156132a9576132a9613210565b5060010190565b6000602082840312156132c257600080fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60008282101561332057613320613210565b500390565b60006020828403121561333757600080fd5b815161269881612f08565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156133925784516001600160a01b03168352938301939183019160010161336d565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156133c857600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212204fb9d64abc6f10aeb8f64cbba4c6cdfbd40f9016950ce8c57dbf05612e832fa264736f6c634300080a00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x6080604052600436106103b15760003560e01c80638095d564116101e7578063c02466681161010d578063dd62ed3e116100a0578063f2fde38b1161006f578063f2fde38b14610ac9578063f637434214610ae9578063f8b45b0514610aff578063fe72b27a14610b1557600080fd5b8063dd62ed3e14610a42578063e2f4560514610a88578063e884f26014610a9e578063f11a24d314610ab357600080fd5b8063c8c8ebe4116100dc578063c8c8ebe4146109d6578063cbf24c06146109ec578063d257b34f14610a0c578063d85ba06314610a2c57600080fd5b8063c02466681461095c578063c17b5b8c1461097c578063c18bc1951461099c578063c876d0b9146109bc57600080fd5b80639ec22c0e11610185578063a9059cbb11610154578063a9059cbb146108d7578063b2041411146108f7578063b62496f51461090d578063bbc0c7421461093d57600080fd5b80639ec22c0e146108755780639fccce321461088b578063a457c2d7146108a1578063a4c82a00146108c157600080fd5b806392136913116101c1578063921369131461080a578063924de9b71461082057806395d89b41146108405780639a7a23d61461085557600080fd5b80638095d564146107b75780638a8c523c146107d75780638da5cb5b146107ec57600080fd5b8063313ce567116102d75780636ddd17131161026a578063751039fc11610239578063751039fc1461074c5780637571336a146107615780637bce5a04146107815780637d831a8b1461079757600080fd5b80636ddd1713146106c157806370a08231146106e1578063715018a614610717578063730c18881461072c57600080fd5b80634a62bb65116102a65780634a62bb65146106395780634fbee19314610653578063535e02d81461068b5780636a486a8e146106ab57600080fd5b8063313ce567146105a957806339509351146105c5578063455a4396146105e557806349bd5a5e1461060557600080fd5b8063199ffc721161034f57806323b872dd1161031e57806323b872dd1461054357806327c8f835146105635780632c3e486c146105795780632e82f1a01461058f57600080fd5b8063199ffc72146104df5780631a8145bb146104f55780631f3fed8f1461050b578063203e727e1461052157600080fd5b80631694505e1161038b5780631694505e1461044857806318160ddd14610494578063184c16c5146104b357806318a94cf1146104c957600080fd5b806306fdde03146103bd578063095ea7b3146103e857806310d5de531461041857600080fd5b366103b857005b600080fd5b3480156103c957600080fd5b506103d2610b35565b6040516103df9190612eb3565b60405180910390f35b3480156103f457600080fd5b50610408610403366004612f28565b610bc7565b60405190151581526020016103df565b34801561042457600080fd5b50610408610433366004612f54565b60216020526000908152604090205460ff1681565b34801561045457600080fd5b5061047c7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016103df565b3480156104a057600080fd5b506002545b6040519081526020016103df565b3480156104bf57600080fd5b506104a5600f5481565b3480156104d557600080fd5b506104a5601b5481565b3480156104eb57600080fd5b506104a5600b5481565b34801561050157600080fd5b506104a5601d5481565b34801561051757600080fd5b506104a5601c5481565b34801561052d57600080fd5b5061054161053c366004612f71565b610bdd565b005b34801561054f57600080fd5b5061040861055e366004612f8a565b610cc3565b34801561056f57600080fd5b5061047c61dead81565b34801561058557600080fd5b506104a5600d5481565b34801561059b57600080fd5b50600c546104089060ff1681565b3480156105b557600080fd5b50604051601281526020016103df565b3480156105d157600080fd5b506104086105e0366004612f28565b610d6d565b3480156105f157600080fd5b50610541610600366004612fdb565b610da9565b34801561061157600080fd5b5061047c7f00000000000000000000000028bb9bf9b8d7c8591ddf059628b0419063db38a581565b34801561064557600080fd5b506011546104089060ff1681565b34801561065f57600080fd5b5061040861066e366004612f54565b6001600160a01b0316600090815260208052604090205460ff1690565b34801561069757600080fd5b506105416106a6366004612f54565b610dfe565b3480156106b757600080fd5b506104a560185481565b3480156106cd57600080fd5b506011546104089062010000900460ff1681565b3480156106ed57600080fd5b506104a56106fc366004612f54565b6001600160a01b031660009081526020819052604090205490565b34801561072357600080fd5b50610541610e85565b34801561073857600080fd5b50610541610747366004613010565b610ebb565b34801561075857600080fd5b50610408610fe4565b34801561076d57600080fd5b5061054161077c366004612fdb565b611021565b34801561078d57600080fd5b506104a560155481565b3480156107a357600080fd5b506105416107b2366004612f54565b611076565b3480156107c357600080fd5b506105416107d2366004613045565b6110fd565b3480156107e357600080fd5b506105416111a5565b3480156107f857600080fd5b506005546001600160a01b031661047c565b34801561081657600080fd5b506104a560195481565b34801561082c57600080fd5b5061054161083b366004613071565b6111e6565b34801561084c57600080fd5b506103d261122c565b34801561086157600080fd5b50610541610870366004612fdb565b61123b565b34801561088157600080fd5b506104a560105481565b34801561089757600080fd5b506104a5601e5481565b3480156108ad57600080fd5b506104086108bc366004612f28565b61131b565b3480156108cd57600080fd5b506104a5600e5481565b3480156108e357600080fd5b506104086108f2366004612f28565b6113b4565b34801561090357600080fd5b506104a560175481565b34801561091957600080fd5b50610408610928366004612f54565b60226020526000908152604090205460ff1681565b34801561094957600080fd5b5060115461040890610100900460ff1681565b34801561096857600080fd5b50610541610977366004612fdb565b6113c1565b34801561098857600080fd5b50610541610997366004613045565b611448565b3480156109a857600080fd5b506105416109b7366004612f71565b6114eb565b3480156109c857600080fd5b506013546104089060ff1681565b3480156109e257600080fd5b506104a560085481565b3480156109f857600080fd5b50610541610a073660046130a2565b6115bc565b348015610a1857600080fd5b50610408610a27366004612f71565b61164e565b348015610a3857600080fd5b506104a560145481565b348015610a4e57600080fd5b506104a5610a5d366004613167565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610a9457600080fd5b506104a560095481565b348015610aaa57600080fd5b506104086117a5565b348015610abf57600080fd5b506104a560165481565b348015610ad557600080fd5b50610541610ae4366004612f54565b6117e2565b348015610af557600080fd5b506104a5601a5481565b348015610b0b57600080fd5b506104a5600a5481565b348015610b2157600080fd5b50610408610b30366004612f71565b61187d565b606060038054610b44906131a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610b70906131a0565b8015610bbd5780601f10610b9257610100808354040283529160200191610bbd565b820191906000526020600020905b815481529060010190602001808311610ba057829003601f168201915b5050505050905090565b6000610bd4338484611af7565b50600192915050565b6005546001600160a01b03163314610c105760405162461bcd60e51b8152600401610c07906131db565b60405180910390fd5b670de0b6b3a76400006103e8610c2560025490565b610c30906001613226565b610c3a9190613245565b610c449190613245565b811015610cab5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610c07565b610cbd81670de0b6b3a7640000613226565b60085550565b6000610cd0848484611c1b565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610d555760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610c07565b610d628533858403611af7565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610bd4918590610da4908690613267565b611af7565b6005546001600160a01b03163314610dd35760405162461bcd60e51b8152600401610c07906131db565b6001600160a01b03919091166000908152601f60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610e285760405162461bcd60e51b8152600401610c07906131db565b6007546040516001600160a01b03918216918316907ffaf1b77ed79f6e898c44dd8ab36b330c7b2fd39bcaab05ed6362480df870396590600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610eaf5760405162461bcd60e51b8152600401610c07906131db565b610eb960006125e6565b565b6005546001600160a01b03163314610ee55760405162461bcd60e51b8152600401610c07906131db565b610258831015610f535760405162461bcd60e51b815260206004820152603360248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015272616e206576657279203130206d696e7574657360681b6064820152608401610c07565b6103e88211158015610f63575060015b610fc85760405162461bcd60e51b815260206004820152603060248201527f4d75737420736574206175746f204c50206275726e2070657263656e7420626560448201526f747765656e20302520616e642031302560801b6064820152608401610c07565b600d92909255600b55600c805460ff1916911515919091179055565b6005546000906001600160a01b031633146110115760405162461bcd60e51b8152600401610c07906131db565b506011805460ff19169055600190565b6005546001600160a01b0316331461104b5760405162461bcd60e51b8152600401610c07906131db565b6001600160a01b03919091166000908152602160205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110a05760405162461bcd60e51b8152600401610c07906131db565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146111275760405162461bcd60e51b8152600401610c07906131db565b601583905560168290556017819055806111418385613267565b61114b9190613267565b6014819055602310156111a05760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420333525206f72206c6573730000006044820152606401610c07565b505050565b6005546001600160a01b031633146111cf5760405162461bcd60e51b8152600401610c07906131db565b6011805462ffff0019166201010017905542600e55565b6005546001600160a01b031633146112105760405162461bcd60e51b8152600401610c07906131db565b60118054911515620100000262ff000019909216919091179055565b606060048054610b44906131a0565b6005546001600160a01b031633146112655760405162461bcd60e51b8152600401610c07906131db565b7f00000000000000000000000028bb9bf9b8d7c8591ddf059628b0419063db38a56001600160a01b0316826001600160a01b0316141561130d5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610c07565b6113178282612638565b5050565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561139d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c07565b6113aa3385858403611af7565b5060019392505050565b6000610bd4338484611c1b565b6005546001600160a01b031633146113eb5760405162461bcd60e51b8152600401610c07906131db565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146114725760405162461bcd60e51b8152600401610c07906131db565b6019839055601a829055601b8190558061148c8385613267565b6114969190613267565b6018819055602810156111a05760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420343025206f72206c6573730000006044820152606401610c07565b6005546001600160a01b031633146115155760405162461bcd60e51b8152600401610c07906131db565b670de0b6b3a76400006103e861152a60025490565b611535906005613226565b61153f9190613245565b6115499190613245565b8110156115a45760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610c07565b6115b681670de0b6b3a7640000613226565b600a5550565b6005546001600160a01b031633146115e65760405162461bcd60e51b8152600401610c07906131db565b60005b8151811015611317576001601f600084848151811061160a5761160a61327f565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061164681613295565b9150506115e9565b6005546000906001600160a01b0316331461167b5760405162461bcd60e51b8152600401610c07906131db565b620186a061168860025490565b611693906001613226565b61169d9190613245565b82101561170a5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610c07565b6103e861171660025490565b611721906005613226565b61172b9190613245565b8211156117975760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610c07565b50600981905560015b919050565b6005546000906001600160a01b031633146117d25760405162461bcd60e51b8152600401610c07906131db565b506013805460ff19169055600190565b6005546001600160a01b0316331461180c5760405162461bcd60e51b8152600401610c07906131db565b6001600160a01b0381166118715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c07565b61187a816125e6565b50565b6005546000906001600160a01b031633146118aa5760405162461bcd60e51b8152600401610c07906131db565b600f546010546118ba9190613267565b42116119085760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610c07565b6103e882111561196d5760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610c07565b426010556040516370a0823160e01b81526001600160a01b037f00000000000000000000000028bb9bf9b8d7c8591ddf059628b0419063db38a516600482015260009030906370a0823190602401602060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fc91906132b0565b90506000611a16612710611a10848761268c565b9061269f565b90508015611a4b57611a4b7f00000000000000000000000028bb9bf9b8d7c8591ddf059628b0419063db38a561dead836126ab565b60007f00000000000000000000000028bb9bf9b8d7c8591ddf059628b0419063db38a59050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611aab57600080fd5b505af1158015611abf573d6000803e3d6000fd5b50506040517f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb925060009150a1506001949350505050565b6001600160a01b038316611b595760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c07565b6001600160a01b038216611bba5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c07565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611c415760405162461bcd60e51b8152600401610c07906132c9565b6001600160a01b038216611c675760405162461bcd60e51b8152600401610c07906132c9565b6001600160a01b0382166000908152601f602052604090205460ff1615611ce35760405162461bcd60e51b815260206004820152602a60248201527f45524332303a207472616e7366657220746f2074686520626c61636b4c6973746044820152696564206164647265737360b01b6064820152608401610c07565b6001600160a01b0383166000908152601f602052604090205460ff1615611d615760405162461bcd60e51b815260206004820152602c60248201527f45524332303a207472616e736665722066726f6d2074686520626c61636b4c6960448201526b73746564206164647265737360a01b6064820152608401610c07565b80611d72576111a0838360006126ab565b60115460ff161561222d576005546001600160a01b03848116911614801590611da957506005546001600160a01b03838116911614155b8015611dbd57506001600160a01b03821615155b8015611dd457506001600160a01b03821661dead14155b8015611dea5750600554600160a01b900460ff16155b1561222d57601154610100900460ff16611e80576001600160a01b038316600090815260208052604090205460ff1680611e3b57506001600160a01b038216600090815260208052604090205460ff165b611e805760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610c07565b60135460ff1615611fc7576005546001600160a01b03838116911614801590611edb57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b8015611f1957507f00000000000000000000000028bb9bf9b8d7c8591ddf059628b0419063db38a56001600160a01b0316826001600160a01b031614155b15611fc757326000908152601260205260409020544311611fb45760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610c07565b3260009081526012602052604090204390555b6001600160a01b03831660009081526022602052604090205460ff16801561200857506001600160a01b03821660009081526021602052604090205460ff16155b156120ec5760085481111561207d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610c07565b600a546001600160a01b0383166000908152602081905260409020546120a39083613267565b11156120e75760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c07565b61222d565b6001600160a01b03821660009081526022602052604090205460ff16801561212d57506001600160a01b03831660009081526021602052604090205460ff16155b156121a3576008548111156120e75760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610c07565b6001600160a01b03821660009081526021602052604090205460ff1661222d57600a546001600160a01b0383166000908152602081905260409020546121e99083613267565b111561222d5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c07565b3060009081526020819052604090205460095481108015908190612259575060115462010000900460ff165b801561226f5750600554600160a01b900460ff16155b801561229457506001600160a01b03851660009081526022602052604090205460ff16155b80156122b857506001600160a01b038516600090815260208052604090205460ff16155b80156122dc57506001600160a01b038416600090815260208052604090205460ff16155b1561230a576005805460ff60a01b1916600160a01b1790556122fc61283c565b6005805460ff60a01b191690555b600554600160a01b900460ff1615801561233c57506001600160a01b03841660009081526022602052604090205460ff165b801561234a5750600c5460ff165b80156123655750600d54600e546123619190613267565b4210155b801561238957506001600160a01b038516600090815260208052604090205460ff16155b1561239857612396612a76565b505b6005546001600160a01b038616600090815260208052604090205460ff600160a01b9092048216159116806123e457506001600160a01b038516600090815260208052604090205460ff165b156123ed575060005b600081156125d2576001600160a01b03861660009081526022602052604090205460ff16801561241f57506000601854115b156124d75761243e6064611a106018548861268c90919063ffffffff16565b9050601854601a54826124519190613226565b61245b9190613245565b601d600082825461246c9190613267565b9091555050601854601b546124819083613226565b61248b9190613245565b601e600082825461249c9190613267565b90915550506018546019546124b19083613226565b6124bb9190613245565b601c60008282546124cc9190613267565b909155506125b49050565b6001600160a01b03871660009081526022602052604090205460ff16801561250157506000601454115b156125b4576125206064611a106014548861268c90919063ffffffff16565b9050601454601654826125339190613226565b61253d9190613245565b601d600082825461254e9190613267565b90915550506014546017546125639083613226565b61256d9190613245565b601e600082825461257e9190613267565b90915550506014546015546125939083613226565b61259d9190613245565b601c60008282546125ae9190613267565b90915550505b80156125c5576125c58730836126ab565b6125cf818661330e565b94505b6125dd8787876126ab565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260226020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b60006126988284613226565b9392505050565b60006126988284613245565b6001600160a01b0383166126d15760405162461bcd60e51b8152600401610c07906132c9565b6001600160a01b0382166127335760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c07565b6001600160a01b038316600090815260208190526040902054818110156127ab5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c07565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906127e2908490613267565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161282e91815260200190565b60405180910390a350505050565b3060009081526020819052604081205490506000601e54601c54601d546128639190613267565b61286d9190613267565b9050600082158061287c575081155b1561288657505050565b600954612894906014613226565b8311156128ac576009546128a9906014613226565b92505b6000600283601d54866128bf9190613226565b6128c99190613245565b6128d39190613245565b905060006128e18583612c06565b9050476128ed82612c12565b60006128f94783612c06565b9050600061291687611a10601c548561268c90919063ffffffff16565b9050600061293388611a10601e548661268c90919063ffffffff16565b9050600081612942848661330e565b61294c919061330e565b6000601d819055601c819055601e8190556007546040519293506001600160a01b031691849181818185875af1925050503d80600081146129a9576040519150601f19603f3d011682016040523d82523d6000602084013e6129ae565b606091505b509098505086158015906129c25750600081115b15612a15576129d18782612dd2565b601d54604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6006546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612a62576040519150601f19603f3d011682016040523d82523d6000602084013e612a67565b606091505b50505050505050505050505050565b42600e556040516370a0823160e01b81526001600160a01b037f00000000000000000000000028bb9bf9b8d7c8591ddf059628b0419063db38a5166004820152600090819030906370a0823190602401602060405180830381865afa158015612ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0791906132b0565b90506000612b26612710611a10600b548561268c90919063ffffffff16565b90508015612b5b57612b5b7f00000000000000000000000028bb9bf9b8d7c8591ddf059628b0419063db38a561dead836126ab565b60007f00000000000000000000000028bb9bf9b8d7c8591ddf059628b0419063db38a59050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015612bbb57600080fd5b505af1158015612bcf573d6000803e3d6000fd5b50506040517f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d925060009150a16001935050505090565b6000612698828461330e565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612c4757612c4761327f565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ce99190613325565b81600181518110612cfc57612cfc61327f565b60200260200101906001600160a01b031690816001600160a01b031681525050612d47307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611af7565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612d9c908590600090869030904290600401613342565b600060405180830381600087803b158015612db657600080fd5b505af1158015612dca573d6000803e3d6000fd5b505050505050565b612dfd307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611af7565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015261dead60848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015612e87573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612eac91906133b3565b5050505050565b600060208083528351808285015260005b81811015612ee057858101830151858201604001528201612ec4565b81811115612ef2576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461187a57600080fd5b80356117a081612f08565b60008060408385031215612f3b57600080fd5b8235612f4681612f08565b946020939093013593505050565b600060208284031215612f6657600080fd5b813561269881612f08565b600060208284031215612f8357600080fd5b5035919050565b600080600060608486031215612f9f57600080fd5b8335612faa81612f08565b92506020840135612fba81612f08565b929592945050506040919091013590565b803580151581146117a057600080fd5b60008060408385031215612fee57600080fd5b8235612ff981612f08565b915061300760208401612fcb565b90509250929050565b60008060006060848603121561302557600080fd5b833592506020840135915061303c60408501612fcb565b90509250925092565b60008060006060848603121561305a57600080fd5b505081359360208301359350604090920135919050565b60006020828403121561308357600080fd5b61269882612fcb565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156130b557600080fd5b823567ffffffffffffffff808211156130cd57600080fd5b818501915085601f8301126130e157600080fd5b8135818111156130f3576130f361308c565b8060051b604051601f19603f830116810181811085821117156131185761311861308c565b60405291825284820192508381018501918883111561313657600080fd5b938501935b8285101561315b5761314c85612f1d565b8452938501939285019261313b565b98975050505050505050565b6000806040838503121561317a57600080fd5b823561318581612f08565b9150602083013561319581612f08565b809150509250929050565b600181811c908216806131b457607f821691505b602082108114156131d557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561324057613240613210565b500290565b60008261326257634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561327a5761327a613210565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156132a9576132a9613210565b5060010190565b6000602082840312156132c257600080fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60008282101561332057613320613210565b500390565b60006020828403121561333757600080fd5b815161269881612f08565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156133925784516001600160a01b03168352938301939183019160010161336d565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156133c857600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212204fb9d64abc6f10aeb8f64cbba4c6cdfbd40f9016950ce8c57dbf05612e832fa264736f6c634300080a0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.