Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000 LQS
Holders
166
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
5,624,105.72987743960563237 LQSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LqsToken
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// LINKTREE: https://linktr.ee/liqshare.io // LANDING: liqshare.io // X: https://twitter.com/liqshare // MEDIUM: https://medium.com/@liqshare.io // TELEGRAM: https://t.me/liqshareio pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "./LqsDividendTracker.sol"; import "./interfaces/IStaking.sol"; contract LqsToken is ERC20, Ownable { IUniswapRouter public router; address public pair; address public devWallet; IStaking public stakingPool; LqsDividendTracker public dividendTracker; bool private swapping; bool public swapEnabled = true; bool public claimEnabled; bool public tradingEnabled; uint256 public swapTokensAtAmount; uint256 public maxBuyAmount; uint256 public maxSellAmount; uint256 public maxWallet; struct Taxes { uint256 liquidity; uint256 dev; uint256 stakingPool; } Taxes public buyTaxes = Taxes(3, 2, 1); Taxes public sellTaxes = Taxes(3, 2, 1); uint256 public totalBuyTax = 6; uint256 public totalSellTax = 6; mapping(address => bool) public _isBot; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedFromMaxWallet; mapping(address => bool) public _automatedMarketMakerPairs; event SendDividends(uint256 tokensSwapped, uint256 amount); event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event GasForProcessingUpdated( uint256 indexed newValue, uint256 indexed oldValue ); event ProcessedDividendTracker( uint256 iterations, uint256 claims, uint256 lastProcessedIndex, bool indexed automatic, uint256 gas, address indexed processor ); constructor( address _devWallet, address _routerAddress, address _stakingPool ) ERC20("LIQShare", "LQS") { dividendTracker = new LqsDividendTracker(); setDevWallet(_devWallet); IUniswapRouter _router = IUniswapRouter(_routerAddress); address _pair = IFactory(_router.factory()).createPair( address(this), _router.WETH() ); router = _router; pair = _pair; setSwapTokensAtAmount(300_000); updateMaxWalletAmount(2_000_000); setMaxBuyAndSell(2_000_000, 2_000_000); _setAutomatedMarketMakerPair(_pair, true); stakingPool = IStaking(_stakingPool); stakingPool.init(address(this), _pair); dividendTracker.updateLP_Token(_pair); dividendTracker.excludeFromDividends(address(dividendTracker), true); dividendTracker.excludeFromDividends(_stakingPool, true); dividendTracker.excludeFromDividends(address(this), true); dividendTracker.excludeFromDividends(owner(), true); dividendTracker.excludeFromDividends(address(0xdead), true); dividendTracker.excludeFromDividends(address(_router), true); excludeFromMaxWallet(address(_pair), true); excludeFromMaxWallet(address(this), true); excludeFromMaxWallet(address(_router), true); excludeFromMaxWallet(_stakingPool, true); excludeFromFees(owner(), true); excludeFromFees(_devWallet, true); excludeFromFees(address(this), true); excludeFromFees(_stakingPool, true); _mint(owner(), 100_000_000 * (10 ** 18)); } receive() external payable {} function updateDividendTracker(address newAddress) public onlyOwner { LqsDividendTracker newDividendTracker = LqsDividendTracker( payable(newAddress) ); newDividendTracker.excludeFromDividends( address(newDividendTracker), true ); newDividendTracker.excludeFromDividends(address(this), true); newDividendTracker.excludeFromDividends(owner(), true); newDividendTracker.excludeFromDividends(address(router), true); dividendTracker = newDividendTracker; } /// @notice Manual claim the dividends function claim() external { require(claimEnabled, "Claim not enabled"); dividendTracker.processAccount(payable(msg.sender)); } function updateMaxWalletAmount(uint256 newNum) public onlyOwner { require(newNum >= 1_000_000, "Cannot set maxWallet lower than 1%"); maxWallet = newNum * 10 ** 18; } function setMaxBuyAndSell( uint256 maxBuy, uint256 maxSell ) public onlyOwner { require(maxBuy >= 1_000_000, "Cannot set maxbuy lower than 1% "); require(maxSell >= 500_000, "Cannot set maxsell lower than 0.5% "); maxBuyAmount = maxBuy * 10 ** 18; maxSellAmount = maxSell * 10 ** 18; } function setSwapTokensAtAmount(uint256 amount) public onlyOwner { swapTokensAtAmount = amount * 10 ** 18; } function excludeFromMaxWallet( address account, bool excluded ) public onlyOwner { _isExcludedFromMaxWallet[account] = excluded; } /// @notice Withdraw tokens sent by mistake. /// @param tokenAddress The address of the token to withdraw function rescueETH20Tokens(address tokenAddress) external onlyOwner { IERC20(tokenAddress).transfer( owner(), IERC20(tokenAddress).balanceOf(address(this)) ); } /// @notice Send remaining ETH to dev /// @dev It will send all ETH to dev function forceSend() external onlyOwner { uint256 ETHbalance = address(this).balance; (bool success, ) = payable(devWallet).call{value: ETHbalance}(""); require(success); } function trackerRescueETH20Tokens(address tokenAddress) external onlyOwner { dividendTracker.trackerRescueETH20Tokens(msg.sender, tokenAddress); } function updateRouter(address newRouter) external onlyOwner { router = IUniswapRouter(newRouter); } function excludeFromFees(address account, bool excluded) public onlyOwner { require( _isExcludedFromFees[account] != excluded, "Account is already the value of 'excluded'" ); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } /// @dev "true" to exlcude, "false" to include function excludeFromDividends( address account, bool value ) public onlyOwner { dividendTracker.excludeFromDividends(account, value); } function setDevWallet(address newWallet) public onlyOwner { devWallet = newWallet; } function setBuyTaxes( uint256 _liquidity, uint256 _dev, uint256 _staking ) external onlyOwner { require(_liquidity + _dev + _staking <= 20, "Fee must be <= 20%"); buyTaxes = Taxes(_liquidity, _dev, _staking); totalBuyTax = _liquidity + _dev + _staking; } function setSellTaxes( uint256 _liquidity, uint256 _dev, uint256 _staking ) external onlyOwner { require(_liquidity + _dev + _staking <= 20, "Fee must be <= 20%"); sellTaxes = Taxes(_liquidity, _dev, _staking); totalSellTax = _liquidity + _dev + _staking; } /// @notice Enable or disable internal swaps /// @dev Set "true" to enable internal swaps for liquidity, treasury and dividends function setSwapEnabled(bool _enabled) external onlyOwner { swapEnabled = _enabled; } function activateTrading() external onlyOwner { require(!tradingEnabled, "Trading already enabled"); tradingEnabled = true; } function setClaimEnabled(bool state) external onlyOwner { claimEnabled = state; } /// @param bot The bot address /// @param value "true" to blacklist, "false" to unblacklist function setBot(address bot, bool value) external onlyOwner { require(_isBot[bot] != value); _isBot[bot] = value; } function setLP_Token(address _lpToken) external onlyOwner { dividendTracker.updateLP_Token(_lpToken); } /// @dev Set new pairs created due to listing in new DEX function setAutomatedMarketMakerPair( address newPair, bool value ) external onlyOwner { _setAutomatedMarketMakerPair(newPair, value); } function _setAutomatedMarketMakerPair(address newPair, bool value) private { require( _automatedMarketMakerPairs[newPair] != value, "Automated market maker pair is already set to that value" ); _automatedMarketMakerPairs[newPair] = value; if (value) { dividendTracker.excludeFromDividends(newPair, true); } emit SetAutomatedMarketMakerPair(newPair, value); } function getTotalDividendsDistributed() external view returns (uint256) { return dividendTracker.totalDividendsDistributed(); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function withdrawableDividendOf( address account ) public view returns (uint256) { return dividendTracker.withdrawableDividendOf(account); } function dividendTokenBalanceOf( address account ) public view returns (uint256) { return dividendTracker.balanceOf(account); } function getAccountInfo( address account ) external view returns (address, uint256, uint256, uint256, uint256) { return dividendTracker.getAccount(account); } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if ( !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && !swapping ) { require(tradingEnabled, "Trading not active"); if (_automatedMarketMakerPairs[to]) { require( amount <= maxSellAmount, "You are exceeding maxSellAmount" ); } else if (_automatedMarketMakerPairs[from]) require( amount <= maxBuyAmount, "You are exceeding maxBuyAmount" ); if (!_isExcludedFromMaxWallet[to]) { require( amount + balanceOf(to) <= maxWallet, "Unable to exceed Max Wallet" ); } } if (amount == 0) { super._transfer(from, to, 0); return; } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && !swapping && swapEnabled && _automatedMarketMakerPairs[to] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; if (totalSellTax > 0) { swapAndLiquify(swapTokensAtAmount); } swapping = false; } bool takeFee = !swapping; // If any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if ( !_automatedMarketMakerPairs[to] && !_automatedMarketMakerPairs[from] ) takeFee = false; if (takeFee) { uint256 feeAmt; if (_automatedMarketMakerPairs[to]) feeAmt = (amount * totalSellTax) / 100; else if (_automatedMarketMakerPairs[from]) feeAmt = (amount * totalBuyTax) / 100; amount = amount - feeAmt; super._transfer(from, address(this), feeAmt); } super._transfer(from, to, amount); try dividendTracker.setBalance(from, balanceOf(from)) {} catch {} try dividendTracker.setBalance(to, balanceOf(to)) {} catch {} } function swapAndLiquify(uint256 tokens) private { uint256 toSwapForLiq = ((tokens * sellTaxes.liquidity) / totalSellTax) / 2; uint256 tokensToAddLiquidityWith = ((tokens * sellTaxes.liquidity) / totalSellTax) / 2; uint256 toSwapForDev = (tokens * sellTaxes.dev) / totalSellTax; uint256 toStakingPool = (tokens * sellTaxes.stakingPool) / totalSellTax; super._transfer(address(this), address(stakingPool), toStakingPool); try stakingPool.updateReward(toStakingPool) {} catch {} swapTokensForETH(toSwapForLiq); uint256 currentbalance = address(this).balance; if (currentbalance > 0) { // Add liquidity to uni addLiquidity(tokensToAddLiquidityWith, currentbalance); } swapTokensForETH(toSwapForDev); uint256 EthTaxBalance = address(this).balance; // Send ETH to dev uint256 devAmt = EthTaxBalance; if (devAmt > 0) { (bool success, ) = payable(devWallet).call{value: devAmt}(""); require(success, "Failed to send ETH to dev wallet"); } uint256 lpBalance = IERC20(pair).balanceOf(address(this)); //Send LP to dividends uint256 dividends = lpBalance; if (dividends > 0) { bool success = IERC20(pair).transfer( address(dividendTracker), dividends ); if (success) { dividendTracker.distributeLPDividends(dividends); emit SendDividends(tokens, dividends); } } } function manualLiquidityDistribution(uint256 amount) public onlyOwner { bool success = IERC20(pair).transferFrom( msg.sender, address(dividendTracker), amount ); if (success) { dividendTracker.distributeLPDividends(amount); } } function swapTokensForETH(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); _approve(address(this), address(router), tokenAmount); // Make the swap router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // Accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // Approve token transfer to cover all possible scenarios _approve(address(this), address(router), tokenAmount); // Add the liquidity router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // Slippage is unavoidable 0, // Slippage is unavoidable address(this), block.timestamp ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol) pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "./SafeMath.sol"; import "./interfaces/IDividendPayingToken.sol"; interface IPair { function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function token0() external view returns (address); } interface IFactory { function createPair( address tokenA, address tokenB ) external returns (address pair); function getPair( address tokenA, address tokenB ) external view returns (address pair); } interface IUniswapRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract DividendPayingToken is ERC20, DividendPayingTokenInterface, Ownable { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; address public LP_Token; // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small. // For more discussion about choosing the value of `magnitude`, // see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728 uint256 internal constant magnitude = 2 ** 128; uint256 internal magnifiedDividendPerShare; // About dividendCorrection: // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with: // `dividendOf(_user) = dividendPerShare * balanceOf(_user)`. // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens), // `dividendOf(_user)` should not be changed, // but the computed value of `dividendPerShare * balanceOf(_user)` is changed. // To keep the `dividendOf(_user)` unchanged, we add a correction term: // `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`, // where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed: // `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`. // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed. mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; uint256 public totalDividendsDistributed; uint256 public totalDividendsWithdrawn; constructor( string memory _name, string memory _symbol ) ERC20(_name, _symbol) {} function distributeLPDividends(uint256 amount) public onlyOwner { require(totalSupply() > 0); if (amount > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (amount).mul(magnitude) / totalSupply() ); emit DividendsDistributed(msg.sender, amount); totalDividendsDistributed = totalDividendsDistributed.add(amount); } } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function withdrawDividend() public virtual override { _withdrawDividendOfUser(payable(msg.sender)); } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function _withdrawDividendOfUser( address payable user ) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user].add( _withdrawableDividend ); totalDividendsWithdrawn += _withdrawableDividend; emit DividendWithdrawn(user, _withdrawableDividend); bool success = IERC20(LP_Token).transfer( user, _withdrawableDividend ); if (!success) { withdrawnDividends[user] = withdrawnDividends[user].sub( _withdrawableDividend ); totalDividendsWithdrawn -= _withdrawableDividend; return 0; } return _withdrawableDividend; } return 0; } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) public view override returns (uint256) { return withdrawableDividendOf(_owner); } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf( address _owner ) public view override returns (uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf( address _owner ) public view override returns (uint256) { return withdrawnDividends[_owner]; } /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf( address _owner ) public view override returns (uint256) { return magnifiedDividendPerShare .mul(balanceOf(_owner)) .toInt256Safe() .add(magnifiedDividendCorrections[_owner]) .toUint256Safe() / magnitude; } /// @dev Internal function that transfer tokens from one address to another. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param from The address to transfer from. /// @param to The address to transfer to. /// @param value The amount to be transferred. function _transfer( address from, address to, uint256 value ) internal virtual override { int256 _magCorrection = magnifiedDividendPerShare .mul(value) .toInt256Safe(); magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from] .add(_magCorrection); magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub( _magCorrection ); } /// @dev Internal function that mints tokens to an account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account that will receive the created tokens. /// @param value The amount that will be created. function _mint(address account, uint256 value) internal override { super._mint(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[ account ].sub((magnifiedDividendPerShare.mul(value)).toInt256Safe()); } /// @dev Internal function that burns an amount of the token of a given account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account whose tokens will be burnt. /// @param value The amount that will be burnt. function _burn(address account, uint256 value) internal override { super._burn(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[ account ].add((magnifiedDividendPerShare.mul(value)).toInt256Safe()); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = balanceOf(account); if (newBalance > currentBalance) { uint256 mintAmount = newBalance.sub(currentBalance); _mint(account, mintAmount); } else if (newBalance < currentBalance) { uint256 burnAmount = currentBalance.sub(newBalance); _burn(account, burnAmount); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; interface DividendPayingTokenInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) external view returns (uint256); /// @notice Withdraws the ether distributed to the sender. /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer. /// MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0. function withdrawDividend() external; /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf( address _owner ) external view returns (uint256); /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf( address _owner ) external view returns (uint256); /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf( address _owner ) external view returns (uint256); /// @dev This event MUST emit when ether is distributed to token holders. /// @param from The address which sends ether to this contract. /// @param weiAmount The amount of distributed ether in wei. event DividendsDistributed(address indexed from, uint256 weiAmount); /// @dev This event MUST emit when an address withdraws their dividend. /// @param to The address which withdraws ether from this contract. /// @param weiAmount The amount of withdrawn ether in wei. event DividendWithdrawn(address indexed to, uint256 weiAmount); }
pragma solidity ^0.8.0; interface IStaking { function updateReward(uint256 _amount) external; function init(address _rewardToken, address _stakingToken) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "./DividendPayingToken.sol"; contract LqsDividendTracker is Ownable, DividendPayingToken { struct AccountInfo { address account; uint256 withdrawableDividends; uint256 totalDividends; uint256 lastClaimTime; } mapping(address => bool) public excludedFromDividends; mapping(address => uint256) public lastClaimTimes; event ExcludeFromDividends(address indexed account, bool value); event Claim(address indexed account, uint256 amount); constructor() DividendPayingToken("Lqs_Dividend_Tracker", "Lqs_Dividend_Tracker") {} function trackerRescueETH20Tokens( address recipient, address tokenAddress ) external onlyOwner { IERC20(tokenAddress).transfer( recipient, IERC20(tokenAddress).balanceOf(address(this)) ); } function updateLP_Token(address _lpToken) external onlyOwner { LP_Token = _lpToken; } function _transfer(address, address, uint256) internal pure override { require(false, "Lqs_Dividend_Tracker: Transfer not allowed"); } function excludeFromDividends( address account, bool value ) external onlyOwner { require(excludedFromDividends[account] != value); excludedFromDividends[account] = value; if (value == true) { _setBalance(account, 0); } else { _setBalance(account, balanceOf(account)); } emit ExcludeFromDividends(account, value); } function getAccount( address account ) public view returns (address, uint256, uint256, uint256, uint256) { AccountInfo memory info; info.account = account; info.withdrawableDividends = withdrawableDividendOf(account); info.totalDividends = accumulativeDividendOf(account); info.lastClaimTime = lastClaimTimes[account]; return ( info.account, info.withdrawableDividends, info.totalDividends, info.lastClaimTime, totalDividendsWithdrawn ); } function setBalance( address account, uint256 newBalance ) external onlyOwner { if (excludedFromDividends[account]) { return; } _setBalance(account, newBalance); } function processAccount( address payable account ) external onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if (amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount); return true; } return false; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; 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; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @title SafeMathInt * @dev Math operations for int256 with overflow safety checks. */ library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } /** * @title SafeMathUint * @dev Math operations with safety checks that revert on error */ library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_devWallet","type":"address"},{"internalType":"address","name":"_routerAddress","type":"address"},{"internalType":"address","name":"_stakingPool","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"","type":"address"}],"name":"_automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activateTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTaxes","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"dev","type":"uint256"},{"internalType":"uint256","name":"stakingPool","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract LqsDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"manualLiquidityDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"rescueETH20Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTaxes","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"dev","type":"uint256"},{"internalType":"uint256","name":"stakingPool","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"bot","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidity","type":"uint256"},{"internalType":"uint256","name":"_dev","type":"uint256"},{"internalType":"uint256","name":"_staking","type":"uint256"}],"name":"setBuyTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setClaimEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lpToken","type":"address"}],"name":"setLP_Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxBuy","type":"uint256"},{"internalType":"uint256","name":"maxSell","type":"uint256"}],"name":"setMaxBuyAndSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidity","type":"uint256"},{"internalType":"uint256","name":"_dev","type":"uint256"},{"internalType":"uint256","name":"_staking","type":"uint256"}],"name":"setSellTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingPool","outputs":[{"internalType":"contract IStaking","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellTax","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":"tokenAddress","type":"address"}],"name":"trackerRescueETH20Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"updateRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
600a805460ff60a81b1916600160a81b17905560036080819052600260a0819052600160c0819052600f8390556010829055601181905561014060405260e0839052610100829052610120819052601292909255601355601455600660158190556016553480156200007057600080fd5b506040516200581038038062005810833981016040819052620000939162000de2565b604051806040016040528060088152602001674c4951536861726560c01b815250604051806040016040528060038152602001624c515360e81b8152508160039080519060200190620000e892919062000d11565b508051620000fe90600490602084019062000d11565b5050506200011b620001156200074560201b60201c565b62000749565b604051620001299062000da0565b604051809103906000f08015801562000146573d6000803e3d6000fd5b50600a80546001600160a01b0319166001600160a01b039290921691909117905562000172836200079b565b60008290506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001b8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001de919062000e2c565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200022c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000252919062000e2c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c6919062000e2c565b600680546001600160a01b038086166001600160a01b0319928316179092556007805492841692909116919091179055905062000306620493e0620007c7565b62000314621e8480620007eb565b62000323621e84808062000873565b6200033081600162000965565b600980546001600160a01b0319166001600160a01b0385811691821790925560405163784d200b60e11b815230600482015291831660248301529063f09a401690604401600060405180830381600087803b1580156200038f57600080fd5b505af1158015620003a4573d6000803e3d6000fd5b5050600a5460405163225b5ecf60e11b81526001600160a01b03858116600483015290911692506344b6bd9e9150602401600060405180830381600087803b158015620003f057600080fd5b505af115801562000405573d6000803e3d6000fd5b5050600a5460405162241fbd60e51b81526001600160a01b0390911660048201819052600160248301529250630483f7a09150604401600060405180830381600087803b1580156200045657600080fd5b505af11580156200046b573d6000803e3d6000fd5b5050600a5460405162241fbd60e51b81526001600160a01b038781166004830152600160248301529091169250630483f7a09150604401600060405180830381600087803b158015620004bd57600080fd5b505af1158015620004d2573d6000803e3d6000fd5b5050600a5460405162241fbd60e51b8152306004820152600160248201526001600160a01b039091169250630483f7a09150604401600060405180830381600087803b1580156200052257600080fd5b505af115801562000537573d6000803e3d6000fd5b5050600a546001600160a01b03169150630483f7a09050620005616005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b158015620005aa57600080fd5b505af1158015620005bf573d6000803e3d6000fd5b5050600a5460405162241fbd60e51b815261dead6004820152600160248201526001600160a01b039091169250630483f7a09150604401600060405180830381600087803b1580156200061157600080fd5b505af115801562000626573d6000803e3d6000fd5b5050600a5460405162241fbd60e51b81526001600160a01b038681166004830152600160248301529091169250630483f7a09150604401600060405180830381600087803b1580156200067857600080fd5b505af11580156200068d573d6000803e3d6000fd5b50505050620006a481600162000ace60201b60201c565b620006b130600162000ace565b620006be82600162000ace565b620006cb83600162000ace565b620006ea620006e26005546001600160a01b031690565b600162000b03565b620006f785600162000b03565b6200070430600162000b03565b6200071183600162000b03565b6200073a620007286005546001600160a01b031690565b6a52b7d2dcc80cd2e400000062000bf0565b505050505062000ee1565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620007a562000cb3565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b620007d162000cb3565b620007e581670de0b6b3a764000062000e67565b600b5550565b620007f562000cb3565b620f4240811015620008595760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b60648201526084015b60405180910390fd5b6200086d81670de0b6b3a764000062000e67565b600e5550565b6200087d62000cb3565b620f4240821015620008d25760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f7420736574206d6178627579206c6f776572207468616e20312520604482015260640162000850565b6207a120811015620009335760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f7420736574206d617873656c6c206c6f776572207468616e20302e60448201526201a92960ed1b606482015260840162000850565b6200094782670de0b6b3a764000062000e67565b600c556200095e81670de0b6b3a764000062000e67565b600d555050565b6001600160a01b0382166000908152601a602052604090205460ff1615158115151415620009fc5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c75650000000000000000606482015260840162000850565b6001600160a01b0382166000908152601a60205260409020805460ff1916821580159190911790915562000a9257600a5460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b15801562000a7857600080fd5b505af115801562000a8d573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b62000ad862000cb3565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b62000b0d62000cb3565b6001600160a01b03821660009081526018602052604090205460ff161515811515141562000b915760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b606482015260840162000850565b6001600160a01b038216600081815260186020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03821662000c485760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000850565b806002600082825462000c5c919062000e89565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b0316331462000d0f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000850565b565b82805462000d1f9062000ea4565b90600052602060002090601f01602090048101928262000d43576000855562000d8e565b82601f1062000d5e57805160ff191683800117855562000d8e565b8280016001018555821562000d8e579182015b8281111562000d8e57825182559160200191906001019062000d71565b5062000d9c92915062000dae565b5090565b6119d18062003e3f83390190565b5b8082111562000d9c576000815560010162000daf565b80516001600160a01b038116811462000ddd57600080fd5b919050565b60008060006060848603121562000df857600080fd5b62000e038462000dc5565b925062000e136020850162000dc5565b915062000e236040850162000dc5565b90509250925092565b60006020828403121562000e3f57600080fd5b62000e4a8262000dc5565b9392505050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161562000e845762000e8462000e51565b500290565b6000821982111562000e9f5762000e9f62000e51565b500190565b600181811c9082168062000eb957607f821691505b6020821081141562000edb57634e487b7160e01b600052602260045260246000fd5b50919050565b612f4e8062000ef16000396000f3fe6080604052600436106103905760003560e01c806379b447bd116101dc578063a9059cbb11610102578063d2fcc001116100a0578063f2fde38b1161006f578063f2fde38b14610ad4578063f66895a314610af4578063f887ea4014610b13578063f8b45b0514610b3357600080fd5b8063d2fcc00114610a5e578063dd62ed3e14610a7e578063e01af92c14610a9e578063e2f4560514610abe57600080fd5b8063afa4f3b2116100dc578063afa4f3b2146109de578063c0246668146109fe578063c18bc19514610a1e578063c851cc3214610a3e57600080fd5b8063a9059cbb1461095e578063a9b232d91461097e578063abb81052146109ae57600080fd5b80638ea5220f1161017a5780639a7a23d6116101495780639a7a23d6146108de578063a457c2d7146108fe578063a8aa1b311461091e578063a8b9d2401461093e57600080fd5b80638ea5220f1461086957806392929a091461088957806395d89b41146108a95780639a50a9e6146108be57600080fd5b806388bdd9be116101b657806388bdd9be146107f557806388e765ff146108155780638c9684f91461082b5780638da5cb5b1461084b57600080fd5b806379b447bd146107495780637b510fe814610769578063864701a5146107bb57600080fd5b80632c1f5216116102c15780634ada218b1161025f5780636843cd841161022e5780636843cd84146106bd5780636ddd1713146106dd57806370a08231146106fe578063715018a61461073457600080fd5b80634ada218b146106385780634e71d92d146106595780634fbee1931461066e57806366d602ae146106a757600080fd5b8063313ce5671161029b578063313ce567146105c6578063342aa8b5146105e2578063395093511461060257806346469afb1461062257600080fd5b80632c1f5216146105715780632e1ab9041461059157806330bb4cff146105b157600080fd5b806312b77e8a1161032e5780631bff7898116103085780631bff7898146104fa5780631f53ac021461051057806323b872dd146105305780632866ed211461055057600080fd5b806312b77e8a146104a657806318160ddd146104bb5780631870517a146104da57600080fd5b8063095ea7b31161036a578063095ea7b3146104095780630a78097d146104395780630bd05b69146104595780630c56ae3b1461046e57600080fd5b80630483f7a01461039c57806306fdde03146103be57806308733214146103e957600080fd5b3661039757005b600080fd5b3480156103a857600080fd5b506103bc6103b7366004612aad565b610b49565b005b3480156103ca57600080fd5b506103d3610bbc565b6040516103e09190612ae6565b60405180910390f35b3480156103f557600080fd5b506103bc610404366004612b3b565b610c4e565b34801561041557600080fd5b50610429610424366004612b67565b610cf9565b60405190151581526020016103e0565b34801561044557600080fd5b506103bc610454366004612b93565b610d11565b34801561046557600080fd5b506103bc610e15565b34801561047a57600080fd5b5060095461048e906001600160a01b031681565b6040516001600160a01b0390911681526020016103e0565b3480156104b257600080fd5b506103bc610e8c565b3480156104c757600080fd5b506002545b6040519081526020016103e0565b3480156104e657600080fd5b506103bc6104f5366004612b3b565b610ef8565b34801561050657600080fd5b506104cc60165481565b34801561051c57600080fd5b506103bc61052b366004612b93565b610f9e565b34801561053c57600080fd5b5061042961054b366004612bb7565b610fc8565b34801561055c57600080fd5b50600a5461042990600160b01b900460ff1681565b34801561057d57600080fd5b50600a5461048e906001600160a01b031681565b34801561059d57600080fd5b506103bc6105ac366004612b93565b610fec565b3480156105bd57600080fd5b506104cc611057565b3480156105d257600080fd5b50604051601281526020016103e0565b3480156105ee57600080fd5b506103bc6105fd366004612aad565b6110ca565b34801561060e57600080fd5b5061042961061d366004612b67565b611129565b34801561062e57600080fd5b506104cc60155481565b34801561064457600080fd5b50600a5461042990600160b81b900460ff1681565b34801561066557600080fd5b506103bc61114b565b34801561067a57600080fd5b50610429610689366004612b93565b6001600160a01b031660009081526018602052604090205460ff1690565b3480156106b357600080fd5b506104cc600d5481565b3480156106c957600080fd5b506104cc6106d8366004612b93565b611209565b3480156106e957600080fd5b50600a5461042990600160a81b900460ff1681565b34801561070a57600080fd5b506104cc610719366004612b93565b6001600160a01b031660009081526020819052604090205490565b34801561074057600080fd5b506103bc61127f565b34801561075557600080fd5b506103bc610764366004612bf8565b611293565b34801561077557600080fd5b50610789610784366004612b93565b61137b565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0016103e0565b3480156107c757600080fd5b50600f546010546011546107da92919083565b604080519384526020840192909252908201526060016103e0565b34801561080157600080fd5b506103bc610810366004612b93565b611405565b34801561082157600080fd5b506104cc600c5481565b34801561083757600080fd5b506103bc610846366004612b93565b6115d7565b34801561085757600080fd5b506005546001600160a01b031661048e565b34801561087557600080fd5b5060085461048e906001600160a01b031681565b34801561089557600080fd5b506103bc6108a4366004612c1a565b611617565b3480156108b557600080fd5b506103d361163d565b3480156108ca57600080fd5b506103bc6108d9366004612c37565b61164c565b3480156108ea57600080fd5b506103bc6108f9366004612aad565b611711565b34801561090a57600080fd5b50610429610919366004612b67565b611723565b34801561092a57600080fd5b5060075461048e906001600160a01b031681565b34801561094a57600080fd5b506104cc610959366004612b93565b61179e565b34801561096a57600080fd5b50610429610979366004612b67565b6117d1565b34801561098a57600080fd5b50610429610999366004612b93565b601a6020526000908152604090205460ff1681565b3480156109ba57600080fd5b506104296109c9366004612b93565b60176020526000908152604090205460ff1681565b3480156109ea57600080fd5b506103bc6109f9366004612c37565b6117df565b348015610a0a57600080fd5b506103bc610a19366004612aad565b6117ff565b348015610a2a57600080fd5b506103bc610a39366004612c37565b6118e8565b348015610a4a57600080fd5b506103bc610a59366004612b93565b611966565b348015610a6a57600080fd5b506103bc610a79366004612aad565b611990565b348015610a8a57600080fd5b506104cc610a99366004612c50565b6119c3565b348015610aaa57600080fd5b506103bc610ab9366004612c1a565b6119ee565b348015610aca57600080fd5b506104cc600b5481565b348015610ae057600080fd5b506103bc610aef366004612b93565b611a14565b348015610b0057600080fd5b506012546013546014546107da92919083565b348015610b1f57600080fd5b5060065461048e906001600160a01b031681565b348015610b3f57600080fd5b506104cc600e5481565b610b51611a8a565b600a5460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b158015610ba057600080fd5b505af1158015610bb4573d6000803e3d6000fd5b505050505050565b606060038054610bcb90612c7e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf790612c7e565b8015610c445780601f10610c1957610100808354040283529160200191610c44565b820191906000526020600020905b815481529060010190602001808311610c2757829003601f168201915b5050505050905090565b610c56611a8a565b601481610c638486612ccf565b610c6d9190612ccf565b1115610cb55760405162461bcd60e51b8152602060048201526012602482015271466565206d757374206265203c3d2032302560701b60448201526064015b60405180910390fd5b60408051606081018252848152602081018490520181905260128390556013829055601481905580610ce78385612ccf565b610cf19190612ccf565b601655505050565b600033610d07818585611ae4565b5060019392505050565b610d19611a8a565b806001600160a01b031663a9059cbb610d3a6005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da29190612ce7565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610ded573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e119190612d00565b5050565b610e1d611a8a565b600a54600160b81b900460ff1615610e775760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610cac565b600a805460ff60b81b1916600160b81b179055565b610e94611a8a565b60085460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610ee5576040519150601f19603f3d011682016040523d82523d6000602084013e610eea565b606091505b5050905080610e1157600080fd5b610f00611a8a565b601481610f0d8486612ccf565b610f179190612ccf565b1115610f5a5760405162461bcd60e51b8152602060048201526012602482015271466565206d757374206265203c3d2032302560701b6044820152606401610cac565b604080516060810182528481526020810184905201819052600f8390556010829055601181905580610f8c8385612ccf565b610f969190612ccf565b601555505050565b610fa6611a8a565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600033610fd6858285611c08565b610fe1858585611c82565b506001949350505050565b610ff4611a8a565b600a5460405163225b5ecf60e11b81526001600160a01b038381166004830152909116906344b6bd9e906024015b600060405180830381600087803b15801561103c57600080fd5b505af1158015611050573d6000803e3d6000fd5b5050505050565b600a54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa1580156110a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c59190612ce7565b905090565b6110d2611a8a565b6001600160a01b03821660009081526017602052604090205460ff16151581151514156110fe57600080fd5b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b600033610d0781858561113c83836119c3565b6111469190612ccf565b611ae4565b600a54600160b01b900460ff166111985760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b6044820152606401610cac565b600a5460405163807ab4f760e01b81523360048201526001600160a01b039091169063807ab4f7906024016020604051808303816000875af11580156111e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112069190612d00565b50565b600a546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa158015611255573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112799190612ce7565b92915050565b611287611a8a565b611291600061225e565b565b61129b611a8a565b620f42408210156112ee5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f7420736574206d6178627579206c6f776572207468616e203125206044820152606401610cac565b6207a12081101561134d5760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f7420736574206d617873656c6c206c6f776572207468616e20302e60448201526201a92960ed1b6064820152608401610cac565b61135f82670de0b6b3a7640000612d1d565b600c5561137481670de0b6b3a7640000612d1d565b600d555050565b600a5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839291169063fbcbc0f19060240160a060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f39190612d3c565b939a9299509097509550909350915050565b61140d611a8a565b60405162241fbd60e51b81526001600160a01b03821660048201819052600160248301528291630483f7a090604401600060405180830381600087803b15801561145657600080fd5b505af115801561146a573d6000803e3d6000fd5b505060405162241fbd60e51b8152306004820152600160248201526001600160a01b0384169250630483f7a09150604401600060405180830381600087803b1580156114b557600080fd5b505af11580156114c9573d6000803e3d6000fd5b50505050806001600160a01b0316630483f7a06114ee6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b15801561153657600080fd5b505af115801561154a573d6000803e3d6000fd5b505060065460405162241fbd60e51b81526001600160a01b039182166004820152600160248201529084169250630483f7a09150604401600060405180830381600087803b15801561159b57600080fd5b505af11580156115af573d6000803e3d6000fd5b5050600a80546001600160a01b0319166001600160a01b039490941693909317909255505050565b6115df611a8a565b600a5460405163497ec82360e01b81523360048201526001600160a01b0383811660248301529091169063497ec82390604401611022565b61161f611a8a565b600a8054911515600160b01b0260ff60b01b19909216919091179055565b606060048054610bcb90612c7e565b611654611a8a565b600754600a546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810184905260009291909116906323b872dd906064016020604051808303816000875af11580156116b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d89190612d00565b90508015610e1157600a54604051633b79ab6760e21b8152600481018490526001600160a01b039091169063ede6ad9c90602401610b86565b611719611a8a565b610e1182826122b0565b6000338161173182866119c3565b9050838110156117915760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cac565b610fe18286868403611ae4565b600a546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401611238565b600033610d07818585611c82565b6117e7611a8a565b6117f981670de0b6b3a7640000612d1d565b600b5550565b611807611a8a565b6001600160a01b03821660009081526018602052604090205460ff16151581151514156118895760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610cac565b6001600160a01b038216600081815260186020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6118f0611a8a565b620f424081101561194e5760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b6064820152608401610cac565b61196081670de0b6b3a7640000612d1d565b600e5550565b61196e611a8a565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b611998611a8a565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6119f6611a8a565b600a8054911515600160a81b0260ff60a81b19909216919091179055565b611a1c611a8a565b6001600160a01b038116611a815760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cac565b6112068161225e565b6005546001600160a01b031633146112915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cac565b6001600160a01b038316611b465760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cac565b6001600160a01b038216611ba75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cac565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611c1484846119c3565b90506000198114611c7c5781811015611c6f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cac565b611c7c8484848403611ae4565b50505050565b6001600160a01b038316611ca85760405162461bcd60e51b8152600401610cac90612d85565b6001600160a01b038216611cce5760405162461bcd60e51b8152600401610cac90612dca565b6001600160a01b03831660009081526018602052604090205460ff16158015611d1057506001600160a01b03821660009081526018602052604090205460ff16155b8015611d265750600a54600160a01b900460ff16155b15611ef857600a54600160b81b900460ff16611d795760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610cac565b6001600160a01b0382166000908152601a602052604090205460ff1615611df157600d54811115611dec5760405162461bcd60e51b815260206004820152601f60248201527f596f752061726520657863656564696e67206d617853656c6c416d6f756e74006044820152606401610cac565b611e64565b6001600160a01b0383166000908152601a602052604090205460ff1615611e6457600c54811115611e645760405162461bcd60e51b815260206004820152601e60248201527f596f752061726520657863656564696e67206d6178427579416d6f756e7400006044820152606401610cac565b6001600160a01b03821660009081526019602052604090205460ff16611ef857600e546001600160a01b038316600090815260208190526040902054611eaa9083612ccf565b1115611ef85760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401610cac565b80611f0e57611f0983836000612414565b505050565b30600090815260208190526040902054600b5481108015908190611f3c5750600a54600160a01b900460ff16155b8015611f515750600a54600160a81b900460ff165b8015611f7557506001600160a01b0384166000908152601a602052604090205460ff165b8015611f9a57506001600160a01b03851660009081526018602052604090205460ff16155b8015611fbf57506001600160a01b03841660009081526018602052604090205460ff16155b15611ff857600a805460ff60a01b1916600160a01b17905560165415611fea57611fea600b5461253e565b600a805460ff60a01b191690555b600a546001600160a01b03861660009081526018602052604090205460ff600160a01b90920482161591168061204657506001600160a01b03851660009081526018602052604090205460ff165b1561204f575060005b6001600160a01b0385166000908152601a602052604090205460ff1615801561209157506001600160a01b0386166000908152601a602052604090205460ff16155b1561209a575060005b8015612139576001600160a01b0385166000908152601a602052604081205460ff16156120e2576064601654866120d19190612d1d565b6120db9190612e0d565b9050612120565b6001600160a01b0387166000908152601a602052604090205460ff1615612120576064601554866121139190612d1d565b61211d9190612e0d565b90505b61212a8186612e2f565b9450612137873083612414565b505b612144868686612414565b600a546001600160a01b031663e30443bc87612175816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156121bb57600080fd5b505af19250505080156121cc575060015b50600a546001600160a01b031663e30443bc866121fe816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561224457600080fd5b505af1925050508015612255575060015b610bb457610bb4565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152601a602052604090205460ff16151581151514156123455760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610cac565b6001600160a01b0382166000908152601a60205260409020805460ff191682158015919091179091556123d857600a5460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b1580156123bf57600080fd5b505af11580156123d3573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b03831661243a5760405162461bcd60e51b8152600401610cac90612d85565b6001600160a01b0382166124605760405162461bcd60e51b8152600401610cac90612dca565b6001600160a01b038316600090815260208190526040902054818110156124d85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cac565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611c7c565b6016546012546000916002916125549085612d1d565b61255e9190612e0d565b6125689190612e0d565b905060006002601654601260000154856125829190612d1d565b61258c9190612e0d565b6125969190612e0d565b6016546013549192506000916125ac9086612d1d565b6125b69190612e0d565b6016546014549192506000916125cc9087612d1d565b6125d69190612e0d565b6009549091506125f19030906001600160a01b031683612414565b60095460405163425c8abd60e01b8152600481018390526001600160a01b039091169063425c8abd90602401600060405180830381600087803b15801561263757600080fd5b505af1925050508015612648575060015b50612652846128bc565b4780156126635761266384826129e0565b61266c836128bc565b47808015612719576008546040516000916001600160a01b03169083908381818185875af1925050503d80600081146126c1576040519150601f19603f3d011682016040523d82523d6000602084013e6126c6565b606091505b50509050806127175760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c65746044820152606401610cac565b505b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612762573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127869190612ce7565b90508080156128b057600754600a5460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052600092919091169063a9059cbb906044016020604051808303816000875af11580156127e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280d9190612d00565b905080156128ae57600a54604051633b79ab6760e21b8152600481018490526001600160a01b039091169063ede6ad9c90602401600060405180830381600087803b15801561285b57600080fd5b505af115801561286f573d6000803e3d6000fd5b5050604080518e8152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3935001905060405180910390a15b505b50505050505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106128f1576128f1612e46565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561294a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061296e9190612e5c565b8160018151811061298157612981612e46565b6001600160a01b0392831660209182029290920101526006546129a79130911684611ae4565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790610b86908590600090869030904290600401612e79565b6006546129f89030906001600160a01b031684611ae4565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015612a65573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906110509190612eea565b6001600160a01b038116811461120657600080fd5b801515811461120657600080fd5b60008060408385031215612ac057600080fd5b8235612acb81612a8a565b91506020830135612adb81612a9f565b809150509250929050565b600060208083528351808285015260005b81811015612b1357858101830151858201604001528201612af7565b81811115612b25576000604083870101525b50601f01601f1916929092016040019392505050565b600080600060608486031215612b5057600080fd5b505081359360208301359350604090920135919050565b60008060408385031215612b7a57600080fd5b8235612b8581612a8a565b946020939093013593505050565b600060208284031215612ba557600080fd5b8135612bb081612a8a565b9392505050565b600080600060608486031215612bcc57600080fd5b8335612bd781612a8a565b92506020840135612be781612a8a565b929592945050506040919091013590565b60008060408385031215612c0b57600080fd5b50508035926020909101359150565b600060208284031215612c2c57600080fd5b8135612bb081612a9f565b600060208284031215612c4957600080fd5b5035919050565b60008060408385031215612c6357600080fd5b8235612c6e81612a8a565b91506020830135612adb81612a8a565b600181811c90821680612c9257607f821691505b60208210811415612cb357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612ce257612ce2612cb9565b500190565b600060208284031215612cf957600080fd5b5051919050565b600060208284031215612d1257600080fd5b8151612bb081612a9f565b6000816000190483118215151615612d3757612d37612cb9565b500290565b600080600080600060a08688031215612d5457600080fd5b8551612d5f81612a8a565b602087015160408801516060890151608090990151929a91995097965090945092505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082612e2a57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612e4157612e41612cb9565b500390565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612e6e57600080fd5b8151612bb081612a8a565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612ec95784516001600160a01b031683529383019391830191600101612ea4565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612eff57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220f5d676232fdd84b70bda507621f251ae7bdc0bee7d74dc10aa244f4d2f91a9f764736f6c634300080a003360806040523480156200001157600080fd5b5060408051808201825260148082527f4c71735f4469766964656e645f547261636b6572000000000000000000000000602080840182815285518087019096529285528401528151919291839183916200006e91600391620000ff565b50805162000084906004906020840190620000ff565b505050620000a16200009b620000a960201b60201c565b620000ad565b5050620001e2565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010d90620001a5565b90600052602060002090601f0160209004810192826200013157600085556200017c565b82601f106200014c57805160ff19168380011785556200017c565b828001600101855582156200017c579182015b828111156200017c5782518255916020019190600101906200015f565b506200018a9291506200018e565b5090565b5b808211156200018a57600081556001016200018f565b600181811c90821680620001ba57607f821691505b60208210811415620001dc57634e487b7160e01b600052602260045260246000fd5b50919050565b6117df80620001f26000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063715018a61161010f578063a8b9d240116100a2578063e30443bc11610071578063e30443bc1461042d578063ede6ad9c14610440578063f2fde38b14610453578063fbcbc0f11461046657600080fd5b8063a8b9d240146103cb578063a9059cbb146103de578063aafd847a146103f1578063dd62ed3e1461041a57600080fd5b806391b89fba116100de57806391b89fba1461039457806395d89b41146103a75780639e1e0661146103af578063a457c2d7146103b857600080fd5b8063715018a61461035f578063807ab4f71461036757806385a6b3ae1461037a5780638da5cb5b1461038357600080fd5b806327ce014711610187578063497ec82311610156578063497ec823146102f85780634e7b827f1461030b5780636a4740021461032e57806370a082311461033657600080fd5b806327ce0147146102b0578063313ce567146102c357806339509351146102d257806344b6bd9e146102e557600080fd5b80631162c4b6116101c35780631162c4b61461024057806318160ddd1461026b578063226cfa3d1461027d57806323b872dd1461029d57600080fd5b80630483f7a0146101ea57806306fdde03146101ff578063095ea7b31461021d575b600080fd5b6101fd6101f83660046114d3565b6104ab565b005b61020761058f565b604051610214919061150c565b60405180910390f35b61023061022b366004611561565b610621565b6040519015158152602001610214565b600654610253906001600160a01b031681565b6040516001600160a01b039091168152602001610214565b6002545b604051908152602001610214565b61026f61028b36600461158d565b600d6020526000908152604090205481565b6102306102ab3660046115aa565b61063b565b61026f6102be36600461158d565b61065f565b60405160128152602001610214565b6102306102e0366004611561565b6106bb565b6101fd6102f336600461158d565b6106dd565b6101fd6103063660046115eb565b610707565b61023061031936600461158d565b600c6020526000908152604090205460ff1681565b6101fd6107f5565b61026f61034436600461158d565b6001600160a01b031660009081526020819052604090205490565b6101fd610801565b61023061037536600461158d565b610815565b61026f600a5481565b6005546001600160a01b0316610253565b61026f6103a236600461158d565b610899565b6102076108a4565b61026f600b5481565b6102306103c6366004611561565b6108b3565b61026f6103d936600461158d565b610933565b6102306103ec366004611561565b61095f565b61026f6103ff36600461158d565b6001600160a01b031660009081526009602052604090205490565b61026f6104283660046115eb565b61096d565b6101fd61043b366004611561565b610998565b6101fd61044e366004611619565b6109d3565b6101fd61046136600461158d565b610a6e565b61047961047436600461158d565b610ae4565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a001610214565b6104b3610b8c565b6001600160a01b0382166000908152600c602052604090205460ff16151581151514156104df57600080fd5b6001600160a01b0382166000908152600c60205260409020805460ff19168215159081179091556001141561051e57610519826000610be6565b610546565b61054682610541846001600160a01b031660009081526020819052604090205490565b610be6565b816001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be82604051610583911515815260200190565b60405180910390a25050565b60606003805461059e90611632565b80601f01602080910402602001604051908101604052809291908181526020018280546105ca90611632565b80156106175780601f106105ec57610100808354040283529160200191610617565b820191906000526020600020905b8154815290600101906020018083116105fa57829003601f168201915b5050505050905090565b60003361062f818585610c45565b60019150505b92915050565b600033610649858285610d69565b610654858585610ddd565b506001949350505050565b6001600160a01b03811660009081526008602090815260408083205491839052822054600754600160801b926106b1926106ac926106a6916106a19190610e38565b610ebe565b90610ece565b610f0c565b6106359190611683565b60003361062f8185856106ce838361096d565b6106d891906116a5565b610c45565b6106e5610b8c565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b61070f610b8c565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90849083906370a0823190602401602060405180830381865afa15801561075d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078191906116bd565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156107cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f091906116d6565b505050565b6107fe33610f1f565b50565b610809610b8c565b61081360006110ad565b565b600061081f610b8c565b600061082a83610f1f565b90508015610890576001600160a01b0383166000818152600d602052604090819020429055517f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d49061087f9084815260200190565b60405180910390a250600192915050565b50600092915050565b600061063582610933565b60606004805461059e90611632565b600033816108c1828661096d565b9050838110156109265760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6106548286868403610c45565b6001600160a01b038116600090815260096020526040812054610635906109598461065f565b906110ff565b60003361062f818585610ddd565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6109a0610b8c565b6001600160a01b0382166000908152600c602052604090205460ff16156109c5575050565b6109cf8282610be6565b5050565b6109db610b8c565b60006109e660025490565b116109f057600080fd5b80156107fe57610a23610a0260025490565b610a1083600160801b610e38565b610a1a9190611683565b60075490611141565b60075560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600a54610a689082611141565b600a5550565b610a76610b8c565b6001600160a01b038116610adb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161091d565b6107fe816110ad565b6000806000806000610b20604051806080016040528060006001600160a01b031681526020016000815260200160008152602001600081525090565b6001600160a01b0387168152610b3587610933565b6020820152610b438761065f565b60408281019182526001600160a01b03989098166000908152600d60209081529890205460608301819052825198909201519051600b5498999198909750919550909350915050565b6005546001600160a01b031633146108135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161091d565b6001600160a01b03821660009081526020819052604090205480821115610c25576000610c1383836110ff565b9050610c1f84826111a0565b50505050565b808210156107f0576000610c3982846110ff565b9050610c1f8482611204565b6001600160a01b038316610ca75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161091d565b6001600160a01b038216610d085760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161091d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610d75848461096d565b90506000198114610c1f5781811015610dd05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161091d565b610c1f8484848403610c45565b60405162461bcd60e51b815260206004820152602a60248201527f4c71735f4469766964656e645f547261636b65723a205472616e73666572206e6044820152691bdd08185b1b1bddd95960b21b606482015260840161091d565b600082610e4757506000610635565b6000610e5383856116f3565b905082610e608583611683565b14610eb75760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161091d565b9392505050565b6000818181121561063557600080fd5b600080610edb8385611712565b905060008312158015610eee5750838112155b80610f035750600083128015610f0357508381125b610eb757600080fd5b600080821215610f1b57600080fd5b5090565b600080610f2b83610933565b90508015610890576001600160a01b038316600090815260096020526040902054610f569082611141565b6001600160a01b038416600090815260096020526040812091909155600b8054839290610f849084906116a5565b90915550506040518181526001600160a01b038416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a260065460405163a9059cbb60e01b81526001600160a01b03858116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af115801561101b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103f91906116d6565b9050806110a6576001600160a01b03841660009081526009602052604090205461106990836110ff565b6001600160a01b038516600090815260096020526040812091909155600b8054849290611097908490611753565b90915550600095945050505050565b5092915050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610eb783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611248565b60008061114e83856116a5565b905083811015610eb75760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161091d565b6111aa8282611282565b6111e46111c56106a183600754610e3890919063ffffffff16565b6001600160a01b03841660009081526008602052604090205490611341565b6001600160a01b0390921660009081526008602052604090209190915550565b61120e828261137e565b6111e46112296106a183600754610e3890919063ffffffff16565b6001600160a01b03841660009081526008602052604090205490610ece565b6000818484111561126c5760405162461bcd60e51b815260040161091d919061150c565b5060006112798486611753565b95945050505050565b6001600160a01b0382166112d85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161091d565b80600260008282546112ea91906116a5565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60008061134e838561176a565b9050600083121580156113615750838113155b80610f035750600083128015610f035750838113610eb757600080fd5b6001600160a01b0382166113de5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161091d565b6001600160a01b038216600090815260208190526040902054818110156114525760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161091d565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b03811681146107fe57600080fd5b80151581146107fe57600080fd5b600080604083850312156114e657600080fd5b82356114f1816114b0565b91506020830135611501816114c5565b809150509250929050565b600060208083528351808285015260005b818110156115395785810183015185820160400152820161151d565b8181111561154b576000604083870101525b50601f01601f1916929092016040019392505050565b6000806040838503121561157457600080fd5b823561157f816114b0565b946020939093013593505050565b60006020828403121561159f57600080fd5b8135610eb7816114b0565b6000806000606084860312156115bf57600080fd5b83356115ca816114b0565b925060208401356115da816114b0565b929592945050506040919091013590565b600080604083850312156115fe57600080fd5b8235611609816114b0565b91506020830135611501816114b0565b60006020828403121561162b57600080fd5b5035919050565b600181811c9082168061164657607f821691505b6020821081141561166757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000826116a057634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156116b8576116b861166d565b500190565b6000602082840312156116cf57600080fd5b5051919050565b6000602082840312156116e857600080fd5b8151610eb7816114c5565b600081600019048311821515161561170d5761170d61166d565b500290565b600080821280156001600160ff1b03849003851316156117345761173461166d565b600160ff1b839003841281161561174d5761174d61166d565b50500190565b6000828210156117655761176561166d565b500390565b60008083128015600160ff1b8501841216156117885761178861166d565b6001600160ff1b03840183138116156117a3576117a361166d565b5050039056fea2646970667358221220b6b6a23fd3156fc180304756c4b776e1a3c5349248381e852fc006857f8fa9d164736f6c634300080a0033000000000000000000000000b2ce19268fdd08ce2cf43ba5d17e9d4ee91629f90000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000000902d3d190cd491f8e176c86e5e31812de7f6608
Deployed Bytecode
0x6080604052600436106103905760003560e01c806379b447bd116101dc578063a9059cbb11610102578063d2fcc001116100a0578063f2fde38b1161006f578063f2fde38b14610ad4578063f66895a314610af4578063f887ea4014610b13578063f8b45b0514610b3357600080fd5b8063d2fcc00114610a5e578063dd62ed3e14610a7e578063e01af92c14610a9e578063e2f4560514610abe57600080fd5b8063afa4f3b2116100dc578063afa4f3b2146109de578063c0246668146109fe578063c18bc19514610a1e578063c851cc3214610a3e57600080fd5b8063a9059cbb1461095e578063a9b232d91461097e578063abb81052146109ae57600080fd5b80638ea5220f1161017a5780639a7a23d6116101495780639a7a23d6146108de578063a457c2d7146108fe578063a8aa1b311461091e578063a8b9d2401461093e57600080fd5b80638ea5220f1461086957806392929a091461088957806395d89b41146108a95780639a50a9e6146108be57600080fd5b806388bdd9be116101b657806388bdd9be146107f557806388e765ff146108155780638c9684f91461082b5780638da5cb5b1461084b57600080fd5b806379b447bd146107495780637b510fe814610769578063864701a5146107bb57600080fd5b80632c1f5216116102c15780634ada218b1161025f5780636843cd841161022e5780636843cd84146106bd5780636ddd1713146106dd57806370a08231146106fe578063715018a61461073457600080fd5b80634ada218b146106385780634e71d92d146106595780634fbee1931461066e57806366d602ae146106a757600080fd5b8063313ce5671161029b578063313ce567146105c6578063342aa8b5146105e2578063395093511461060257806346469afb1461062257600080fd5b80632c1f5216146105715780632e1ab9041461059157806330bb4cff146105b157600080fd5b806312b77e8a1161032e5780631bff7898116103085780631bff7898146104fa5780631f53ac021461051057806323b872dd146105305780632866ed211461055057600080fd5b806312b77e8a146104a657806318160ddd146104bb5780631870517a146104da57600080fd5b8063095ea7b31161036a578063095ea7b3146104095780630a78097d146104395780630bd05b69146104595780630c56ae3b1461046e57600080fd5b80630483f7a01461039c57806306fdde03146103be57806308733214146103e957600080fd5b3661039757005b600080fd5b3480156103a857600080fd5b506103bc6103b7366004612aad565b610b49565b005b3480156103ca57600080fd5b506103d3610bbc565b6040516103e09190612ae6565b60405180910390f35b3480156103f557600080fd5b506103bc610404366004612b3b565b610c4e565b34801561041557600080fd5b50610429610424366004612b67565b610cf9565b60405190151581526020016103e0565b34801561044557600080fd5b506103bc610454366004612b93565b610d11565b34801561046557600080fd5b506103bc610e15565b34801561047a57600080fd5b5060095461048e906001600160a01b031681565b6040516001600160a01b0390911681526020016103e0565b3480156104b257600080fd5b506103bc610e8c565b3480156104c757600080fd5b506002545b6040519081526020016103e0565b3480156104e657600080fd5b506103bc6104f5366004612b3b565b610ef8565b34801561050657600080fd5b506104cc60165481565b34801561051c57600080fd5b506103bc61052b366004612b93565b610f9e565b34801561053c57600080fd5b5061042961054b366004612bb7565b610fc8565b34801561055c57600080fd5b50600a5461042990600160b01b900460ff1681565b34801561057d57600080fd5b50600a5461048e906001600160a01b031681565b34801561059d57600080fd5b506103bc6105ac366004612b93565b610fec565b3480156105bd57600080fd5b506104cc611057565b3480156105d257600080fd5b50604051601281526020016103e0565b3480156105ee57600080fd5b506103bc6105fd366004612aad565b6110ca565b34801561060e57600080fd5b5061042961061d366004612b67565b611129565b34801561062e57600080fd5b506104cc60155481565b34801561064457600080fd5b50600a5461042990600160b81b900460ff1681565b34801561066557600080fd5b506103bc61114b565b34801561067a57600080fd5b50610429610689366004612b93565b6001600160a01b031660009081526018602052604090205460ff1690565b3480156106b357600080fd5b506104cc600d5481565b3480156106c957600080fd5b506104cc6106d8366004612b93565b611209565b3480156106e957600080fd5b50600a5461042990600160a81b900460ff1681565b34801561070a57600080fd5b506104cc610719366004612b93565b6001600160a01b031660009081526020819052604090205490565b34801561074057600080fd5b506103bc61127f565b34801561075557600080fd5b506103bc610764366004612bf8565b611293565b34801561077557600080fd5b50610789610784366004612b93565b61137b565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0016103e0565b3480156107c757600080fd5b50600f546010546011546107da92919083565b604080519384526020840192909252908201526060016103e0565b34801561080157600080fd5b506103bc610810366004612b93565b611405565b34801561082157600080fd5b506104cc600c5481565b34801561083757600080fd5b506103bc610846366004612b93565b6115d7565b34801561085757600080fd5b506005546001600160a01b031661048e565b34801561087557600080fd5b5060085461048e906001600160a01b031681565b34801561089557600080fd5b506103bc6108a4366004612c1a565b611617565b3480156108b557600080fd5b506103d361163d565b3480156108ca57600080fd5b506103bc6108d9366004612c37565b61164c565b3480156108ea57600080fd5b506103bc6108f9366004612aad565b611711565b34801561090a57600080fd5b50610429610919366004612b67565b611723565b34801561092a57600080fd5b5060075461048e906001600160a01b031681565b34801561094a57600080fd5b506104cc610959366004612b93565b61179e565b34801561096a57600080fd5b50610429610979366004612b67565b6117d1565b34801561098a57600080fd5b50610429610999366004612b93565b601a6020526000908152604090205460ff1681565b3480156109ba57600080fd5b506104296109c9366004612b93565b60176020526000908152604090205460ff1681565b3480156109ea57600080fd5b506103bc6109f9366004612c37565b6117df565b348015610a0a57600080fd5b506103bc610a19366004612aad565b6117ff565b348015610a2a57600080fd5b506103bc610a39366004612c37565b6118e8565b348015610a4a57600080fd5b506103bc610a59366004612b93565b611966565b348015610a6a57600080fd5b506103bc610a79366004612aad565b611990565b348015610a8a57600080fd5b506104cc610a99366004612c50565b6119c3565b348015610aaa57600080fd5b506103bc610ab9366004612c1a565b6119ee565b348015610aca57600080fd5b506104cc600b5481565b348015610ae057600080fd5b506103bc610aef366004612b93565b611a14565b348015610b0057600080fd5b506012546013546014546107da92919083565b348015610b1f57600080fd5b5060065461048e906001600160a01b031681565b348015610b3f57600080fd5b506104cc600e5481565b610b51611a8a565b600a5460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b158015610ba057600080fd5b505af1158015610bb4573d6000803e3d6000fd5b505050505050565b606060038054610bcb90612c7e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf790612c7e565b8015610c445780601f10610c1957610100808354040283529160200191610c44565b820191906000526020600020905b815481529060010190602001808311610c2757829003601f168201915b5050505050905090565b610c56611a8a565b601481610c638486612ccf565b610c6d9190612ccf565b1115610cb55760405162461bcd60e51b8152602060048201526012602482015271466565206d757374206265203c3d2032302560701b60448201526064015b60405180910390fd5b60408051606081018252848152602081018490520181905260128390556013829055601481905580610ce78385612ccf565b610cf19190612ccf565b601655505050565b600033610d07818585611ae4565b5060019392505050565b610d19611a8a565b806001600160a01b031663a9059cbb610d3a6005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da29190612ce7565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610ded573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e119190612d00565b5050565b610e1d611a8a565b600a54600160b81b900460ff1615610e775760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610cac565b600a805460ff60b81b1916600160b81b179055565b610e94611a8a565b60085460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610ee5576040519150601f19603f3d011682016040523d82523d6000602084013e610eea565b606091505b5050905080610e1157600080fd5b610f00611a8a565b601481610f0d8486612ccf565b610f179190612ccf565b1115610f5a5760405162461bcd60e51b8152602060048201526012602482015271466565206d757374206265203c3d2032302560701b6044820152606401610cac565b604080516060810182528481526020810184905201819052600f8390556010829055601181905580610f8c8385612ccf565b610f969190612ccf565b601555505050565b610fa6611a8a565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600033610fd6858285611c08565b610fe1858585611c82565b506001949350505050565b610ff4611a8a565b600a5460405163225b5ecf60e11b81526001600160a01b038381166004830152909116906344b6bd9e906024015b600060405180830381600087803b15801561103c57600080fd5b505af1158015611050573d6000803e3d6000fd5b5050505050565b600a54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa1580156110a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c59190612ce7565b905090565b6110d2611a8a565b6001600160a01b03821660009081526017602052604090205460ff16151581151514156110fe57600080fd5b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b600033610d0781858561113c83836119c3565b6111469190612ccf565b611ae4565b600a54600160b01b900460ff166111985760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b6044820152606401610cac565b600a5460405163807ab4f760e01b81523360048201526001600160a01b039091169063807ab4f7906024016020604051808303816000875af11580156111e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112069190612d00565b50565b600a546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa158015611255573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112799190612ce7565b92915050565b611287611a8a565b611291600061225e565b565b61129b611a8a565b620f42408210156112ee5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f7420736574206d6178627579206c6f776572207468616e203125206044820152606401610cac565b6207a12081101561134d5760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f7420736574206d617873656c6c206c6f776572207468616e20302e60448201526201a92960ed1b6064820152608401610cac565b61135f82670de0b6b3a7640000612d1d565b600c5561137481670de0b6b3a7640000612d1d565b600d555050565b600a5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839291169063fbcbc0f19060240160a060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f39190612d3c565b939a9299509097509550909350915050565b61140d611a8a565b60405162241fbd60e51b81526001600160a01b03821660048201819052600160248301528291630483f7a090604401600060405180830381600087803b15801561145657600080fd5b505af115801561146a573d6000803e3d6000fd5b505060405162241fbd60e51b8152306004820152600160248201526001600160a01b0384169250630483f7a09150604401600060405180830381600087803b1580156114b557600080fd5b505af11580156114c9573d6000803e3d6000fd5b50505050806001600160a01b0316630483f7a06114ee6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b15801561153657600080fd5b505af115801561154a573d6000803e3d6000fd5b505060065460405162241fbd60e51b81526001600160a01b039182166004820152600160248201529084169250630483f7a09150604401600060405180830381600087803b15801561159b57600080fd5b505af11580156115af573d6000803e3d6000fd5b5050600a80546001600160a01b0319166001600160a01b039490941693909317909255505050565b6115df611a8a565b600a5460405163497ec82360e01b81523360048201526001600160a01b0383811660248301529091169063497ec82390604401611022565b61161f611a8a565b600a8054911515600160b01b0260ff60b01b19909216919091179055565b606060048054610bcb90612c7e565b611654611a8a565b600754600a546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810184905260009291909116906323b872dd906064016020604051808303816000875af11580156116b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d89190612d00565b90508015610e1157600a54604051633b79ab6760e21b8152600481018490526001600160a01b039091169063ede6ad9c90602401610b86565b611719611a8a565b610e1182826122b0565b6000338161173182866119c3565b9050838110156117915760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cac565b610fe18286868403611ae4565b600a546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401611238565b600033610d07818585611c82565b6117e7611a8a565b6117f981670de0b6b3a7640000612d1d565b600b5550565b611807611a8a565b6001600160a01b03821660009081526018602052604090205460ff16151581151514156118895760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610cac565b6001600160a01b038216600081815260186020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6118f0611a8a565b620f424081101561194e5760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b6064820152608401610cac565b61196081670de0b6b3a7640000612d1d565b600e5550565b61196e611a8a565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b611998611a8a565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6119f6611a8a565b600a8054911515600160a81b0260ff60a81b19909216919091179055565b611a1c611a8a565b6001600160a01b038116611a815760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cac565b6112068161225e565b6005546001600160a01b031633146112915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cac565b6001600160a01b038316611b465760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cac565b6001600160a01b038216611ba75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cac565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611c1484846119c3565b90506000198114611c7c5781811015611c6f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cac565b611c7c8484848403611ae4565b50505050565b6001600160a01b038316611ca85760405162461bcd60e51b8152600401610cac90612d85565b6001600160a01b038216611cce5760405162461bcd60e51b8152600401610cac90612dca565b6001600160a01b03831660009081526018602052604090205460ff16158015611d1057506001600160a01b03821660009081526018602052604090205460ff16155b8015611d265750600a54600160a01b900460ff16155b15611ef857600a54600160b81b900460ff16611d795760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610cac565b6001600160a01b0382166000908152601a602052604090205460ff1615611df157600d54811115611dec5760405162461bcd60e51b815260206004820152601f60248201527f596f752061726520657863656564696e67206d617853656c6c416d6f756e74006044820152606401610cac565b611e64565b6001600160a01b0383166000908152601a602052604090205460ff1615611e6457600c54811115611e645760405162461bcd60e51b815260206004820152601e60248201527f596f752061726520657863656564696e67206d6178427579416d6f756e7400006044820152606401610cac565b6001600160a01b03821660009081526019602052604090205460ff16611ef857600e546001600160a01b038316600090815260208190526040902054611eaa9083612ccf565b1115611ef85760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401610cac565b80611f0e57611f0983836000612414565b505050565b30600090815260208190526040902054600b5481108015908190611f3c5750600a54600160a01b900460ff16155b8015611f515750600a54600160a81b900460ff165b8015611f7557506001600160a01b0384166000908152601a602052604090205460ff165b8015611f9a57506001600160a01b03851660009081526018602052604090205460ff16155b8015611fbf57506001600160a01b03841660009081526018602052604090205460ff16155b15611ff857600a805460ff60a01b1916600160a01b17905560165415611fea57611fea600b5461253e565b600a805460ff60a01b191690555b600a546001600160a01b03861660009081526018602052604090205460ff600160a01b90920482161591168061204657506001600160a01b03851660009081526018602052604090205460ff165b1561204f575060005b6001600160a01b0385166000908152601a602052604090205460ff1615801561209157506001600160a01b0386166000908152601a602052604090205460ff16155b1561209a575060005b8015612139576001600160a01b0385166000908152601a602052604081205460ff16156120e2576064601654866120d19190612d1d565b6120db9190612e0d565b9050612120565b6001600160a01b0387166000908152601a602052604090205460ff1615612120576064601554866121139190612d1d565b61211d9190612e0d565b90505b61212a8186612e2f565b9450612137873083612414565b505b612144868686612414565b600a546001600160a01b031663e30443bc87612175816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156121bb57600080fd5b505af19250505080156121cc575060015b50600a546001600160a01b031663e30443bc866121fe816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561224457600080fd5b505af1925050508015612255575060015b610bb457610bb4565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152601a602052604090205460ff16151581151514156123455760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610cac565b6001600160a01b0382166000908152601a60205260409020805460ff191682158015919091179091556123d857600a5460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b1580156123bf57600080fd5b505af11580156123d3573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b03831661243a5760405162461bcd60e51b8152600401610cac90612d85565b6001600160a01b0382166124605760405162461bcd60e51b8152600401610cac90612dca565b6001600160a01b038316600090815260208190526040902054818110156124d85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cac565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611c7c565b6016546012546000916002916125549085612d1d565b61255e9190612e0d565b6125689190612e0d565b905060006002601654601260000154856125829190612d1d565b61258c9190612e0d565b6125969190612e0d565b6016546013549192506000916125ac9086612d1d565b6125b69190612e0d565b6016546014549192506000916125cc9087612d1d565b6125d69190612e0d565b6009549091506125f19030906001600160a01b031683612414565b60095460405163425c8abd60e01b8152600481018390526001600160a01b039091169063425c8abd90602401600060405180830381600087803b15801561263757600080fd5b505af1925050508015612648575060015b50612652846128bc565b4780156126635761266384826129e0565b61266c836128bc565b47808015612719576008546040516000916001600160a01b03169083908381818185875af1925050503d80600081146126c1576040519150601f19603f3d011682016040523d82523d6000602084013e6126c6565b606091505b50509050806127175760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c65746044820152606401610cac565b505b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612762573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127869190612ce7565b90508080156128b057600754600a5460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052600092919091169063a9059cbb906044016020604051808303816000875af11580156127e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280d9190612d00565b905080156128ae57600a54604051633b79ab6760e21b8152600481018490526001600160a01b039091169063ede6ad9c90602401600060405180830381600087803b15801561285b57600080fd5b505af115801561286f573d6000803e3d6000fd5b5050604080518e8152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3935001905060405180910390a15b505b50505050505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106128f1576128f1612e46565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561294a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061296e9190612e5c565b8160018151811061298157612981612e46565b6001600160a01b0392831660209182029290920101526006546129a79130911684611ae4565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790610b86908590600090869030904290600401612e79565b6006546129f89030906001600160a01b031684611ae4565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015612a65573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906110509190612eea565b6001600160a01b038116811461120657600080fd5b801515811461120657600080fd5b60008060408385031215612ac057600080fd5b8235612acb81612a8a565b91506020830135612adb81612a9f565b809150509250929050565b600060208083528351808285015260005b81811015612b1357858101830151858201604001528201612af7565b81811115612b25576000604083870101525b50601f01601f1916929092016040019392505050565b600080600060608486031215612b5057600080fd5b505081359360208301359350604090920135919050565b60008060408385031215612b7a57600080fd5b8235612b8581612a8a565b946020939093013593505050565b600060208284031215612ba557600080fd5b8135612bb081612a8a565b9392505050565b600080600060608486031215612bcc57600080fd5b8335612bd781612a8a565b92506020840135612be781612a8a565b929592945050506040919091013590565b60008060408385031215612c0b57600080fd5b50508035926020909101359150565b600060208284031215612c2c57600080fd5b8135612bb081612a9f565b600060208284031215612c4957600080fd5b5035919050565b60008060408385031215612c6357600080fd5b8235612c6e81612a8a565b91506020830135612adb81612a8a565b600181811c90821680612c9257607f821691505b60208210811415612cb357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612ce257612ce2612cb9565b500190565b600060208284031215612cf957600080fd5b5051919050565b600060208284031215612d1257600080fd5b8151612bb081612a9f565b6000816000190483118215151615612d3757612d37612cb9565b500290565b600080600080600060a08688031215612d5457600080fd5b8551612d5f81612a8a565b602087015160408801516060890151608090990151929a91995097965090945092505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082612e2a57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612e4157612e41612cb9565b500390565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612e6e57600080fd5b8151612bb081612a8a565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612ec95784516001600160a01b031683529383019391830191600101612ea4565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612eff57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220f5d676232fdd84b70bda507621f251ae7bdc0bee7d74dc10aa244f4d2f91a9f764736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b2ce19268fdd08ce2cf43ba5d17e9d4ee91629f90000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000000902d3d190cd491f8e176c86e5e31812de7f6608
-----Decoded View---------------
Arg [0] : _devWallet (address): 0xb2cE19268FdD08Ce2cf43Ba5D17e9D4ee91629f9
Arg [1] : _routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [2] : _stakingPool (address): 0x0902d3d190cD491f8E176C86e5e31812DE7f6608
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000b2ce19268fdd08ce2cf43ba5d17e9d4ee91629f9
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [2] : 0000000000000000000000000902d3d190cd491f8e176c86e5e31812de7f6608
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.