Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Legal
Overview
Max Total Supply
2,760,000,000 LTY
Holders
952 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.077670956543144531 LTYValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Ledgity
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.6.12; import "./libraries/ReflectToken.sol"; import "./libraries/Percent.sol"; import "./libraries/Set.sol"; import "./interfaces/IUniswapV2Factory.sol"; import "./interfaces/IUniswapV2Pair.sol"; import "./interfaces/IUniswapV2Router02.sol"; import "./interfaces/ILedgity.sol"; import "./interfaces/IReserve.sol"; import "./interfaces/ILedgityPriceOracle.sol"; // SPDX-License-Identifier: Unlicensed contract Ledgity is ILedgity, ReflectToken { using SafeMath for uint256; using Percent for Percent.Percent; using Set for Set.AddressSet; uint256 public constant initialTotalSupply = 2760000000 * 10**18; uint256 public numTokensToSwap; bool public inSwapAndLiquify; enum FeeDestination { Liquify, Collect } FeeDestination public feeDestination = FeeDestination.Liquify; Percent.Percent public sellAccumulationFee = Percent.encode(6, 100); Percent.Percent public initialSellAccumulationFee = sellAccumulationFee; Percent.Percent public sellAtSmallPriceAccumulationFee = Percent.encode(6 + 15, 100); Percent.Percent public initialSellAtSmallPriceAccumulationFee = sellAtSmallPriceAccumulationFee; Percent.Percent public sellReflectionFee = Percent.encode(4, 100); Percent.Percent public initialSellReflectionFee = sellReflectionFee; Percent.Percent public buyAccumulationFee = Percent.encode(4, 100); Percent.Percent public initialBuyAccumulationFee = buyAccumulationFee; Set.AddressSet private _dexes; Set.AddressSet private _excludedFromDexFee; Set.AddressSet private _excludedFromLimits; mapping(address => uint256) public soldPerPeriod; mapping(address => uint256) public firstSellAt; Percent.Percent public maxTransactionSizePercent = Percent.encode(5, 10000); IUniswapV2Pair public uniswapV2Pair; IReserve public reserve; ILedgityPriceOracle public priceOracle; uint256 public initialPrice; constructor() public ReflectToken("Ledgity", "LTY", initialTotalSupply) { numTokensToSwap = totalSupply().mul(15).div(10000); setIsExcludedFromDexFee(owner(), true); setIsExcludedFromDexFee(address(this), true); setIsExcludedFromLimits(owner(), true); setIsExcludedFromLimits(address(this), true); excludeAccount(address(this)); } modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } function initializeReserve(address reserveAddress) external onlyOwner { reserve = IReserve(reserveAddress); setIsExcludedFromDexFee(address(reserve), true); setIsExcludedFromLimits(address(reserve), true); excludeAccount(address(reserve)); uniswapV2Pair = reserve.uniswapV2Pair(); setDex(address(uniswapV2Pair), true); } function initializePriceOracle(address priceOracleAddress) external onlyOwner { priceOracle = ILedgityPriceOracle(priceOracleAddress); if (initialPrice == 0) { initialPrice = _getPrice(); } } function totalBurn() external view returns (uint256) { return initialTotalSupply - totalSupply(); } function setDex(address target, bool dex) public onlyOwner { if (dex) { _dexes.add(target); if (!isExcluded(target)) { excludeAccount(target); } } else { _dexes.remove(target); if (isExcluded(target)) { includeAccount(target); } } } function setFeeDestination(FeeDestination fd) public onlyOwner { feeDestination = fd; } function setIsExcludedFromDexFee(address account, bool isExcluded) public onlyOwner { if (isExcluded) { _excludedFromDexFee.add(account); } else { _excludedFromDexFee.remove(account); } } function setIsExcludedFromLimits(address account, bool isExcluded) public onlyOwner { if (isExcluded) { _excludedFromLimits.add(account); } else { _excludedFromLimits.remove(account); } } function setNumTokensToSwap(uint256 _numTokensToSwap) external onlyOwner { numTokensToSwap = _numTokensToSwap; } function setMaxTransactionSizePercent(uint128 numerator, uint128 denominator) external onlyOwner { maxTransactionSizePercent = Percent.encode(numerator, denominator); } function setSellAccumulationFee(uint128 numerator, uint128 denominator) external onlyOwner { sellAccumulationFee = Percent.encode(numerator, denominator); require(sellAccumulationFee.lte(initialSellAccumulationFee), "Ledgity: fee too high"); } function setSellAtSmallPriceAccumulationFee(uint128 numerator, uint128 denominator) external onlyOwner { sellAtSmallPriceAccumulationFee = Percent.encode(numerator, denominator); require(sellAtSmallPriceAccumulationFee.lte(initialSellAtSmallPriceAccumulationFee), "Ledgity: fee too high"); } function setSellReflectionFee(uint128 numerator, uint128 denominator) external onlyOwner { sellReflectionFee = Percent.encode(numerator, denominator); require(sellReflectionFee.lte(initialSellReflectionFee), "Ledgity: fee too high"); } function setBuyAccumulationFee(uint128 numerator, uint128 denominator) external onlyOwner { buyAccumulationFee = Percent.encode(numerator, denominator); require(buyAccumulationFee.lte(initialBuyAccumulationFee), "Ledgity: fee too high"); } function burn(uint256 amount) external override returns (bool) { _burn(_msgSender(), amount); return true; } function getDexes() external view returns (address[] memory) { return _dexes.values; } function getExcludedFromDexFee() external view returns (address[] memory) { return _excludedFromDexFee.values; } function getExcludedFromLimits() external view returns (address[] memory) { return _excludedFromLimits.values; } function isDex(address account) public view returns (bool) { return _dexes.has(account); } function isExcludedFromDexFee(address account) public view returns (bool) { return _excludedFromDexFee.has(account); } function isExcludedFromLimits(address account) public view returns (bool) { return _excludedFromLimits.has(account); } function _calculateReflectionFee(address sender, address recipient, uint256 amount) internal override view returns (uint256) { if (isDex(recipient) && !isExcludedFromDexFee(sender)) { return sellReflectionFee.mul(amount); } return 0; } function _calculateAccumulationFee(address sender, address recipient, uint256 amount) internal override view returns (uint256) { if (isDex(sender) && !isExcludedFromDexFee(recipient)) { return buyAccumulationFee.mul(amount); } if (isDex(recipient) && !isExcludedFromDexFee(sender)) { if (_getPrice() >= initialPrice.mul(10)) { return sellAccumulationFee.mul(amount); } else { return sellAtSmallPriceAccumulationFee.mul(amount); } } return 0; } function _swapAndLiquifyOrCollect(uint256 contractTokenBalance) private lockTheSwap { _transfer(address(this), address(reserve), contractTokenBalance); if (feeDestination == FeeDestination.Liquify) { reserve.swapAndLiquify(contractTokenBalance); } else if (feeDestination == FeeDestination.Collect) { reserve.swapAndCollect(contractTokenBalance); } else { revert("Ledgity: invalid feeDestination"); } } function _transfer(address sender, address recipient, uint256 amount) internal override { if (!isExcludedFromLimits(sender) && isDex(recipient)) { uint256 _sold; if (block.timestamp.sub(firstSellAt[sender]) > 10 minutes) { // _sold = 0; // is already 0 firstSellAt[sender] = block.timestamp; } else { _sold = soldPerPeriod[sender]; } _sold = _sold.add(amount); require(_sold <= maxTransactionSize()); soldPerPeriod[sender] = _sold; } if (address(priceOracle) != address(0)) { priceOracle.tryUpdate(); } uint256 contractTokenBalance = balanceOf(address(this)); uint256 _numTokensToSwap = numTokensToSwap; if ( contractTokenBalance >= _numTokensToSwap && !inSwapAndLiquify && sender != address(uniswapV2Pair) ) { if (contractTokenBalance > _numTokensToSwap) { contractTokenBalance = _numTokensToSwap; } _swapAndLiquifyOrCollect(contractTokenBalance); } super._transfer(sender, recipient, amount); } function _getPrice() private view returns (uint256) { if (address(priceOracle) == address(0)) { return 0; } return priceOracle.consult(address(this), 1e18); } function maxTransactionSize() public view returns (uint256) { return maxTransactionSizePercent.mul(totalSupply()); } }
pragma solidity ^0.6.12; import "./Context.sol"; import "./SafeMath.sol"; import "./Ownable.sol"; import "../interfaces/IERC20.sol"; abstract contract ReflectToken is Context, IERC20, Ownable { using SafeMath for uint256; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcluded; address[] private _excluded; uint8 private constant _decimals = 18; uint256 private _tTotal; uint256 private _rTotal; uint256 private _tFeeTotal; string private _name; string private _symbol; constructor (string memory name_, string memory symbol_, uint256 tTotal_) public { _name = name_; _symbol = symbol_; _tTotal = tTotal_; uint256 MAX = type(uint256).max; _rTotal = (MAX - (MAX % _tTotal)); _rOwned[_msgSender()] = _rTotal; emit Transfer(address(0), _msgSender(), _tTotal); } /** * @dev Amount of tokens to be charged as a reflection fee. Must be in range 0..amount. */ function _calculateReflectionFee(address sender, address recipient, uint256 amount) internal virtual view returns (uint256); /** * @dev Amount of tokens to be charged and stored in this contract. Must be in range 0..amount. */ function _calculateAccumulationFee(address sender, address recipient, uint256 amount) internal virtual view returns (uint256); function name() external view returns (string memory) { return _name; } function symbol() external view returns (string memory) { return _symbol; } function decimals() external view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) external override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) external view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) external override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ReflectToken: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) external virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) external virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ReflectToken: decreased allowance below zero")); return true; } function getExcluded() external view returns (address[] memory) { return _excluded; } function isExcluded(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() external view returns (uint256) { return _tFeeTotal; } function reflect(uint256 tAmount) external { address sender = _msgSender(); require(!_isExcluded[sender], "ReflectToken: excluded addresses cannot call this function"); (uint256 rAmount,,,,,,) = _getValues(sender, address(0), tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rTotal = _rTotal.sub(rAmount); _tFeeTotal = _tFeeTotal.add(tAmount); } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) external view returns(uint256) { require(tAmount <= _tTotal, "ReflectToken: amount must be less than supply"); address sender = _msgSender(); if (!deductTransferFee) { (uint256 rAmount,,,,,,) = _getValues(sender, address(0), tAmount); return rAmount; } else { (,uint256 rTransferAmount,,,,,) = _getValues(sender, address(0), tAmount); return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns(uint256) { require(rAmount <= _rTotal, "ReflectToken: amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function excludeAccount(address account) public onlyOwner() { require(!_isExcluded[account], "ReflectToken: account is already excluded"); if(_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } function includeAccount(address account) public onlyOwner() { require(_isExcluded[account], "ReflectToken: account is already included"); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcluded[account] = false; _excluded.pop(); break; } } } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0), "ReflectToken: approve from the zero address"); require(spender != address(0), "ReflectToken: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _burn(address from, uint256 tAmount) internal { uint256 rAmount = tAmount.mul(_getRate()); _rOwned[from] = _rOwned[from].sub(rAmount, "ReflectToken: burn amount is more than the balance"); if (_isExcluded[from]) { _tOwned[from] = _tOwned[from].sub(tAmount, "ReflectToken: burn amount is more than the balance"); } _rTotal = _rTotal.sub(rAmount); _tTotal = _tTotal.sub(tAmount); emit Transfer(_msgSender(), address(0), tAmount); } function _transfer(address sender, address recipient, uint256 tAmount) internal virtual { require(sender != address(0), "ReflectToken: transfer from the zero address"); require(recipient != address(0), "ReflectToken: transfer to the zero address"); require(tAmount > 0, "ReflectToken: transfer amount must be greater than zero"); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 rAccumulation, uint256 tTransferAmount, uint256 tFee, uint256 tAccumulation) = _getValues(sender, recipient, tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); if (_isExcluded[sender]) { _tOwned[sender] = _tOwned[sender].sub(tAmount); } _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); if (_isExcluded[recipient]) { _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); } if (tFee != 0) { _reflectFee(rFee, tFee); } if (tAccumulation != 0) { _accumulateFee(rAccumulation, tAccumulation); } emit Transfer(sender, recipient, tTransferAmount); } function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _accumulateFee(uint256 rAccumulation, uint256 tAccumulation) private { _rOwned[address(this)] = _rOwned[address(this)].add(rAccumulation); if(_isExcluded[address(this)]) { _tOwned[address(this)] = _tOwned[address(this)].add(tAccumulation); } } function _getValues(address sender, address recipient, uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256, uint256) { (uint256 tTransferAmount, uint256 tFee, uint256 tAccumulation) = _getTValues(sender, recipient, tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 rAccumulation) = _getRValues(tAmount, tFee, tAccumulation); return (rAmount, rTransferAmount, rFee, rAccumulation, tTransferAmount, tFee, tAccumulation); } function _getTValues(address sender, address recipient, uint256 tAmount) private view returns (uint256, uint256, uint256) { uint256 tFee = _calculateReflectionFee(sender, recipient, tAmount); uint256 tAccumulation = _calculateAccumulationFee(sender, recipient, tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tAccumulation); return (tTransferAmount, tFee, tAccumulation); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 tAccumulation) private view returns (uint256, uint256, uint256, uint256) { uint256 currentRate = _getRate(); uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rAccumulation = tAccumulation.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rAccumulation); return (rAmount, rTransferAmount, rFee, rAccumulation); } function _getRate() private view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns(uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; uint256 len = _excluded.length; for (uint256 i = 0; i < len; i++) { address account = _excluded[i]; uint256 rBalance = _rOwned[account]; uint256 tBalance = _tOwned[account]; if (rBalance > rSupply || tBalance > tSupply) return (_rTotal, _tTotal); rSupply = rSupply.sub(rBalance); tSupply = tSupply.sub(tBalance); } if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } }
pragma solidity ^0.6.12; import "./SafeMath.sol"; library Percent { using SafeMath for uint256; struct Percent { uint128 numerator; uint128 denominator; } function encode(uint128 numerator, uint128 denominator) internal pure returns (Percent memory) { require(numerator <= denominator, "Percent: invalid percentage"); return Percent(numerator, denominator); } function mul(Percent memory self, uint256 value) internal pure returns (uint256) { return value.mul(uint256(self.numerator)).div(uint256(self.denominator)); } function lte(Percent memory self, Percent memory other) internal pure returns (bool) { return uint256(self.numerator).mul(other.denominator) <= uint256(other.numerator).mul(self.denominator); } }
pragma solidity ^0.6.12; library Set { /// @title Set data structure /// @dev Supports `add`, `remove` and `has` methods. Use `values` property to iterate over values. Do not edit properties directly. struct AddressSet { address[] values; mapping(address => uint256) _valueIndexPlusOne; } /// @dev Adds a value to the set. /// @return `true` if the value was successfully added; `false` if the value was already in the set. function add(AddressSet storage set, address value) internal returns (bool) { if (set._valueIndexPlusOne[value] != 0) { return false; } set.values.push(value); set._valueIndexPlusOne[value] = set.values.length; // length == last_index + 1 return true; } /// @dev Removes a value from the set. /// @return `true` if value was successfully removed; `false` if the value was not in the set. function remove(AddressSet storage set, address value) internal returns (bool) { if (set._valueIndexPlusOne[value] == 0) { return false; } uint256 valueToRemoveIndexPlusOne = set._valueIndexPlusOne[value]; uint256 lastValueIndex = set.values.length - 1; // Swap indices set._valueIndexPlusOne[set.values[lastValueIndex]] = valueToRemoveIndexPlusOne; delete set._valueIndexPlusOne[value]; // Move the last value to the deleted spot set.values[valueToRemoveIndexPlusOne - 1] = set.values[lastValueIndex]; // Delete the duplicated last value set.values.pop(); return true; } /// @dev Checks if a value is in the set. /// @return `true` if the value is in the set; `false` if the value is not in the set. function has(AddressSet storage set, address value) internal view returns (bool) { return set._valueIndexPlusOne[value] != 0; } }
pragma solidity ^0.6.12; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity ^0.6.12; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity ^0.6.12; import "./IUniswapV2Router01.sol"; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity ^0.6.12; import "./IERC20.sol"; interface ILedgity is IERC20 { function burn(uint256 amount) external returns (bool); }
pragma solidity ^0.6.12; import "./IUniswapV2Pair.sol"; interface IReserve { function uniswapV2Pair() external returns (IUniswapV2Pair); /** * @dev Returns the amount of tokens in existence. */ function swapAndCollect(uint256 tokenAmount) external; /** * @dev Returns the amount of tokens owned by `account`. */ function swapAndLiquify(uint256 tokenAmount) external; /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function buyAndBurn(uint256 usdcAmount) external; /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event BuyAndBurn(uint256 tokenAmount, uint256 usdcAmount); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event SwapAndCollect(uint256 tokenAmount, uint256 usdcAmount); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event SwapAndLiquify( uint256 tokenSwapped, uint256 usdcReceived, uint256 tokensIntoLiqudity ); }
pragma solidity ^0.6.12; interface ILedgityPriceOracle { /** * @dev Update average price. * @return `true` if update successful; `false` if period has not yet elapsed. */ function tryUpdate() external returns (bool); /** * @dev Update average price. Reverts if period has not yet elapsed. */ function update() external; /** * @dev Returns the price of tokens. */ function consult(address token, uint amountIn) external view returns (uint amountOut); }
pragma solidity ^0.6.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
pragma solidity ^0.6.12; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } }
pragma solidity ^0.6.12; import "./Context.sol"; contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () public { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() external virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) external virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
pragma solidity ^0.6.12; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
pragma solidity ^0.6.12; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyAccumulationFee","outputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeDestination","outputs":[{"internalType":"enum Ledgity.FeeDestination","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"firstSellAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDexes","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getExcluded","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getExcludedFromDexFee","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getExcludedFromLimits","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inSwapAndLiquify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeAccount","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":[],"name":"initialBuyAccumulationFee","outputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialSellAccumulationFee","outputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialSellAtSmallPriceAccumulationFee","outputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialSellReflectionFee","outputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"priceOracleAddress","type":"address"}],"name":"initializePriceOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"reserveAddress","type":"address"}],"name":"initializeReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isDex","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromDexFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionSizePercent","outputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensToSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceOracle","outputs":[{"internalType":"contract ILedgityPriceOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"reflect","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserve","outputs":[{"internalType":"contract IReserve","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellAccumulationFee","outputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellAtSmallPriceAccumulationFee","outputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellReflectionFee","outputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"name":"setBuyAccumulationFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"dex","type":"bool"}],"name":"setDex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Ledgity.FeeDestination","name":"fd","type":"uint8"}],"name":"setFeeDestination","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"setIsExcludedFromDexFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"setIsExcludedFromLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"name":"setMaxTransactionSizePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numTokensToSwap","type":"uint256"}],"name":"setNumTokensToSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"name":"setSellAccumulationFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"name":"setSellAtSmallPriceAccumulationFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"name":"setSellReflectionFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"soldPerPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600c805461ff0019169055620000296006606462000427602090811b6200210717901c565b8051600d80546020938401516001600160801b03199182166001600160801b03948516178416600160801b91851682021792839055600e8054848616931692909217841692819004909316909202179055620000949060159060649062000427811b6200210717901c565b8051600f80546020938401516001600160801b03199182166001600160801b03948516178416600160801b9185168202179283905560108054848616931692909217841692819004909316909202179055620000ff9060049060649062000427811b6200210717901c565b8051601180546020938401516001600160801b03199182166001600160801b03948516178416600160801b91851682021792839055601280548486169316929092178416928190049093169092021790556200016a9060049060649062000427811b6200210717901c565b8051601380546020938401516001600160801b03199182166001600160801b03948516178416600160801b9185168202179283905560148054848616931692909217841692819004909316909202179055620001d6906005906127109062000427811b6200210717901c565b8051601d80546020909301516001600160801b03908116600160801b029281166001600160801b0319909416939093179092161790553480156200021957600080fd5b50604051806040016040528060078152602001664c65646769747960c81b815250604051806040016040528060038152602001624c545960e81b8152506b08eb04bbcd9161efc8000000600062000275620004bf60201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508251620002d490600990602086019062000cee565b508151620002ea90600a90602085019062000cee565b506006819055600019818181620002fd57fe5b06810360078190556001600062000313620004bf565b6001600160a01b0316815260208101919091526040016000205562000337620004bf565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6006546040518082815260200191505060405180910390a350505050620003cd612710620003b9600f620003a5620004c360201b60201c565b620004c960201b620021981790919060201c565b6200052e60201b620021f11790919060201c565b600b55620003e6620003de62000578565b600162000587565b620003f330600162000587565b620004096200040162000578565b60016200062d565b620004163060016200062d565b6200042130620006c6565b62000da1565b6200043162000d73565b816001600160801b0316836001600160801b0316111562000499576040805162461bcd60e51b815260206004820152601b60248201527f50657263656e743a20696e76616c69642070657263656e746167650000000000604482015290519081900360640190fd5b50604080518082019091526001600160801b038084168252821660208201525b92915050565b3390565b60065490565b600082620004da57506000620004b9565b82820282848281620004e857fe5b0414620005275760405162461bcd60e51b8152600401808060200182810382526021815260200180620043ae6021913960400191505060405180910390fd5b9392505050565b60006200052783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200083f60201b60201c565b6000546001600160a01b031690565b62000591620004bf565b6000546001600160a01b03908116911614620005e3576040805162461bcd60e51b81526020600482018190526024820152600080516020620043cf833981519152604482015290519081900360640190fd5b80156200060c5762000605826017620008e660201b620022331790919060201c565b5062000629565b620006278260176200095860201b620022a31790919060201c565b505b5050565b62000637620004bf565b6000546001600160a01b0390811691161462000689576040805162461bcd60e51b81526020600482018190526024820152600080516020620043cf833981519152604482015290519081900360640190fd5b8015620006ab5762000605826019620008e660201b620022331790919060201c565b620006278260196200095860201b620022a31790919060201c565b620006d0620004bf565b6000546001600160a01b0390811691161462000722576040805162461bcd60e51b81526020600482018190526024820152600080516020620043cf833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff16156200077c5760405162461bcd60e51b8152600401808060200182810382526029815260200180620043856029913960400191505060405180910390fd5b6001600160a01b03811660009081526001602052604090205415620007d9576001600160a01b038116600090815260016020526040902054620007bf9062000a93565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600460205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319169091179055565b60008183620008cf5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200089357818101518382015260200162000879565b50505050905090810190601f168015620008c15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581620008dc57fe5b0495945050505050565b6001600160a01b0381166000908152600183016020526040812054156200091057506000620004b9565b508154600180820184556000848152602080822090930180546001600160a01b0319166001600160a01b03959095169485179055845493815293810190915260409092205590565b6001600160a01b03811660009081526001830160205260408120546200098157506000620004b9565b6001600160a01b03821660009081526001840160208190526040822054855490926000198201928492909190889085908110620009ba57fe5b60009182526020808320909101546001600160a01b03908116845283820194909452604092830182209490945591871682526001880190925290812055845485908290811062000a0657fe5b60009182526020909120015485546001600160a01b03909116908690600019850190811062000a3157fe5b600091825260209091200180546001600160a01b0319166001600160a01b0392909216919091179055845485908062000a6657fe5b600082815260209020600019908201810180546001600160a01b0319169055019055506001949350505050565b600060075482111562000ad85760405162461bcd60e51b81526004018080602001828103825260388152602001806200434d6038913960400191505060405180910390fd5b600062000ae462000b00565b90506200052781846200052e60201b620021f11790919060201c565b6000808062000b0e62000b33565b9150915062000b2c81836200052e60201b620021f11790919060201c565b9250505090565b60075460065460055460009283929091835b8181101562000c025760006005828154811062000b5e57fe5b60009182526020808320909101546001600160a01b031680835260018252604080842054600290935290922054919250908682118062000b9d57508581115b1562000bba57600754600654985098505050505050505062000c43565b62000bd4828862000c4760201b620023d81790919060201c565b965062000bf0818762000c4760201b620023d81790919060201c565b9550506001909201915062000b459050565b5062000c216006546007546200052e60201b620021f11790919060201c565b83101562000c3c576007546006549450945050505062000c43565b5090925090505b9091565b60006200052783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525062000c9160201b60201c565b6000818484111562000ce65760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156200089357818101518382015260200162000879565b505050900390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000d3157805160ff191683800117855562000d61565b8280016001018555821562000d61579182015b8281111562000d6157825182559160200191906001019062000d44565b5062000d6f92915062000d8a565b5090565b604080518082019091526000808252602082015290565b5b8082111562000d6f576000815560010162000d8b565b61359c8062000db16000396000f3fe608060405234801561001057600080fd5b50600436106103ba5760003560e01c80636042f719116101f4578063aea1f8031161011a578063e9d4eacc116100ad578063f2fde38b1161007c578063f2fde38b14610ac7578063f84354f114610aed578063f8d5d46914610b13578063fda493c914610b1b576103ba565b8063e9d4eacc14610a4b578063ec276f8514610a6b578063ec9c273514610a99578063f2cc0c1814610aa1576103ba565b8063cba0e996116100e9578063cba0e996146109c6578063cd3293de146109ec578063dd62ed3e146109f4578063de53fcd514610a22576103ba565b8063aea1f8031461095a578063baa97acc14610988578063be1c414c146109b6578063c3574525146109be576103ba565b80638c71072e116101925780639badc365116101615780639badc365146108d4578063a457c2d7146108dc578063a9059cbb14610908578063addb0cb714610934576103ba565b80638c71072e146108705780638da5cb5b1461089e57806394a1404a146108a657806395d89b41146108cc576103ba565b8063715018a6116101ce578063715018a61461082a5780637337c7a61461083257806383f74ba71461083a5780638879444314610842576103ba565b80636042f719146107d657806360ba1c3e146107de57806370a0823114610804576103ba565b80632993da12116102e457806342966c6811610277578063504d275111610246578063504d275114610754578063548743c8146107825780635cce86cd1461078a5780635f91331e146107b0576103ba565b806342966c68146106dc5780634549b039146106f957806349bd5a5e1461071e5780634ab9c15e14610726576103ba565b8063342e11af116102b3578063342e11af1461062a57806339509351146106825780633c11e12a146106ae5780633c9f861d146106d4576103ba565b80632993da12146105c15780632d838119146105e7578063311028af14610604578063313ce5671461060c576103ba565b806318160ddd1161035c57806323b872dd1161032b57806323b872dd146105575780632630c12f1461058d57806327345b1b146105b157806328b13b61146105b9576103ba565b806318160ddd146105085780631b8676f5146105105780631d0806ae14610547578063220f66961461054f576103ba565b8063095ea7b311610398578063095ea7b3146104755780630e6d2f0b146104b55780630f569dad146104e357806313114a9d14610500576103ba565b806301a6c43b146103bf578063053ab182146103d957806306fdde03146103f8575b600080fd5b6103c7610b23565b60408051918252519081900360200190f35b6103f6600480360360208110156103ef57600080fd5b5035610b29565b005b610400610c08565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561043a578181015183820152602001610422565b50505050905090810190601f1680156104675780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104a16004803603604081101561048b57600080fd5b506001600160a01b038135169060200135610c9f565b604080519115158252519081900360200190f35b6103f6600480360360408110156104cb57600080fd5b506001600160801b0381358116916020013516610cbd565b6103f6600480360360208110156104f957600080fd5b5035610de0565b6103c7610e3d565b6103c7610e43565b610518610e49565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b6103c7610e63565b6104a1610e69565b6104a16004803603606081101561056d57600080fd5b506001600160a01b03813581169160208101359091169060400135610e72565b610595610efa565b604080516001600160a01b039092168252519081900360200190f35b610518610f09565b6103c7610f23565b6103f6600480360360208110156105d757600080fd5b50356001600160a01b0316610f63565b6103c7600480360360208110156105fd57600080fd5b50356110bd565b6103c761111f565b61061461112f565b6040805160ff9092168252519081900360200190f35b610632611134565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561066e578181015183820152602001610656565b505050509050019250505060405180910390f35b6104a16004803603604081101561069857600080fd5b506001600160a01b038135169060200135611198565b6104a1600480360360208110156106c457600080fd5b50356001600160a01b03166111e6565b6103c76111f3565b6104a1600480360360208110156106f257600080fd5b5035611210565b6103c76004803603604081101561070f57600080fd5b5080359060200135151561122b565b6105956112bd565b6103f66004803603604081101561073c57600080fd5b506001600160801b03813581169160200135166112cc565b6103f66004803603604081101561076a57600080fd5b506001600160801b03813581169160200135166113a2565b61051861143e565b6104a1600480360360208110156107a057600080fd5b50356001600160a01b0316611458565b6103c7600480360360208110156107c657600080fd5b50356001600160a01b0316611465565b610518611477565b6104a1600480360360208110156107f457600080fd5b50356001600160a01b0316611491565b6103c76004803603602081101561081a57600080fd5b50356001600160a01b031661149e565b6103f6611500565b6105186115a2565b6105186115bc565b6103f66004803603604081101561085857600080fd5b506001600160a01b03813516906020013515156115d6565b6103f66004803603604081101561088657600080fd5b506001600160a01b0381351690602001351515611655565b6105956116c9565b6103f6600480360360208110156108bc57600080fd5b50356001600160a01b03166116d8565b610400611760565b6106326117c1565b6104a1600480360360408110156108f257600080fd5b506001600160a01b038135169060200135611821565b6104a16004803603604081101561091e57600080fd5b506001600160a01b038135169060200135611889565b6103c76004803603602081101561094a57600080fd5b50356001600160a01b031661189d565b6103f66004803603604081101561097057600080fd5b506001600160801b03813581169160200135166118af565b6103f66004803603604081101561099e57600080fd5b506001600160801b0381358116916020013516611985565b610518611a5b565b610518611a75565b6104a1600480360360208110156109dc57600080fd5b50356001600160a01b0316611a8f565b610595611aad565b6103c760048036036040811015610a0a57600080fd5b506001600160a01b0381358116916020013516611abc565b610a2a611ae7565b60405180826001811115610a3a57fe5b815260200191505060405180910390f35b6103f660048036036020811015610a6157600080fd5b503560ff16611af5565b6103f660048036036040811015610a8157600080fd5b506001600160a01b0381351690602001351515611b70565b610518611c18565b6103f660048036036020811015610ab757600080fd5b50356001600160a01b0316611c32565b6103f660048036036020811015610add57600080fd5b50356001600160a01b0316611da2565b6103f660048036036020811015610b0357600080fd5b50356001600160a01b0316611e9a565b610632612041565b6106326120a4565b600b5481565b6000610b3361241a565b6001600160a01b03811660009081526004602052604090205490915060ff1615610b8e5760405162461bcd60e51b815260040180806020018281038252603a81526020018061352d603a913960400191505060405180910390fd5b6000610b9c8260008561241e565b5050506001600160a01b038616600090815260016020526040902054939450610bca939250849150506123d8565b6001600160a01b038316600090815260016020526040902055600754610bf090826123d8565b600755600854610c009084612480565b600855505050565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c945780601f10610c6957610100808354040283529160200191610c94565b820191906000526020600020905b815481529060010190602001808311610c7757829003601f168201915b505050505090505b90565b6000610cb3610cac61241a565b84846124da565b5060015b92915050565b610cc561241a565b6000546001600160a01b03908116911614610d15576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b610d1f8282612107565b8051600d80546020938401516001600160801b03199091166001600160801b03938416178316600160801b91841682021791829055604080518082018252600e548086168252839004851681870152815180830190925283851682529190920490921692810192909252610d9391906125c6565b610ddc576040805162461bcd60e51b8152602060048201526015602482015274098cac8ced2e8f27440cccaca40e8dede40d0d2ced605b1b604482015290519081900360640190fd5b5050565b610de861241a565b6000546001600160a01b03908116911614610e38576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b600b55565b60085490565b60065490565b600e546001600160801b0380821691600160801b90041682565b60215481565b600c5460ff1681565b6000610e7f84848461260c565b610eef84610e8b61241a565b610eea856040518060600160405280602f81526020016134fe602f91396001600160a01b038a16600090815260036020526040812090610ec961241a565b6001600160a01b0316815260208101919091526040016000205491906127b8565b6124da565b5060015b9392505050565b6020546001600160a01b031681565b6012546001600160801b0380821691600160801b90041682565b6000610f5e610f30610e43565b60408051808201909152601d546001600160801b038082168352600160801b9091041660208201529061284f565b905090565b610f6b61241a565b6000546001600160a01b03908116911614610fbb576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b601f80546001600160a01b0319166001600160a01b038381169190911791829055610fe891166001611655565b601f54610fff906001600160a01b031660016115d6565b601f54611014906001600160a01b0316611c32565b601f60009054906101000a90046001600160a01b03166001600160a01b03166349bd5a5e6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561106457600080fd5b505af1158015611078573d6000803e3d6000fd5b505050506040513d602081101561108e57600080fd5b5051601e80546001600160a01b0319166001600160a01b0392831617908190556110ba91166001611b70565b50565b60006007548211156111005760405162461bcd60e51b81526004018080602001828103825260388152602001806132a16038913960400191505060405180910390fd5b600061110a612888565b905061111683826121f1565b9150505b919050565b6b08eb04bbcd9161efc800000081565b601290565b60606017600001805480602002602001604051908101604052809291908181526020018280548015610c9457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611171575050505050905090565b6000610cb36111a561241a565b84610eea85600360006111b661241a565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612480565b6000610cb76015836128ab565b60006111fd610e43565b6b08eb04bbcd9161efc800000003905090565b600061122361121d61241a565b836128cc565b506001919050565b600060065483111561126e5760405162461bcd60e51b815260040180806020018281038252602d815260200180613385602d913960400191505060405180910390fd5b600061127861241a565b90508261129e57600061128d8260008761241e565b50949750610cb79650505050505050565b60006112ac8260008761241e565b50939750610cb79650505050505050565b601e546001600160a01b031681565b6112d461241a565b6000546001600160a01b03908116911614611324576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b61132e8282612107565b8051601380546020938401516001600160801b03199091166001600160801b03938416178316600160801b918416820217918290556040805180820182526014548086168252839004851681870152815180830190925283851682529190920490921692810192909252610d9391906125c6565b6113aa61241a565b6000546001600160a01b039081169116146113fa576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b6114048282612107565b8051601d80546020909301516001600160801b03908116600160801b029281166001600160801b0319909416939093179092161790555050565b6014546001600160801b0380821691600160801b90041682565b6000610cb76019836128ab565b601c6020526000908152604090205481565b6011546001600160801b0380821691600160801b90041682565b6000610cb76017836128ab565b6001600160a01b03811660009081526004602052604081205460ff16156114de57506001600160a01b03811660009081526002602052604090205461111a565b6001600160a01b038216600090815260016020526040902054610cb7906110bd565b61150861241a565b6000546001600160a01b03908116911614611558576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6013546001600160801b0380821691600160801b90041682565b6010546001600160801b0380821691600160801b90041682565b6115de61241a565b6000546001600160a01b0390811691161461162e576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b80156116455761163f601983612233565b50610ddc565b6116506019836122a3565b505050565b61165d61241a565b6000546001600160a01b039081169116146116ad576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b80156116be5761163f601783612233565b6116506017836122a3565b6000546001600160a01b031690565b6116e061241a565b6000546001600160a01b03908116911614611730576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b602080546001600160a01b0319166001600160a01b0383161790556021546110ba5761175a612a12565b60215550565b600a8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c945780601f10610c6957610100808354040283529160200191610c94565b60606005805480602002602001604051908101604052809291908181526020018280548015610c94576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311611171575050505050905090565b6000610cb361182e61241a565b84610eea856040518060600160405280602c8152602001613436602c91396003600061185861241a565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906127b8565b6000610cb361189661241a565b848461260c565b601b6020526000908152604090205481565b6118b761241a565b6000546001600160a01b03908116911614611907576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b6119118282612107565b8051601180546020938401516001600160801b03199091166001600160801b03938416178316600160801b918416820217918290556040805180820182526012548086168252839004851681870152815180830190925283851682529190920490921692810192909252610d9391906125c6565b61198d61241a565b6000546001600160a01b039081169116146119dd576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b6119e78282612107565b8051600f80546020938401516001600160801b03199091166001600160801b03938416178316600160801b918416820217918290556040805180820182526010548086168252839004851681870152815180830190925283851682529190920490921692810192909252610d9391906125c6565b600d546001600160801b0380821691600160801b90041682565b601d546001600160801b0380821691600160801b90041682565b6001600160a01b031660009081526004602052604090205460ff1690565b601f546001600160a01b031681565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b600c54610100900460ff1681565b611afd61241a565b6000546001600160a01b03908116911614611b4d576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b600c805482919061ff001916610100836001811115611b6857fe5b021790555050565b611b7861241a565b6000546001600160a01b03908116911614611bc8576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b8015611bf557611bd9601583612233565b50611be382611a8f565b611bf057611bf082611c32565b610ddc565b611c006015836122a3565b50611c0a82611a8f565b15610ddc57610ddc82611e9a565b600f546001600160801b0380821691600160801b90041682565b611c3a61241a565b6000546001600160a01b03908116911614611c8a576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff1615611ce25760405162461bcd60e51b815260040180806020018281038252602981526020018061335c6029913960400191505060405180910390fd5b6001600160a01b03811660009081526001602052604090205415611d3c576001600160a01b038116600090815260016020526040902054611d22906110bd565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600460205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319169091179055565b611daa61241a565b6000546001600160a01b03908116911614611dfa576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b6001600160a01b038116611e3f5760405162461bcd60e51b81526004018080602001828103825260268152602001806132d96026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611ea261241a565b6000546001600160a01b03908116911614611ef2576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff16611f495760405162461bcd60e51b81526004018080602001828103825260298152602001806134ac6029913960400191505060405180910390fd5b60005b600554811015610ddc57816001600160a01b031660058281548110611f6d57fe5b6000918252602090912001546001600160a01b0316141561203957600580546000198101908110611f9a57fe5b600091825260209091200154600580546001600160a01b039092169183908110611fc057fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600490925220805460ff19169055600580548061201257fe5b600082815260209020810160001990810180546001600160a01b0319169055019055610ddc565b600101611f4c565b60606019600001805480602002602001604051908101604052809291908181526020018280548015610c94576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311611171575050505050905090565b60606015600001805480602002602001604051908101604052809291908181526020018280548015610c94576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311611171575050505050905090565b61210f613289565b816001600160801b0316836001600160801b03161115612176576040805162461bcd60e51b815260206004820152601b60248201527f50657263656e743a20696e76616c69642070657263656e746167650000000000604482015290519081900360640190fd5b50604080518082019091526001600160801b0392831681529116602082015290565b6000826121a757506000610cb7565b828202828482816121b457fe5b0414610ef35760405162461bcd60e51b81526004018080602001828103825260218152602001806133e96021913960400191505060405180910390fd5b6000610ef383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612ab2565b6001600160a01b03811660009081526001830160205260408120541561225b57506000610cb7565b508154600180820184556000848152602080822090930180546001600160a01b0319166001600160a01b03959095169485179055845493815293810190915260409092205590565b6001600160a01b03811660009081526001830160205260408120546122ca57506000610cb7565b6001600160a01b0382166000908152600184016020819052604082205485549092600019820192849290919088908590811061230257fe5b60009182526020808320909101546001600160a01b03908116845283820194909452604092830182209490945591871682526001880190925290812055845485908290811061234d57fe5b60009182526020909120015485546001600160a01b03909116908690600019850190811061237757fe5b600091825260209091200180546001600160a01b0319166001600160a01b039290921691909117905584548590806123ab57fe5b600082815260209020600019908201810180546001600160a01b0319169055019055506001949350505050565b6000610ef383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506127b8565b3390565b6000806000806000806000806000806124388d8d8d612b17565b92509250925060008060008061244f8f8787612b5f565b9350935093509350838383838a8a8a9d509d509d509d509d509d509d50505050505050509397509397509397909450565b600082820183811015610ef3576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b03831661251f5760405162461bcd60e51b815260040180806020018281038252602b815260200180613331602b913960400191505060405180910390fd5b6001600160a01b0382166125645760405162461bcd60e51b81526004018080602001828103825260298152602001806134d56029913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b602082015181516000916125e6916001600160801b039081169116612198565b60208301518451612603916001600160801b039182169116612198565b11159392505050565b61261583611458565b1580156126265750612626826111e6565b156126ce576001600160a01b0383166000908152601c6020526040812054610258906126539042906123d8565b1115612679576001600160a01b0384166000908152601c60205260409020429055612694565b506001600160a01b0383166000908152601b60205260409020545b61269e8183612480565b90506126a8610f23565b8111156126b457600080fd5b6001600160a01b0384166000908152601b60205260409020555b6020546001600160a01b03161561274e576020805460408051630c88b75360e01b815290516001600160a01b0390921692630c88b753926004808401938290030181600087803b15801561272157600080fd5b505af1158015612735573d6000803e3d6000fd5b505050506040513d602081101561274b57600080fd5b50505b60006127593061149e565b600b549091508082108015906127725750600c5460ff16155b801561278c5750601e546001600160a01b03868116911614155b156127a6578082111561279d578091505b6127a682612bbf565b6127b1858585612d31565b5050505050565b600081848411156128475760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561280c5781810151838201526020016127f4565b50505050905090810190601f1680156128395780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000610ef383602001516001600160801b031661288285600001516001600160801b03168561219890919063ffffffff16565b906121f1565b6000806000612895612fc4565b90925090506128a482826121f1565b9250505090565b6001600160a01b031660009081526001919091016020526040902054151590565b60006128e06128d9612888565b8390612198565b905061291f816040518060600160405280603281526020016132ff603291396001600160a01b03861660009081526001602052604090205491906127b8565b6001600160a01b03841660009081526001602090815260408083209390935560049052205460ff16156129a357612989826040518060600160405280603281526020016132ff603291396001600160a01b03861660009081526002602052604090205491906127b8565b6001600160a01b0384166000908152600260205260409020555b6007546129b090826123d8565b6007556006546129c090836123d8565b60065560006129cd61241a565b6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3505050565b6020546000906001600160a01b0316612a2d57506000610c9c565b6020805460408051633ddac95360e01b8152306004820152670de0b6b3a7640000602482015290516001600160a01b0390921692633ddac95392604480840193829003018186803b158015612a8157600080fd5b505afa158015612a95573d6000803e3d6000fd5b505050506040513d6020811015612aab57600080fd5b5051905090565b60008183612b015760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561280c5781810151838201526020016127f4565b506000838581612b0d57fe5b0495945050505050565b600080600080612b288787876130a1565b90506000612b37888888613106565b90506000612b4f82612b4989866123d8565b906123d8565b9992985090965090945050505050565b6000806000806000612b6f612888565b90506000612b7d8983612198565b90506000612b8b8984612198565b90506000612b998985612198565b90506000612bab82612b4986866123d8565b939c939b5091995097509095505050505050565b600c805460ff19166001179055601f54612be49030906001600160a01b03168361260c565b6000600c54610100900460ff166001811115612bfc57fe5b1415612c6c57601f546040805163173865ad60e01b81526004810184905290516001600160a01b039092169163173865ad9160248082019260009290919082900301818387803b158015612c4f57600080fd5b505af1158015612c63573d6000803e3d6000fd5b50505050612d24565b6001600c54610100900460ff166001811115612c8457fe5b1415612cd757601f546040805163255f796d60e21b81526004810184905290516001600160a01b039092169163957de5b49160248082019260009290919082900301818387803b158015612c4f57600080fd5b6040805162461bcd60e51b815260206004820152601f60248201527f4c6564676974793a20696e76616c69642066656544657374696e6174696f6e00604482015290519081900360640190fd5b50600c805460ff19169055565b6001600160a01b038316612d765760405162461bcd60e51b815260040180806020018281038252602c81526020018061340a602c913960400191505060405180910390fd5b6001600160a01b038216612dbb5760405162461bcd60e51b815260040180806020018281038252602a815260200180613462602a913960400191505060405180910390fd5b60008111612dfa5760405162461bcd60e51b81526004018080602001828103825260378152602001806133b26037913960400191505060405180910390fd5b6000806000806000806000612e108a8a8a61241e565b9650965096509650965096509650612e5687600160008d6001600160a01b03166001600160a01b03168152602001908152602001600020546123d890919063ffffffff16565b6001600160a01b038b1660009081526001602090815260408083209390935560049052205460ff1615612ec0576001600160a01b038a16600090815260026020526040902054612ea690896123d8565b6001600160a01b038b166000908152600260205260409020555b6001600160a01b038916600090815260016020526040902054612ee39087612480565b6001600160a01b038a1660009081526001602090815260408083209390935560049052205460ff1615612f4d576001600160a01b038916600090815260026020526040902054612f339084612480565b6001600160a01b038a166000908152600260205260409020555b8115612f5d57612f5d85836131f9565b8015612f6d57612f6d848261321d565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a350505050505050505050565b60075460065460055460009283929091835b8181101561306d57600060058281548110612fed57fe5b60009182526020808320909101546001600160a01b031680835260018252604080842054600290935290922054919250908682118061302b57508581115b1561304657600754600654985098505050505050505061309d565b61305087836123d8565b965061305c86826123d8565b95505060019092019150612fd69050565b5060065460075461307d916121f1565b831015613096576007546006549450945050505061309d565b5090925090505b9091565b60006130ac836111e6565b80156130be57506130bc84611491565b155b156130fc57604080518082019091526011546001600160801b038082168352600160801b9091041660208201526130f5908361284f565b9050610ef3565b5060009392505050565b6000613111846111e6565b8015613123575061312183611491565b155b1561315a57604080518082019091526013546001600160801b038082168352600160801b9091041660208201526130f5908361284f565b613163836111e6565b8015613175575061317384611491565b155b156130fc5760215461318890600a612198565b613190612a12565b106131c75760408051808201909152600d546001600160801b038082168352600160801b9091041660208201526130f5908361284f565b60408051808201909152600f546001600160801b038082168352600160801b9091041660208201526130f5908361284f565b60075461320690836123d8565b6007556008546132169082612480565b6008555050565b306000908152600160205260409020546132379083612480565b3060009081526001602090815260408083209390935560049052205460ff1615610ddc57306000908152600260205260409020546132759082612480565b306000908152600260205260409020555050565b60408051808201909152600080825260208201529056fe5265666c656374546f6b656e3a20616d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735265666c656374546f6b656e3a206275726e20616d6f756e74206973206d6f7265207468616e207468652062616c616e63655265666c656374546f6b656e3a20617070726f76652066726f6d20746865207a65726f20616464726573735265666c656374546f6b656e3a206163636f756e7420697320616c7265616479206578636c756465645265666c656374546f6b656e3a20616d6f756e74206d757374206265206c657373207468616e20737570706c795265666c656374546f6b656e3a207472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775265666c656374546f6b656e3a207472616e736665722066726f6d20746865207a65726f20616464726573735265666c656374546f6b656e3a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5265666c656374546f6b656e3a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725265666c656374546f6b656e3a206163636f756e7420697320616c726561647920696e636c756465645265666c656374546f6b656e3a20617070726f766520746f20746865207a65726f20616464726573735265666c656374546f6b656e3a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655265666c656374546f6b656e3a206578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6ea26469706673582212203d69f3df6d2ea7de3f786a34df6f9df0f80f8984997fec4454e98ad67c4bac1f64736f6c634300060c00335265666c656374546f6b656e3a20616d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e735265666c656374546f6b656e3a206163636f756e7420697320616c7265616479206578636c75646564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103ba5760003560e01c80636042f719116101f4578063aea1f8031161011a578063e9d4eacc116100ad578063f2fde38b1161007c578063f2fde38b14610ac7578063f84354f114610aed578063f8d5d46914610b13578063fda493c914610b1b576103ba565b8063e9d4eacc14610a4b578063ec276f8514610a6b578063ec9c273514610a99578063f2cc0c1814610aa1576103ba565b8063cba0e996116100e9578063cba0e996146109c6578063cd3293de146109ec578063dd62ed3e146109f4578063de53fcd514610a22576103ba565b8063aea1f8031461095a578063baa97acc14610988578063be1c414c146109b6578063c3574525146109be576103ba565b80638c71072e116101925780639badc365116101615780639badc365146108d4578063a457c2d7146108dc578063a9059cbb14610908578063addb0cb714610934576103ba565b80638c71072e146108705780638da5cb5b1461089e57806394a1404a146108a657806395d89b41146108cc576103ba565b8063715018a6116101ce578063715018a61461082a5780637337c7a61461083257806383f74ba71461083a5780638879444314610842576103ba565b80636042f719146107d657806360ba1c3e146107de57806370a0823114610804576103ba565b80632993da12116102e457806342966c6811610277578063504d275111610246578063504d275114610754578063548743c8146107825780635cce86cd1461078a5780635f91331e146107b0576103ba565b806342966c68146106dc5780634549b039146106f957806349bd5a5e1461071e5780634ab9c15e14610726576103ba565b8063342e11af116102b3578063342e11af1461062a57806339509351146106825780633c11e12a146106ae5780633c9f861d146106d4576103ba565b80632993da12146105c15780632d838119146105e7578063311028af14610604578063313ce5671461060c576103ba565b806318160ddd1161035c57806323b872dd1161032b57806323b872dd146105575780632630c12f1461058d57806327345b1b146105b157806328b13b61146105b9576103ba565b806318160ddd146105085780631b8676f5146105105780631d0806ae14610547578063220f66961461054f576103ba565b8063095ea7b311610398578063095ea7b3146104755780630e6d2f0b146104b55780630f569dad146104e357806313114a9d14610500576103ba565b806301a6c43b146103bf578063053ab182146103d957806306fdde03146103f8575b600080fd5b6103c7610b23565b60408051918252519081900360200190f35b6103f6600480360360208110156103ef57600080fd5b5035610b29565b005b610400610c08565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561043a578181015183820152602001610422565b50505050905090810190601f1680156104675780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104a16004803603604081101561048b57600080fd5b506001600160a01b038135169060200135610c9f565b604080519115158252519081900360200190f35b6103f6600480360360408110156104cb57600080fd5b506001600160801b0381358116916020013516610cbd565b6103f6600480360360208110156104f957600080fd5b5035610de0565b6103c7610e3d565b6103c7610e43565b610518610e49565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b6103c7610e63565b6104a1610e69565b6104a16004803603606081101561056d57600080fd5b506001600160a01b03813581169160208101359091169060400135610e72565b610595610efa565b604080516001600160a01b039092168252519081900360200190f35b610518610f09565b6103c7610f23565b6103f6600480360360208110156105d757600080fd5b50356001600160a01b0316610f63565b6103c7600480360360208110156105fd57600080fd5b50356110bd565b6103c761111f565b61061461112f565b6040805160ff9092168252519081900360200190f35b610632611134565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561066e578181015183820152602001610656565b505050509050019250505060405180910390f35b6104a16004803603604081101561069857600080fd5b506001600160a01b038135169060200135611198565b6104a1600480360360208110156106c457600080fd5b50356001600160a01b03166111e6565b6103c76111f3565b6104a1600480360360208110156106f257600080fd5b5035611210565b6103c76004803603604081101561070f57600080fd5b5080359060200135151561122b565b6105956112bd565b6103f66004803603604081101561073c57600080fd5b506001600160801b03813581169160200135166112cc565b6103f66004803603604081101561076a57600080fd5b506001600160801b03813581169160200135166113a2565b61051861143e565b6104a1600480360360208110156107a057600080fd5b50356001600160a01b0316611458565b6103c7600480360360208110156107c657600080fd5b50356001600160a01b0316611465565b610518611477565b6104a1600480360360208110156107f457600080fd5b50356001600160a01b0316611491565b6103c76004803603602081101561081a57600080fd5b50356001600160a01b031661149e565b6103f6611500565b6105186115a2565b6105186115bc565b6103f66004803603604081101561085857600080fd5b506001600160a01b03813516906020013515156115d6565b6103f66004803603604081101561088657600080fd5b506001600160a01b0381351690602001351515611655565b6105956116c9565b6103f6600480360360208110156108bc57600080fd5b50356001600160a01b03166116d8565b610400611760565b6106326117c1565b6104a1600480360360408110156108f257600080fd5b506001600160a01b038135169060200135611821565b6104a16004803603604081101561091e57600080fd5b506001600160a01b038135169060200135611889565b6103c76004803603602081101561094a57600080fd5b50356001600160a01b031661189d565b6103f66004803603604081101561097057600080fd5b506001600160801b03813581169160200135166118af565b6103f66004803603604081101561099e57600080fd5b506001600160801b0381358116916020013516611985565b610518611a5b565b610518611a75565b6104a1600480360360208110156109dc57600080fd5b50356001600160a01b0316611a8f565b610595611aad565b6103c760048036036040811015610a0a57600080fd5b506001600160a01b0381358116916020013516611abc565b610a2a611ae7565b60405180826001811115610a3a57fe5b815260200191505060405180910390f35b6103f660048036036020811015610a6157600080fd5b503560ff16611af5565b6103f660048036036040811015610a8157600080fd5b506001600160a01b0381351690602001351515611b70565b610518611c18565b6103f660048036036020811015610ab757600080fd5b50356001600160a01b0316611c32565b6103f660048036036020811015610add57600080fd5b50356001600160a01b0316611da2565b6103f660048036036020811015610b0357600080fd5b50356001600160a01b0316611e9a565b610632612041565b6106326120a4565b600b5481565b6000610b3361241a565b6001600160a01b03811660009081526004602052604090205490915060ff1615610b8e5760405162461bcd60e51b815260040180806020018281038252603a81526020018061352d603a913960400191505060405180910390fd5b6000610b9c8260008561241e565b5050506001600160a01b038616600090815260016020526040902054939450610bca939250849150506123d8565b6001600160a01b038316600090815260016020526040902055600754610bf090826123d8565b600755600854610c009084612480565b600855505050565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c945780601f10610c6957610100808354040283529160200191610c94565b820191906000526020600020905b815481529060010190602001808311610c7757829003601f168201915b505050505090505b90565b6000610cb3610cac61241a565b84846124da565b5060015b92915050565b610cc561241a565b6000546001600160a01b03908116911614610d15576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b610d1f8282612107565b8051600d80546020938401516001600160801b03199091166001600160801b03938416178316600160801b91841682021791829055604080518082018252600e548086168252839004851681870152815180830190925283851682529190920490921692810192909252610d9391906125c6565b610ddc576040805162461bcd60e51b8152602060048201526015602482015274098cac8ced2e8f27440cccaca40e8dede40d0d2ced605b1b604482015290519081900360640190fd5b5050565b610de861241a565b6000546001600160a01b03908116911614610e38576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b600b55565b60085490565b60065490565b600e546001600160801b0380821691600160801b90041682565b60215481565b600c5460ff1681565b6000610e7f84848461260c565b610eef84610e8b61241a565b610eea856040518060600160405280602f81526020016134fe602f91396001600160a01b038a16600090815260036020526040812090610ec961241a565b6001600160a01b0316815260208101919091526040016000205491906127b8565b6124da565b5060015b9392505050565b6020546001600160a01b031681565b6012546001600160801b0380821691600160801b90041682565b6000610f5e610f30610e43565b60408051808201909152601d546001600160801b038082168352600160801b9091041660208201529061284f565b905090565b610f6b61241a565b6000546001600160a01b03908116911614610fbb576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b601f80546001600160a01b0319166001600160a01b038381169190911791829055610fe891166001611655565b601f54610fff906001600160a01b031660016115d6565b601f54611014906001600160a01b0316611c32565b601f60009054906101000a90046001600160a01b03166001600160a01b03166349bd5a5e6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561106457600080fd5b505af1158015611078573d6000803e3d6000fd5b505050506040513d602081101561108e57600080fd5b5051601e80546001600160a01b0319166001600160a01b0392831617908190556110ba91166001611b70565b50565b60006007548211156111005760405162461bcd60e51b81526004018080602001828103825260388152602001806132a16038913960400191505060405180910390fd5b600061110a612888565b905061111683826121f1565b9150505b919050565b6b08eb04bbcd9161efc800000081565b601290565b60606017600001805480602002602001604051908101604052809291908181526020018280548015610c9457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611171575050505050905090565b6000610cb36111a561241a565b84610eea85600360006111b661241a565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612480565b6000610cb76015836128ab565b60006111fd610e43565b6b08eb04bbcd9161efc800000003905090565b600061122361121d61241a565b836128cc565b506001919050565b600060065483111561126e5760405162461bcd60e51b815260040180806020018281038252602d815260200180613385602d913960400191505060405180910390fd5b600061127861241a565b90508261129e57600061128d8260008761241e565b50949750610cb79650505050505050565b60006112ac8260008761241e565b50939750610cb79650505050505050565b601e546001600160a01b031681565b6112d461241a565b6000546001600160a01b03908116911614611324576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b61132e8282612107565b8051601380546020938401516001600160801b03199091166001600160801b03938416178316600160801b918416820217918290556040805180820182526014548086168252839004851681870152815180830190925283851682529190920490921692810192909252610d9391906125c6565b6113aa61241a565b6000546001600160a01b039081169116146113fa576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b6114048282612107565b8051601d80546020909301516001600160801b03908116600160801b029281166001600160801b0319909416939093179092161790555050565b6014546001600160801b0380821691600160801b90041682565b6000610cb76019836128ab565b601c6020526000908152604090205481565b6011546001600160801b0380821691600160801b90041682565b6000610cb76017836128ab565b6001600160a01b03811660009081526004602052604081205460ff16156114de57506001600160a01b03811660009081526002602052604090205461111a565b6001600160a01b038216600090815260016020526040902054610cb7906110bd565b61150861241a565b6000546001600160a01b03908116911614611558576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6013546001600160801b0380821691600160801b90041682565b6010546001600160801b0380821691600160801b90041682565b6115de61241a565b6000546001600160a01b0390811691161461162e576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b80156116455761163f601983612233565b50610ddc565b6116506019836122a3565b505050565b61165d61241a565b6000546001600160a01b039081169116146116ad576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b80156116be5761163f601783612233565b6116506017836122a3565b6000546001600160a01b031690565b6116e061241a565b6000546001600160a01b03908116911614611730576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b602080546001600160a01b0319166001600160a01b0383161790556021546110ba5761175a612a12565b60215550565b600a8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c945780601f10610c6957610100808354040283529160200191610c94565b60606005805480602002602001604051908101604052809291908181526020018280548015610c94576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311611171575050505050905090565b6000610cb361182e61241a565b84610eea856040518060600160405280602c8152602001613436602c91396003600061185861241a565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906127b8565b6000610cb361189661241a565b848461260c565b601b6020526000908152604090205481565b6118b761241a565b6000546001600160a01b03908116911614611907576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b6119118282612107565b8051601180546020938401516001600160801b03199091166001600160801b03938416178316600160801b918416820217918290556040805180820182526012548086168252839004851681870152815180830190925283851682529190920490921692810192909252610d9391906125c6565b61198d61241a565b6000546001600160a01b039081169116146119dd576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b6119e78282612107565b8051600f80546020938401516001600160801b03199091166001600160801b03938416178316600160801b918416820217918290556040805180820182526010548086168252839004851681870152815180830190925283851682529190920490921692810192909252610d9391906125c6565b600d546001600160801b0380821691600160801b90041682565b601d546001600160801b0380821691600160801b90041682565b6001600160a01b031660009081526004602052604090205460ff1690565b601f546001600160a01b031681565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b600c54610100900460ff1681565b611afd61241a565b6000546001600160a01b03908116911614611b4d576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b600c805482919061ff001916610100836001811115611b6857fe5b021790555050565b611b7861241a565b6000546001600160a01b03908116911614611bc8576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b8015611bf557611bd9601583612233565b50611be382611a8f565b611bf057611bf082611c32565b610ddc565b611c006015836122a3565b50611c0a82611a8f565b15610ddc57610ddc82611e9a565b600f546001600160801b0380821691600160801b90041682565b611c3a61241a565b6000546001600160a01b03908116911614611c8a576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff1615611ce25760405162461bcd60e51b815260040180806020018281038252602981526020018061335c6029913960400191505060405180910390fd5b6001600160a01b03811660009081526001602052604090205415611d3c576001600160a01b038116600090815260016020526040902054611d22906110bd565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600460205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319169091179055565b611daa61241a565b6000546001600160a01b03908116911614611dfa576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b6001600160a01b038116611e3f5760405162461bcd60e51b81526004018080602001828103825260268152602001806132d96026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611ea261241a565b6000546001600160a01b03908116911614611ef2576040805162461bcd60e51b8152602060048201819052602482015260008051602061348c833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff16611f495760405162461bcd60e51b81526004018080602001828103825260298152602001806134ac6029913960400191505060405180910390fd5b60005b600554811015610ddc57816001600160a01b031660058281548110611f6d57fe5b6000918252602090912001546001600160a01b0316141561203957600580546000198101908110611f9a57fe5b600091825260209091200154600580546001600160a01b039092169183908110611fc057fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600490925220805460ff19169055600580548061201257fe5b600082815260209020810160001990810180546001600160a01b0319169055019055610ddc565b600101611f4c565b60606019600001805480602002602001604051908101604052809291908181526020018280548015610c94576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311611171575050505050905090565b60606015600001805480602002602001604051908101604052809291908181526020018280548015610c94576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311611171575050505050905090565b61210f613289565b816001600160801b0316836001600160801b03161115612176576040805162461bcd60e51b815260206004820152601b60248201527f50657263656e743a20696e76616c69642070657263656e746167650000000000604482015290519081900360640190fd5b50604080518082019091526001600160801b0392831681529116602082015290565b6000826121a757506000610cb7565b828202828482816121b457fe5b0414610ef35760405162461bcd60e51b81526004018080602001828103825260218152602001806133e96021913960400191505060405180910390fd5b6000610ef383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612ab2565b6001600160a01b03811660009081526001830160205260408120541561225b57506000610cb7565b508154600180820184556000848152602080822090930180546001600160a01b0319166001600160a01b03959095169485179055845493815293810190915260409092205590565b6001600160a01b03811660009081526001830160205260408120546122ca57506000610cb7565b6001600160a01b0382166000908152600184016020819052604082205485549092600019820192849290919088908590811061230257fe5b60009182526020808320909101546001600160a01b03908116845283820194909452604092830182209490945591871682526001880190925290812055845485908290811061234d57fe5b60009182526020909120015485546001600160a01b03909116908690600019850190811061237757fe5b600091825260209091200180546001600160a01b0319166001600160a01b039290921691909117905584548590806123ab57fe5b600082815260209020600019908201810180546001600160a01b0319169055019055506001949350505050565b6000610ef383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506127b8565b3390565b6000806000806000806000806000806124388d8d8d612b17565b92509250925060008060008061244f8f8787612b5f565b9350935093509350838383838a8a8a9d509d509d509d509d509d509d50505050505050509397509397509397909450565b600082820183811015610ef3576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b03831661251f5760405162461bcd60e51b815260040180806020018281038252602b815260200180613331602b913960400191505060405180910390fd5b6001600160a01b0382166125645760405162461bcd60e51b81526004018080602001828103825260298152602001806134d56029913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b602082015181516000916125e6916001600160801b039081169116612198565b60208301518451612603916001600160801b039182169116612198565b11159392505050565b61261583611458565b1580156126265750612626826111e6565b156126ce576001600160a01b0383166000908152601c6020526040812054610258906126539042906123d8565b1115612679576001600160a01b0384166000908152601c60205260409020429055612694565b506001600160a01b0383166000908152601b60205260409020545b61269e8183612480565b90506126a8610f23565b8111156126b457600080fd5b6001600160a01b0384166000908152601b60205260409020555b6020546001600160a01b03161561274e576020805460408051630c88b75360e01b815290516001600160a01b0390921692630c88b753926004808401938290030181600087803b15801561272157600080fd5b505af1158015612735573d6000803e3d6000fd5b505050506040513d602081101561274b57600080fd5b50505b60006127593061149e565b600b549091508082108015906127725750600c5460ff16155b801561278c5750601e546001600160a01b03868116911614155b156127a6578082111561279d578091505b6127a682612bbf565b6127b1858585612d31565b5050505050565b600081848411156128475760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561280c5781810151838201526020016127f4565b50505050905090810190601f1680156128395780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000610ef383602001516001600160801b031661288285600001516001600160801b03168561219890919063ffffffff16565b906121f1565b6000806000612895612fc4565b90925090506128a482826121f1565b9250505090565b6001600160a01b031660009081526001919091016020526040902054151590565b60006128e06128d9612888565b8390612198565b905061291f816040518060600160405280603281526020016132ff603291396001600160a01b03861660009081526001602052604090205491906127b8565b6001600160a01b03841660009081526001602090815260408083209390935560049052205460ff16156129a357612989826040518060600160405280603281526020016132ff603291396001600160a01b03861660009081526002602052604090205491906127b8565b6001600160a01b0384166000908152600260205260409020555b6007546129b090826123d8565b6007556006546129c090836123d8565b60065560006129cd61241a565b6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3505050565b6020546000906001600160a01b0316612a2d57506000610c9c565b6020805460408051633ddac95360e01b8152306004820152670de0b6b3a7640000602482015290516001600160a01b0390921692633ddac95392604480840193829003018186803b158015612a8157600080fd5b505afa158015612a95573d6000803e3d6000fd5b505050506040513d6020811015612aab57600080fd5b5051905090565b60008183612b015760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561280c5781810151838201526020016127f4565b506000838581612b0d57fe5b0495945050505050565b600080600080612b288787876130a1565b90506000612b37888888613106565b90506000612b4f82612b4989866123d8565b906123d8565b9992985090965090945050505050565b6000806000806000612b6f612888565b90506000612b7d8983612198565b90506000612b8b8984612198565b90506000612b998985612198565b90506000612bab82612b4986866123d8565b939c939b5091995097509095505050505050565b600c805460ff19166001179055601f54612be49030906001600160a01b03168361260c565b6000600c54610100900460ff166001811115612bfc57fe5b1415612c6c57601f546040805163173865ad60e01b81526004810184905290516001600160a01b039092169163173865ad9160248082019260009290919082900301818387803b158015612c4f57600080fd5b505af1158015612c63573d6000803e3d6000fd5b50505050612d24565b6001600c54610100900460ff166001811115612c8457fe5b1415612cd757601f546040805163255f796d60e21b81526004810184905290516001600160a01b039092169163957de5b49160248082019260009290919082900301818387803b158015612c4f57600080fd5b6040805162461bcd60e51b815260206004820152601f60248201527f4c6564676974793a20696e76616c69642066656544657374696e6174696f6e00604482015290519081900360640190fd5b50600c805460ff19169055565b6001600160a01b038316612d765760405162461bcd60e51b815260040180806020018281038252602c81526020018061340a602c913960400191505060405180910390fd5b6001600160a01b038216612dbb5760405162461bcd60e51b815260040180806020018281038252602a815260200180613462602a913960400191505060405180910390fd5b60008111612dfa5760405162461bcd60e51b81526004018080602001828103825260378152602001806133b26037913960400191505060405180910390fd5b6000806000806000806000612e108a8a8a61241e565b9650965096509650965096509650612e5687600160008d6001600160a01b03166001600160a01b03168152602001908152602001600020546123d890919063ffffffff16565b6001600160a01b038b1660009081526001602090815260408083209390935560049052205460ff1615612ec0576001600160a01b038a16600090815260026020526040902054612ea690896123d8565b6001600160a01b038b166000908152600260205260409020555b6001600160a01b038916600090815260016020526040902054612ee39087612480565b6001600160a01b038a1660009081526001602090815260408083209390935560049052205460ff1615612f4d576001600160a01b038916600090815260026020526040902054612f339084612480565b6001600160a01b038a166000908152600260205260409020555b8115612f5d57612f5d85836131f9565b8015612f6d57612f6d848261321d565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a350505050505050505050565b60075460065460055460009283929091835b8181101561306d57600060058281548110612fed57fe5b60009182526020808320909101546001600160a01b031680835260018252604080842054600290935290922054919250908682118061302b57508581115b1561304657600754600654985098505050505050505061309d565b61305087836123d8565b965061305c86826123d8565b95505060019092019150612fd69050565b5060065460075461307d916121f1565b831015613096576007546006549450945050505061309d565b5090925090505b9091565b60006130ac836111e6565b80156130be57506130bc84611491565b155b156130fc57604080518082019091526011546001600160801b038082168352600160801b9091041660208201526130f5908361284f565b9050610ef3565b5060009392505050565b6000613111846111e6565b8015613123575061312183611491565b155b1561315a57604080518082019091526013546001600160801b038082168352600160801b9091041660208201526130f5908361284f565b613163836111e6565b8015613175575061317384611491565b155b156130fc5760215461318890600a612198565b613190612a12565b106131c75760408051808201909152600d546001600160801b038082168352600160801b9091041660208201526130f5908361284f565b60408051808201909152600f546001600160801b038082168352600160801b9091041660208201526130f5908361284f565b60075461320690836123d8565b6007556008546132169082612480565b6008555050565b306000908152600160205260409020546132379083612480565b3060009081526001602090815260408083209390935560049052205460ff1615610ddc57306000908152600260205260409020546132759082612480565b306000908152600260205260409020555050565b60408051808201909152600080825260208201529056fe5265666c656374546f6b656e3a20616d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735265666c656374546f6b656e3a206275726e20616d6f756e74206973206d6f7265207468616e207468652062616c616e63655265666c656374546f6b656e3a20617070726f76652066726f6d20746865207a65726f20616464726573735265666c656374546f6b656e3a206163636f756e7420697320616c7265616479206578636c756465645265666c656374546f6b656e3a20616d6f756e74206d757374206265206c657373207468616e20737570706c795265666c656374546f6b656e3a207472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775265666c656374546f6b656e3a207472616e736665722066726f6d20746865207a65726f20616464726573735265666c656374546f6b656e3a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5265666c656374546f6b656e3a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725265666c656374546f6b656e3a206163636f756e7420697320616c726561647920696e636c756465645265666c656374546f6b656e3a20617070726f766520746f20746865207a65726f20616464726573735265666c656374546f6b656e3a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655265666c656374546f6b656e3a206578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6ea26469706673582212203d69f3df6d2ea7de3f786a34df6f9df0f80f8984997fec4454e98ad67c4bac1f64736f6c634300060c0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.