Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- LUCK
- Optimization enabled
- true
- Compiler version
- v0.8.17+commit.8df45f5f
- Optimization runs
- 50
- EVM Version
- default
- Verified at
- 2024-09-26T15:32:34.123387Z
Contract source code
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer( address recipient, uint256 amount ) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance( address owner, address spender ) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval( address indexed owner, address indexed spender, uint256 value ); } /** * @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); } /* * @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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } 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() { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } 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; } } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance( address owner, address spender ) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom( address from, address to, uint value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit( address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn( address indexed sender, uint amount0, uint amount1, address indexed to ); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap( uint amount0Out, uint amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair( address tokenA, address tokenB ) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair( address tokenA, address tokenB ) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WCLO() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityCLO( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts); function swapTokensForExactETH( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactTokensForETH( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapETHForExactTokens( uint amountOut, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts); function quote( uint amountA, uint reserveA, uint reserveB ) external pure returns (uint amountB); function getAmountOut( uint amountIn, uint reserveIn, uint reserveOut ) external pure returns (uint amountOut); function getAmountIn( uint amountOut, uint reserveIn, uint reserveOut ) external pure returns (uint amountIn); function getAmountsOut( uint amountIn, address[] calldata path ) external view returns (uint[] memory amounts); function getAmountsIn( uint amountOut, address[] calldata path ) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForCLOSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract ERC20 is Context, IERC20, IERC20Metadata { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @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; } 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]; } function transfer( address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance( address owner, address spender ) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve( address spender, uint256 amount ) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); 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) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue) ); return true; } function decreaseAllowance( address spender, uint256 subtractedValue ) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub( subtractedValue, "ERC20: decreased allowance below zero" ) ); return true; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub( amount, "ERC20: transfer amount exceeds balance" ); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, 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 = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(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); _balances[account] = _balances[account].sub( amount, "ERC20: burn amount exceeds balance" ); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // interface interface ILuckDividendTracker { function dividendOf(address _owner) external view returns (uint256); function distributeDividends() external payable; function withdrawDividend() external; function withdrawableDividendOf( address _owner ) external view returns (uint256); function withdrawnDividendOf( address _owner ) external view returns (uint256); function accumulativeDividendOf( address _owner ) external view returns (uint256); function excludeFromDividends(address account) external; function updateMinimumTokenBalanceForDividends( uint256 _newMinimumBalance ) external; function updateClaimWait(uint256 newClaimWait) external; function seeClaimWait() external view returns (uint256); function getBalanceOf(address account) external view returns (uint256); function gettotalDividendsDistributed() external view returns (uint256); function seeAccount( address account ) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256 ); function getAccountAtIndex( uint256 index ) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256 ); function process(uint256 gas) external returns (uint256, uint256, uint256); function processAccount( address payable account, bool automatic ) external returns (bool); function getLastProcessedIndex() external view returns (uint256); function getNumberOfTokenHolders() external view returns (uint256); function setBalance(address payable account, uint256 newBalance) external; event DividendsDistributed(address indexed from, uint256 weiAmount); event DividendWithdrawn(address indexed to, uint256 weiAmount); } contract LUCK is ERC20, Ownable { using SafeMath for uint256; /// constants uint256 public constant MAX_FEE_RATE = 10; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool private swapping; ILuckDividendTracker public dividendTracker; address public liquidityWallet; uint256 public maxSellTransactionAmount = 400000 * (10 ** 18); uint256 public swapTokensAtAmount = 8000 * (10 ** 18); uint256 public CLORewardsFee; uint256 public liquidityFee; uint256 public totalFees; uint256 public marketingFee; uint256 public initialSupply = 40000000 * 10 ** 18; // To set max wallet uint256 public maxTokenAllowance; uint256 private maxTokenPercentage; address public marketingWallet = payable(0x9e2631328c76a947ba14630bCce0B605d62af2af); // use by default 300,000 gas to process auto-claiming dividends uint256 public gasForProcessing = 300000; bool public tradingIsEnabled = false; // exlcude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; // addresses that can make transfers before presale is over mapping(address => bool) private canTransferBeforeTradingIsEnabled; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping(address => bool) public automatedMarketMakerPairs; event marketingWalletUpdated( address indexed newmarketingWallet, address indexed oldmarketingWallet ); event UpdateDividendTracker( address indexed newAddress, address indexed oldAddress ); event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event LiquidityWalletUpdated( address indexed newLiquidityWallet, address indexed oldLiquidityWallet ); event GasForProcessingUpdated( uint256 indexed newValue, uint256 indexed oldValue ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); event SendDividends(uint256 tokensSwapped, uint256 amount); event ProcessedDividendTracker( uint256 iterations, uint256 claims, uint256 lastProcessedIndex, bool indexed automatic, uint256 gas, address indexed processor ); constructor() ERC20("LUCK", "LUCK") { uint256 _CLORewardsFee = 1; uint256 _liquidityFee = 1; uint256 _marketingFee = 1; CLORewardsFee = _CLORewardsFee; liquidityFee = _liquidityFee; marketingFee = _marketingFee; totalFees = _CLORewardsFee.add(_liquidityFee).add(_marketingFee); liquidityWallet = owner(); maxTokenPercentage = 80; // 8% of total supply maxTokenAllowance = initialSupply.mul(maxTokenPercentage).div(1000); // exclude from paying fees or having max transaction amount excludeFromFees(liquidityWallet, true); excludeFromFees(address(this), true); // enable owner and fixed-sale wallet to send tokens before presales are over canTransferBeforeTradingIsEnabled[owner()] = true; _mint(owner(), initialSupply); } receive() external payable {} // set Init with dividends function initializerTwo( address _dividendTrackerAddress ) public onlyOwner returns (bool isInit) { dividendTracker = ILuckDividendTracker(_dividendTrackerAddress); // exclude from receiving dividends dividendTracker.excludeFromDividends(address(dividendTracker)); dividendTracker.excludeFromDividends(address(this)); dividendTracker.excludeFromDividends(owner()); dividendTracker.excludeFromDividends(address(uniswapV2Router)); _setAutomatedMarketMakerPair(uniswapV2Pair, true); isInit = true; } function initializerOne(address _addy) public onlyOwner{ // routerAddy for soy - 0xeB5B468fAacC6bBdc14c4aacF0eec38ABCCC13e7 IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( _addy ); // Creates a uniswap pair for this new token address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WCLO()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; } function modifyMaxTokenPercentage(uint256 _newPercent) public onlyOwner { maxTokenPercentage = _newPercent; maxTokenAllowance = initialSupply.mul(maxTokenPercentage).div(1000); } function updateDividendTracker(address newAddress) public onlyOwner { require( newAddress != address(dividendTracker), "CONTRACT: The dividend tracker already has that address" ); ILuckDividendTracker newDividendTracker = ILuckDividendTracker( payable(newAddress) ); newDividendTracker.excludeFromDividends(address(newDividendTracker)); newDividendTracker.excludeFromDividends(address(this)); newDividendTracker.excludeFromDividends(owner()); newDividendTracker.excludeFromDividends(address(uniswapV2Router)); emit UpdateDividendTracker(newAddress, address(dividendTracker)); dividendTracker = newDividendTracker; } function setMaxSellTransaction(uint256 _maxTxn) external onlyOwner { maxSellTransactionAmount = _maxTxn * (10 ** 18); } function setSwapTokensAtAmount(uint256 _swapAmount) external onlyOwner { swapTokensAtAmount = _swapAmount * (10 ** 18); } function updateMinimumBalanceForDividends( uint256 newMinimumBalance ) external onlyOwner { dividendTracker.updateMinimumTokenBalanceForDividends( newMinimumBalance ); } function updateUniswapV2Router(address newAddress) public onlyOwner { require( newAddress != address(uniswapV2Router), "CONTRACT: The router already has that address" ); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); } function excludeFromFees(address account, bool excluded) public onlyOwner { require( _isExcludedFromFees[account] != excluded, "CONTRACT: Account is already the value of 'excluded'" ); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeMultipleAccountsFromFees( address[] calldata accounts, bool excluded ) public onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; } emit ExcludeMultipleAccountsFromFees(accounts, excluded); } function setAutomatedMarketMakerPair( address pair, bool value ) public onlyOwner { require( pair != uniswapV2Pair, "CONTRACT: The PancakeSwap pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require( automatedMarketMakerPairs[pair] != value, "CONTRACT: Automated market maker pair is already set to that value" ); automatedMarketMakerPairs[pair] = value; if (value) { dividendTracker.excludeFromDividends(pair); } emit SetAutomatedMarketMakerPair(pair, value); } function updateLiquidityWallet( address newLiquidityWallet ) public onlyOwner { require( newLiquidityWallet != liquidityWallet, "CONTRACT: The liquidity wallet is already this address" ); excludeFromFees(newLiquidityWallet, true); emit LiquidityWalletUpdated(newLiquidityWallet, liquidityWallet); liquidityWallet = newLiquidityWallet; } function updateGasForProcessing(uint256 newValue) public onlyOwner { require( newValue >= 200000 && newValue <= 700000, "CONTRACT: gasForProcessing must be between 200,000 and 700,000" ); require( newValue != gasForProcessing, "CONTRACT: Cannot update gasForProcessing to same value" ); emit GasForProcessingUpdated(newValue, gasForProcessing); gasForProcessing = newValue; } function updateClaimWait(uint256 claimWait) external onlyOwner { dividendTracker.updateClaimWait(claimWait); } function updateCLORewardsFee(uint8 newFee) external onlyOwner { require(newFee <= MAX_FEE_RATE, "wrong"); CLORewardsFee = newFee; totalFees = CLORewardsFee.add(liquidityFee).add(marketingFee); } function updateMarketingFee(uint8 newFee) external onlyOwner { require(newFee <= MAX_FEE_RATE, "wrong"); marketingFee = newFee; totalFees = CLORewardsFee.add(marketingFee).add(liquidityFee); } function updateLiquidityFee(uint8 newFee) external onlyOwner { require(newFee <= MAX_FEE_RATE, "wrong"); liquidityFee = newFee; totalFees = CLORewardsFee.add(liquidityFee).add(marketingFee); } function getClaimWait() external view returns (uint256) { return dividendTracker.seeClaimWait(); } function getTotalDividendsDistributed() external view returns (uint256) { return dividendTracker.gettotalDividendsDistributed(); } //chek 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.getBalanceOf(account); } function getAccountDividendsInfo( address account ) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256 ) { return dividendTracker.seeAccount(account); } function getAccountDividendsInfoAtIndex( uint256 index ) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256 ) { return dividendTracker.getAccountAtIndex(index); } function processDividendTracker(uint256 gas) external { ( uint256 iterations, uint256 claims, uint256 lastProcessedIndex ) = dividendTracker.process(gas); emit ProcessedDividendTracker( iterations, claims, lastProcessedIndex, false, gas, tx.origin ); } function claim() external { dividendTracker.processAccount(payable(msg.sender), false); } function getLastProcessedIndex() external view returns (uint256) { return dividendTracker.getLastProcessedIndex(); } function getNumberOfDividendTokenHolders() external view returns (uint256) { return dividendTracker.getNumberOfTokenHolders(); } function getTradingIsEnabled() public view returns (bool) { return tradingIsEnabled; } 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"); // only whitelisted addresses can make transfers after the fixed-sale has started // and before the public presale is over if (!tradingIsEnabled) { require( canTransferBeforeTradingIsEnabled[from], "CONTRACT: This account cannot send tokens until trading is enabled" ); } if (amount == 0) { super._transfer(from, to, 0); return; } if ( !swapping && tradingIsEnabled && automatedMarketMakerPairs[to] && // sells only by detecting transfer to automated market maker pair from != address(uniswapV2Router) && //router -> pair is removing liquidity which shouldn't have max !_isExcludedFromFees[to] //no max for those excluded from fees ) { require( amount <= maxSellTransactionAmount, "Sell transfer amount exceeds the maxSellTransactionAmount." ); } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( tradingIsEnabled && canSwap && !swapping && !automatedMarketMakerPairs[from] && from != liquidityWallet && to != liquidityWallet ) { swapping = true; uint256 swapTokens = contractTokenBalance.mul(liquidityFee).div( totalFees ); swapAndLiquify(swapTokens); uint256 swapMarketingTokens = contractTokenBalance .mul(marketingFee) .div(totalFees); swapAndSendMarketingCLO(swapMarketingTokens); uint256 sellTokens = balanceOf(address(this)); swapAndSendDividends(sellTokens); swapping = false; } bool takeFee = true; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if (takeFee) { uint256 fees = amount.mul(totalFees).div(100); amount = amount.sub(fees); require( !isGreaterThanMaxAllowance(amount, to), "reciever balance will be greater than Maximum allowance" ); super._transfer(from, address(this), fees); } super._transfer(from, to, amount); try dividendTracker.setBalance(payable(from), balanceOf(from)) {} catch {} try dividendTracker.setBalance(payable(to), balanceOf(to)) {} catch {} if (!swapping) { uint256 gas = gasForProcessing; try dividendTracker.process(gas) returns ( uint256 iterations, uint256 claims, uint256 lastProcessedIndex ) { emit ProcessedDividendTracker( iterations, claims, lastProcessedIndex, true, gas, tx.origin ); } catch {} } } function isGreaterThanMaxAllowance( uint256 _addAmount, address _to ) internal view returns (bool) { if (automatedMarketMakerPairs[_to]) { return false; } uint256 recieverCurrentBal = balanceOf(_to); if (recieverCurrentBal.add(_addAmount) > maxTokenAllowance) { return true; } else { return false; } } function Launch() external onlyOwner { require(!tradingIsEnabled); tradingIsEnabled = true; } function SetcanTransferBeforeTradingIsEnabled( address _Wallet ) external onlyOwner { dividendTracker.excludeFromDividends(_Wallet); excludeFromFees(_Wallet, true); canTransferBeforeTradingIsEnabled[_Wallet] = true; } function updatemarketingWallet( address newmarketingWallet ) public onlyOwner { require( newmarketingWallet != marketingWallet, "LUCK: The marketing wallet is already this address" ); emit marketingWalletUpdated(newmarketingWallet, marketingWallet); marketingWallet = newmarketingWallet; } function swapAndLiquify(uint256 tokens) private { // split the contract balance into halves uint256 half = tokens.div(2); uint256 otherHalf = tokens.sub(half); // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // <- this breaks the ETH -> LUCK swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // add liquidity to uniswap addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> WCLO address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WCLO(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForCLOSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function swapAndSendMarketingCLO(uint256 tokenAmount) private { // generate the uniswap pair path of token -> WCLO address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WCLO(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForCLOSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, marketingWallet, block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityCLO{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable liquidityWallet, block.timestamp ); } function swapAndSendDividends(uint256 tokens) private { swapTokensForEth(tokens); uint256 dividends = address(this).balance; (bool success, ) = address(dividendTracker).call{value: dividends}(""); if (success) { emit SendDividends(tokens, dividends); } } function ERecover() public onlyOwner { payable(msg.sender).transfer(address(this).balance); } }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"ExcludeFromFees","inputs":[{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"bool","name":"isExcluded","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"ExcludeMultipleAccountsFromFees","inputs":[{"type":"address[]","name":"accounts","internalType":"address[]","indexed":false},{"type":"bool","name":"isExcluded","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"GasForProcessingUpdated","inputs":[{"type":"uint256","name":"newValue","internalType":"uint256","indexed":true},{"type":"uint256","name":"oldValue","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"LiquidityWalletUpdated","inputs":[{"type":"address","name":"newLiquidityWallet","internalType":"address","indexed":true},{"type":"address","name":"oldLiquidityWallet","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"ProcessedDividendTracker","inputs":[{"type":"uint256","name":"iterations","internalType":"uint256","indexed":false},{"type":"uint256","name":"claims","internalType":"uint256","indexed":false},{"type":"uint256","name":"lastProcessedIndex","internalType":"uint256","indexed":false},{"type":"bool","name":"automatic","internalType":"bool","indexed":true},{"type":"uint256","name":"gas","internalType":"uint256","indexed":false},{"type":"address","name":"processor","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"SendDividends","inputs":[{"type":"uint256","name":"tokensSwapped","internalType":"uint256","indexed":false},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetAutomatedMarketMakerPair","inputs":[{"type":"address","name":"pair","internalType":"address","indexed":true},{"type":"bool","name":"value","internalType":"bool","indexed":true}],"anonymous":false},{"type":"event","name":"SwapAndLiquify","inputs":[{"type":"uint256","name":"tokensSwapped","internalType":"uint256","indexed":false},{"type":"uint256","name":"ethReceived","internalType":"uint256","indexed":false},{"type":"uint256","name":"tokensIntoLiqudity","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"UpdateDividendTracker","inputs":[{"type":"address","name":"newAddress","internalType":"address","indexed":true},{"type":"address","name":"oldAddress","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"UpdateUniswapV2Router","inputs":[{"type":"address","name":"newAddress","internalType":"address","indexed":true},{"type":"address","name":"oldAddress","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"marketingWalletUpdated","inputs":[{"type":"address","name":"newmarketingWallet","internalType":"address","indexed":true},{"type":"address","name":"oldmarketingWallet","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"CLORewardsFee","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"ERecover","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"Launch","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_FEE_RATE","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"SetcanTransferBeforeTradingIsEnabled","inputs":[{"type":"address","name":"_Wallet","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"automatedMarketMakerPairs","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claim","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"dividendTokenBalanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract ILuckDividendTracker"}],"name":"dividendTracker","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromFees","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"bool","name":"excluded","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeMultipleAccountsFromFees","inputs":[{"type":"address[]","name":"accounts","internalType":"address[]"},{"type":"bool","name":"excluded","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"gasForProcessing","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"},{"type":"int256","name":"","internalType":"int256"},{"type":"int256","name":"","internalType":"int256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"getAccountDividendsInfo","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"},{"type":"int256","name":"","internalType":"int256"},{"type":"int256","name":"","internalType":"int256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"getAccountDividendsInfoAtIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getClaimWait","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLastProcessedIndex","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getNumberOfDividendTokenHolders","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getTotalDividendsDistributed","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"getTradingIsEnabled","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"initialSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initializerOne","inputs":[{"type":"address","name":"_addy","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"isInit","internalType":"bool"}],"name":"initializerTwo","inputs":[{"type":"address","name":"_dividendTrackerAddress","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromFees","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"liquidityFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"liquidityWallet","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"marketingFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"marketingWallet","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxSellTransactionAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxTokenAllowance","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"modifyMaxTokenPercentage","inputs":[{"type":"uint256","name":"_newPercent","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"processDividendTracker","inputs":[{"type":"uint256","name":"gas","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAutomatedMarketMakerPair","inputs":[{"type":"address","name":"pair","internalType":"address"},{"type":"bool","name":"value","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxSellTransaction","inputs":[{"type":"uint256","name":"_maxTxn","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSwapTokensAtAmount","inputs":[{"type":"uint256","name":"_swapAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"swapTokensAtAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalFees","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"tradingIsEnabled","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"uniswapV2Pair","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Router02"}],"name":"uniswapV2Router","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateCLORewardsFee","inputs":[{"type":"uint8","name":"newFee","internalType":"uint8"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateClaimWait","inputs":[{"type":"uint256","name":"claimWait","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateDividendTracker","inputs":[{"type":"address","name":"newAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateGasForProcessing","inputs":[{"type":"uint256","name":"newValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateLiquidityFee","inputs":[{"type":"uint8","name":"newFee","internalType":"uint8"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateLiquidityWallet","inputs":[{"type":"address","name":"newLiquidityWallet","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateMarketingFee","inputs":[{"type":"uint8","name":"newFee","internalType":"uint8"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateMinimumBalanceForDividends","inputs":[{"type":"uint256","name":"newMinimumBalance","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateUniswapV2Router","inputs":[{"type":"address","name":"newAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updatemarketingWallet","inputs":[{"type":"address","name":"newmarketingWallet","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"withdrawableDividendOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"receive","stateMutability":"payable"}]
Contract Creation Code
0x60806040526954b40b1f852bda000000600a556901b1ae4d6e2ef5000000600b556a2116545850052128000000601055601380546001600160a01b031916739e2631328c76a947ba14630bcce0b605d62af2af179055620493e06014556015805460ff191690553480156200007357600080fd5b506040805180820182526004808252634c55434b60e01b6020808401829052845180860190955291845290830152906003620000b08382620006da565b506004620000bf8282620006da565b5050506000620000d46200025e60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600c819055600d819055600f8190558080620001668162000152818062000262602090811b6200243617901c565b6200026260201b620024361790919060201c565b600e55600554600980546001600160a01b039092166001600160a01b031990921691909117905560506012819055601054620001cb916103e891620001b791620002d2602090811b6200249a17901c565b6200035c60201b6200251c1790919060201c565b601155600954620001e7906001600160a01b03166001620003a6565b620001f4306001620003a6565b6001601760006200020d6005546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055620002556200024c6005546001600160a01b031690565b601054620004f9565b5050506200085f565b3390565b600080620002718385620007bc565b905083811015620002c95760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064015b60405180910390fd5b90505b92915050565b600082600003620002e657506000620002cc565b6000620002f48385620007d2565b905082620003038583620007ec565b14620002c95760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401620002c0565b6000620002c983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620005f560201b60201c565b6005546001600160a01b03163314620004025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620002c0565b6001600160a01b03821660009081526016602052604090205481151560ff9091161515036200049a5760405162461bcd60e51b815260206004820152603460248201527f434f4e54524143543a204163636f756e7420697320616c72656164792074686560448201527f2076616c7565206f6620276578636c75646564270000000000000000000000006064820152608401620002c0565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005515760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620002c0565b6200056d816002546200026260201b620024361790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620005a09183906200243662000262821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60008183620006195760405162461bcd60e51b8152600401620002c091906200080f565b506000620006288486620007ec565b95945050505050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200066157607f821691505b6020821081036200068257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200063157600081815260208120601f850160051c81016020861015620006b15750805b601f850160051c820191505b81811015620006d257828155600101620006bd565b505050505050565b81516001600160401b03811115620006f657620006f662000636565b6200070e816200070784546200064c565b8462000688565b602080601f8311600181146200074657600084156200072d5750858301515b600019600386901b1c1916600185901b178555620006d2565b600085815260208120601f198616915b82811015620007775788860151825594840194600190910190840162000756565b5085821015620007965787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820180821115620002cc57620002cc620007a6565b8082028115828204841417620002cc57620002cc620007a6565b6000826200080a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208083528351808285015260005b818110156200083e5785810183015185820160400152820162000820565b506000604082860101526040601f19601f8301168501019250505092915050565b613a82806200086f6000396000f3fe6080604052600436106103475760003560e01c806388bdd9be116101b2578063afa4f3b2116100ed578063d46d9ba111610090578063d46d9ba114610a1a578063dd62ed3e14610a3a578063e2f4560514610a80578063e37ba8f914610a96578063e7841ec014610ab6578063e98030c714610acb578063f27fd25414610aeb578063f2fde38b14610b0b57600080fd5b8063afa4f3b21461090a578063b62496f51461092a578063bb870d541461095a578063bff781691461097a578063c02466681461099a578063c3bc4622146109ba578063c492f046146109da578063d4698016146109fa57600080fd5b80639e272317116101555780639e272317146107e45780639f044f6c14610804578063a26579ad1461081a578063a457c2d71461082f578063a66dc7a31461084f578063a8b9d24014610865578063a9059cbb14610885578063ad56c13c146108a557600080fd5b806388bdd9be146107195780638da5cb5b1461073957806392e4ef9d1461074e57806392f6576e1461076e57806395d89b411461078357806398118cb4146107985780639a7a23d6146107ae5780639c1b8af5146107ce57600080fd5b80633b364da81161028257806365b8dbc01161022557806365b8dbc01461062e5780636843cd841461064e5780636b67c4df1461066e578063700bb1911461068457806370a08231146106a4578063715018a6146106c457806375f0a874146106d9578063871c128d146106f957600080fd5b80633b364da8146105335780633db1cfe81461055357806349bd5a5e146105735780634d33b1ef146105935780634e71d92d146105ab5780634fbee193146105c05780635c38ffe2146105f957806364b0f6531461061957600080fd5b806318160ddd116102ea57806318160ddd1461046257806323b872dd146104775780632c1f52161461049757806330bb4cff146104b7578063313ce567146104cc57806332fa577b146104e8578063378dc3dc146104fd578063395093511461051357600080fd5b806302259e9e1461035357806302ac81681461037c57806306fdde0314610393578063095ea7b3146103b557806309c58fcd146103e557806313114a9d146103ff5780631519f1f0146104155780631694505e1461043557600080fd5b3661034e57005b600080fd5b34801561035f57600080fd5b50610369600a5481565b6040519081526020015b60405180910390f35b34801561038857600080fd5b50610391610b2b565b005b34801561039f57600080fd5b506103a8610b7d565b6040516103739190613419565b3480156103c157600080fd5b506103d56103d036600461347c565b610c0f565b6040519015158152602001610373565b3480156103f157600080fd5b506015546103d59060ff1681565b34801561040b57600080fd5b50610369600e5481565b34801561042157600080fd5b506103916104303660046134a8565b610c26565b34801561044157600080fd5b50600654610455906001600160a01b031681565b60405161037391906134cb565b34801561046e57600080fd5b50600254610369565b34801561048357600080fd5b506103d56104923660046134df565b610c9d565b3480156104a357600080fd5b50600854610455906001600160a01b031681565b3480156104c357600080fd5b50610369610d06565b3480156104d857600080fd5b5060405160128152602001610373565b3480156104f457600080fd5b50610391610d79565b34801561050957600080fd5b5061036960105481565b34801561051f57600080fd5b506103d561052e36600461347c565b610dd2565b34801561053f57600080fd5b5061039161054e366004613520565b610e08565b34801561055f57600080fd5b5061039161056e3660046134a8565b610e94565b34801561057f57600080fd5b50600754610455906001600160a01b031681565b34801561059f57600080fd5b5060155460ff166103d5565b3480156105b757600080fd5b50610391610efe565b3480156105cc57600080fd5b506103d56105db366004613539565b6001600160a01b031660009081526016602052604090205460ff1690565b34801561060557600080fd5b50610391610614366004613520565b610f73565b34801561062557600080fd5b50610369610fb5565b34801561063a57600080fd5b50610391610649366004613539565b610fff565b34801561065a57600080fd5b50610369610669366004613539565b6110fa565b34801561067a57600080fd5b50610369600f5481565b34801561069057600080fd5b5061039161069f366004613520565b61116c565b3480156106b057600080fd5b506103696106bf366004613539565b61123e565b3480156106d057600080fd5b50610391611259565b3480156106e557600080fd5b50601354610455906001600160a01b031681565b34801561070557600080fd5b50610391610714366004613520565b6112cd565b34801561072557600080fd5b50610391610734366004613539565b611422565b34801561074557600080fd5b506104556116ae565b34801561075a57600080fd5b50610391610769366004613539565b6116bd565b34801561077a57600080fd5b50610369600a81565b34801561078f57600080fd5b506103a8611778565b3480156107a457600080fd5b50610369600d5481565b3480156107ba57600080fd5b506103916107c9366004613564565b611787565b3480156107da57600080fd5b5061036960145481565b3480156107f057600080fd5b506103916107ff366004613539565b61185b565b34801561081057600080fd5b5061036960115481565b34801561082657600080fd5b50610369611a01565b34801561083b57600080fd5b506103d561084a36600461347c565b611a4b565b34801561085b57600080fd5b50610369600c5481565b34801561087157600080fd5b50610369610880366004613539565b611a9a565b34801561089157600080fd5b506103d56108a036600461347c565b611acb565b3480156108b157600080fd5b506108c56108c0366004613539565b611ad8565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610373565b34801561091657600080fd5b50610391610925366004613520565b611b76565b34801561093657600080fd5b506103d5610945366004613539565b60186020526000908152604090205460ff1681565b34801561096657600080fd5b506103d5610975366004613539565b611bb8565b34801561098657600080fd5b50610391610995366004613539565b611da8565b3480156109a657600080fd5b506103916109b5366004613564565b611ea8565b3480156109c657600080fd5b506103916109d5366004613520565b611fbe565b3480156109e657600080fd5b506103916109f536600461359d565b61200e565b348015610a0657600080fd5b50600954610455906001600160a01b031681565b348015610a2657600080fd5b50610391610a353660046134a8565b6120ea565b348015610a4657600080fd5b50610369610a55366004613623565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610a8c57600080fd5b50610369600b5481565b348015610aa257600080fd5b50610391610ab1366004613539565b612155565b348015610ac257600080fd5b50610369612264565b348015610ad757600080fd5b50610391610ae6366004613520565b6122ae565b348015610af757600080fd5b506108c5610b06366004613520565b612309565b348015610b1757600080fd5b50610391610b26366004613539565b61234b565b6005546001600160a01b03163314610b5e5760405162461bcd60e51b8152600401610b5590613651565b60405180910390fd5b60155460ff1615610b6e57600080fd5b6015805460ff19166001179055565b606060038054610b8c90613686565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb890613686565b8015610c055780601f10610bda57610100808354040283529160200191610c05565b820191906000526020600020905b815481529060010190602001808311610be857829003601f168201915b5050505050905090565b6000610c1c33848461255b565b5060015b92915050565b6005546001600160a01b03163314610c505760405162461bcd60e51b8152600401610b5590613651565b600a8160ff161115610c745760405162461bcd60e51b8152600401610b55906136c0565b60ff8116600d819055600f54600c54610c9792610c919190612436565b90612436565b600e5550565b6000610caa848484612680565b610cfc8433610cf785604051806060016040528060288152602001613a00602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612c4e565b61255b565b5060019392505050565b60085460408051633a924a1f60e21b815290516000926001600160a01b03169163ea49287c9160048083019260209291908290030181865afa158015610d50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7491906136df565b905090565b6005546001600160a01b03163314610da35760405162461bcd60e51b8152600401610b5590613651565b60405133904780156108fc02916000818181858888f19350505050158015610dcf573d6000803e3d6000fd5b50565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610c1c918590610cf79086612436565b6005546001600160a01b03163314610e325760405162461bcd60e51b8152600401610b5590613651565b600854604051630dcb2e8960e01b8152600481018390526001600160a01b0390911690630dcb2e89906024015b600060405180830381600087803b158015610e7957600080fd5b505af1158015610e8d573d6000803e3d6000fd5b5050505050565b6005546001600160a01b03163314610ebe5760405162461bcd60e51b8152600401610b5590613651565b600a8160ff161115610ee25760405162461bcd60e51b8152600401610b55906136c0565b60ff8116600c819055600f54600d54610c9792610c9191612436565b60085460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af1158015610f4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcf91906136f8565b6005546001600160a01b03163314610f9d5760405162461bcd60e51b8152600401610b5590613651565b610faf81670de0b6b3a764000061372b565b600a5550565b600854604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde9160048083019260209291908290030181865afa158015610d50573d6000803e3d6000fd5b6005546001600160a01b031633146110295760405162461bcd60e51b8152600401610b5590613651565b6006546001600160a01b039081169082160361109d5760405162461bcd60e51b815260206004820152602d60248201527f434f4e54524143543a2054686520726f7574657220616c72656164792068617360448201526c2074686174206164647265737360981b6064820152608401610b55565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600854604051634dcb776760e11b81526000916001600160a01b031690639b96eece9061112b9085906004016134cb565b602060405180830381865afa158015611148573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2091906136df565b6008546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c479906024016060604051808303816000875af11580156111bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e39190613742565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146112835760405162461bcd60e51b8152600401610b5590613651565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146112f75760405162461bcd60e51b8152600401610b5590613651565b62030d40811015801561130d5750620aae608111155b61137f5760405162461bcd60e51b815260206004820152603e60248201527f434f4e54524143543a20676173466f7250726f63657373696e67206d7573742060448201527f6265206265747765656e203230302c30303020616e64203730302c30303000006064820152608401610b55565b60145481036113ef5760405162461bcd60e51b815260206004820152603660248201527f434f4e54524143543a2043616e6e6f742075706461746520676173466f7250726044820152756f63657373696e6720746f2073616d652076616c756560501b6064820152608401610b55565b60145460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601455565b6005546001600160a01b0316331461144c5760405162461bcd60e51b8152600401610b5590613651565b6008546001600160a01b03908116908216036114ca5760405162461bcd60e51b815260206004820152603760248201527f434f4e54524143543a20546865206469766964656e6420747261636b657220616044820152766c7265616479206861732074686174206164647265737360481b6064820152608401610b55565b60405163031e79db60e41b815281906001600160a01b038216906331e79db0906114f89084906004016134cb565b600060405180830381600087803b15801561151257600080fd5b505af1158015611526573d6000803e3d6000fd5b505060405163031e79db60e41b81526001600160a01b03841692506331e79db091506115569030906004016134cb565b600060405180830381600087803b15801561157057600080fd5b505af1158015611584573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db061159f6116ae565b6040518263ffffffff1660e01b81526004016115bb91906134cb565b600060405180830381600087803b1580156115d557600080fd5b505af11580156115e9573d6000803e3d6000fd5b505060065460405163031e79db60e41b81526001600160a01b0380861694506331e79db0935061161d9216906004016134cb565b600060405180830381600087803b15801561163757600080fd5b505af115801561164b573d6000803e3d6000fd5b50506008546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600880546001600160a01b0319166001600160a01b039290921691909117905550565b6005546001600160a01b031690565b6005546001600160a01b031633146116e75760405162461bcd60e51b8152600401610b5590613651565b60085460405163031e79db60e41b81526001600160a01b03909116906331e79db0906117179084906004016134cb565b600060405180830381600087803b15801561173157600080fd5b505af1158015611745573d6000803e3d6000fd5b50505050611754816001611ea8565b6001600160a01b03166000908152601760205260409020805460ff19166001179055565b606060048054610b8c90613686565b6005546001600160a01b031633146117b15760405162461bcd60e51b8152600401610b5590613651565b6007546001600160a01b039081169083160361184d5760405162461bcd60e51b815260206004820152604f60248201527f434f4e54524143543a205468652050616e63616b65537761702070616972206360448201527f616e6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d60648201526e61726b65744d616b6572506169727360881b608482015260a401610b55565b6118578282612c88565b5050565b6005546001600160a01b031633146118855760405162461bcd60e51b8152600401610b5590613651565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ee9190613770565b6001600160a01b031663c9c6539630846001600160a01b03166379cce4f56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561193b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195f9190613770565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156119ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d09190613770565b600680546001600160a01b039485166001600160a01b03199182161790915560078054929094169116179091555050565b600854604080516390da3d1b60e01b815290516000926001600160a01b0316916390da3d1b9160048083019260209291908290030181865afa158015610d50573d6000803e3d6000fd5b6000610c1c3384610cf785604051806060016040528060258152602001613a28602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612c4e565b6008546040516302a2e74960e61b81526000916001600160a01b03169063a8b9d2409061112b9085906004016134cb565b6000610c1c338484612680565b60085460405163e3e3cd4d60e01b815260009182918291829182918291829182916001600160a01b039091169063e3e3cd4d90611b19908c906004016134cb565b61010060405180830381865afa158015611b37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5b919061378d565b97509750975097509750975097509750919395975091939597565b6005546001600160a01b03163314611ba05760405162461bcd60e51b8152600401610b5590613651565b611bb281670de0b6b3a764000061372b565b600b5550565b6005546000906001600160a01b03163314611be55760405162461bcd60e51b8152600401610b5590613651565b600880546001600160a01b0319166001600160a01b03841690811790915560405163031e79db60e41b81526331e79db090611c249083906004016134cb565b600060405180830381600087803b158015611c3e57600080fd5b505af1158015611c52573d6000803e3d6000fd5b505060085460405163031e79db60e41b81526001600160a01b0390911692506331e79db09150611c869030906004016134cb565b600060405180830381600087803b158015611ca057600080fd5b505af1158015611cb4573d6000803e3d6000fd5b50506008546001600160a01b031691506331e79db09050611cd36116ae565b6040518263ffffffff1660e01b8152600401611cef91906134cb565b600060405180830381600087803b158015611d0957600080fd5b505af1158015611d1d573d6000803e3d6000fd5b505060085460065460405163031e79db60e41b81526001600160a01b0392831694506331e79db09350611d5692909116906004016134cb565b600060405180830381600087803b158015611d7057600080fd5b505af1158015611d84573d6000803e3d6000fd5b5050600754611da092506001600160a01b031690506001612c88565b506001919050565b6005546001600160a01b03163314611dd25760405162461bcd60e51b8152600401610b5590613651565b6013546001600160a01b0390811690821603611e4b5760405162461bcd60e51b815260206004820152603260248201527f4c55434b3a20546865206d61726b6574696e672077616c6c657420697320616c60448201527172656164792074686973206164647265737360701b6064820152608401610b55565b6013546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3601380546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611ed25760405162461bcd60e51b8152600401610b5590613651565b6001600160a01b03821660009081526016602052604090205481151560ff909116151503611f5f5760405162461bcd60e51b815260206004820152603460248201527f434f4e54524143543a204163636f756e7420697320616c7265616479207468656044820152732076616c7565206f6620276578636c756465642760601b6064820152608401610b55565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314611fe85760405162461bcd60e51b8152600401610b5590613651565b6012819055601054612008906103e890612002908461249a565b9061251c565b60115550565b6005546001600160a01b031633146120385760405162461bcd60e51b8152600401610b5590613651565b60005b828110156120a957816016600086868581811061205a5761205a6137f7565b905060200201602081019061206f9190613539565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806120a18161380d565b91505061203b565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358383836040516120dd93929190613826565b60405180910390a1505050565b6005546001600160a01b031633146121145760405162461bcd60e51b8152600401610b5590613651565b600a8160ff1611156121385760405162461bcd60e51b8152600401610b55906136c0565b60ff8116600f819055600d54600c54610c9792610c919190612436565b6005546001600160a01b0316331461217f5760405162461bcd60e51b8152600401610b5590613651565b6009546001600160a01b03908116908216036121fc5760405162461bcd60e51b815260206004820152603660248201527f434f4e54524143543a20546865206c69717569646974792077616c6c657420696044820152757320616c72656164792074686973206164647265737360501b6064820152608401610b55565b612207816001611ea8565b6009546040516001600160a01b03918216918316907f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e90600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6008546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec09160048083019260209291908290030181865afa158015610d50573d6000803e3d6000fd5b6005546001600160a01b031633146122d85760405162461bcd60e51b8152600401610b5590613651565b60085460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401610e5f565b600854604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd90602401611b19565b6005546001600160a01b031633146123755760405162461bcd60e51b8152600401610b5590613651565b6001600160a01b0381166123da5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b55565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600080612443838561387f565b9050838110156124935760405162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b6044820152606401610b55565b9392505050565b6000826000036124ac57506000610c20565b60006124b8838561372b565b9050826124c58583613892565b146124935760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b55565b600061249383836040518060400160405280601a815260200179536166654d6174683a206469766973696f6e206279207a65726f60301b815250612df5565b6001600160a01b0383166125bd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b55565b6001600160a01b03821661261e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b55565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166126a65760405162461bcd60e51b8152600401610b55906138b4565b6001600160a01b0382166126cc5760405162461bcd60e51b8152600401610b55906138f9565b60155460ff1661276f576001600160a01b03831660009081526017602052604090205460ff1661276f5760405162461bcd60e51b815260206004820152604260248201527f434f4e54524143543a2054686973206163636f756e742063616e6e6f7420736560448201527f6e6420746f6b656e7320756e74696c2074726164696e6720697320656e61626c606482015261195960f21b608482015260a401610b55565b806000036127885761278383836000612e23565b505050565b600754600160a01b900460ff161580156127a4575060155460ff165b80156127c857506001600160a01b03821660009081526018602052604090205460ff165b80156127e257506006546001600160a01b03848116911614155b801561280757506001600160a01b03821660009081526016602052604090205460ff16155b1561288157600a548111156128815760405162461bcd60e51b815260206004820152603a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152791036b0bc29b2b6362a3930b739b0b1ba34b7b720b6b7bab73a1760311b6064820152608401610b55565b600061288c3061123e565b600b546015549192508210159060ff1680156128a55750805b80156128bb5750600754600160a01b900460ff16155b80156128e057506001600160a01b03851660009081526018602052604090205460ff16155b80156128fa57506009546001600160a01b03868116911614155b801561291457506009546001600160a01b03858116911614155b1561299e576007805460ff60a01b1916600160a01b179055600e54600d546000916129449161200290869061249a565b905061294f81612f2c565b600061296c600e54612002600f548761249a90919063ffffffff16565b905061297781612fb3565b60006129823061123e565b905061298d81613109565b50506007805460ff60a01b19169055505b6001600160a01b03851660009081526016602052604090205460019060ff16806129e057506001600160a01b03851660009081526016602052604090205460ff165b156129e9575060005b8015612a9d576000612a0b6064612002600e548861249a90919063ffffffff16565b9050612a1785826131a8565b9450612a2385876131ea565b15612a905760405162461bcd60e51b815260206004820152603760248201527f72656369657665722062616c616e63652077696c6c2062652067726561746572604482015276207468616e204d6178696d756d20616c6c6f77616e636560481b6064820152608401610b55565b612a9b873083612e23565b505b612aa8868686612e23565b6008546001600160a01b031663e30443bc87612ac38161123e565b6040518363ffffffff1660e01b8152600401612ae092919061393c565b600060405180830381600087803b158015612afa57600080fd5b505af1925050508015612b0b575060015b506008546001600160a01b031663e30443bc86612b278161123e565b6040518363ffffffff1660e01b8152600401612b4492919061393c565b600060405180830381600087803b158015612b5e57600080fd5b505af1925050508015612b6f575060015b50600754600160a01b900460ff16612c46576014546008546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c479906024016060604051808303816000875af1925050508015612bee575060408051601f3d908101601f19168201909252612beb91810190613742565b60015b15612c445760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b505050505050565b60008184841115612c725760405162461bcd60e51b8152600401610b559190613419565b506000612c7f8486613955565b95945050505050565b6001600160a01b03821660009081526018602052604090205481151560ff909116151503612d295760405162461bcd60e51b815260206004820152604260248201527f434f4e54524143543a204175746f6d61746564206d61726b6574206d616b657260448201527f207061697220697320616c72656164792073657420746f20746861742076616c606482015261756560f01b608482015260a401610b55565b6001600160a01b0382166000908152601860205260409020805460ff19168215801591909117909155612db95760085460405163031e79db60e41b81526001600160a01b03909116906331e79db090612d869085906004016134cb565b600060405180830381600087803b158015612da057600080fd5b505af1158015612db4573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b60008183612e165760405162461bcd60e51b8152600401610b559190613419565b506000612c7f8486613892565b6001600160a01b038316612e495760405162461bcd60e51b8152600401610b55906138b4565b6001600160a01b038216612e6f5760405162461bcd60e51b8152600401610b55906138f9565b612eac816040518060600160405280602681526020016139da602691396001600160a01b0386166000908152602081905260409020549190612c4e565b6001600160a01b038085166000908152602081905260408082209390935590841681522054612edb9082612436565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101612673565b6000612f3982600261251c565b90506000612f4783836131a8565b905047612f5383613248565b6000612f5f47836131a8565b9050612f6b838261336c565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612fe857612fe86137f7565b6001600160a01b03928316602091820292909201810191909152600654604080516379cce4f560e01b8152905191909316926379cce4f59260048083019391928290030181865afa158015613041573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130659190613770565b81600181518110613078576130786137f7565b6001600160a01b03928316602091820292909201015260065461309e913091168461255b565b600654601354604051639550b9a360e01b81526001600160a01b0392831692639550b9a3926130db92879260009288929116904290600401613968565b600060405180830381600087803b1580156130f557600080fd5b505af1158015612c46573d6000803e3d6000fd5b61311281613248565b60085460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114613163576040519150601f19603f3d011682016040523d82523d6000602084013e613168565b606091505b5050905080156127835760408051848152602081018490527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc391016120dd565b600061249383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612c4e565b6001600160a01b03811660009081526018602052604081205460ff161561321357506000610c20565b600061321e8361123e565b60115490915061322e8286612436565b111561323e576001915050610c20565b6000915050610c20565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061327d5761327d6137f7565b6001600160a01b03928316602091820292909201810191909152600654604080516379cce4f560e01b8152905191909316926379cce4f59260048083019391928290030181865afa1580156132d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132fa9190613770565b8160018151811061330d5761330d6137f7565b6001600160a01b039283166020918202929092010152600654613333913091168461255b565b600654604051639550b9a360e01b81526001600160a01b0390911690639550b9a3906130db908590600090869030904290600401613968565b6006546133849030906001600160a01b03168461255b565b600654600954604051631854c79b60e31b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063c2a63cd890839060c40160606040518083038185885af11580156133f4573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e8d9190613742565b600060208083528351808285015260005b818110156134465785810183015185820160400152820161342a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610dcf57600080fd5b6000806040838503121561348f57600080fd5b823561349a81613467565b946020939093013593505050565b6000602082840312156134ba57600080fd5b813560ff8116811461249357600080fd5b6001600160a01b0391909116815260200190565b6000806000606084860312156134f457600080fd5b83356134ff81613467565b9250602084013561350f81613467565b929592945050506040919091013590565b60006020828403121561353257600080fd5b5035919050565b60006020828403121561354b57600080fd5b813561249381613467565b8015158114610dcf57600080fd5b6000806040838503121561357757600080fd5b823561358281613467565b9150602083013561359281613556565b809150509250929050565b6000806000604084860312156135b257600080fd5b833567ffffffffffffffff808211156135ca57600080fd5b818601915086601f8301126135de57600080fd5b8135818111156135ed57600080fd5b8760208260051b850101111561360257600080fd5b6020928301955093505084013561361881613556565b809150509250925092565b6000806040838503121561363657600080fd5b823561364181613467565b9150602083013561359281613467565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061369a57607f821691505b6020821081036136ba57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526005908201526477726f6e6760d81b604082015260600190565b6000602082840312156136f157600080fd5b5051919050565b60006020828403121561370a57600080fd5b815161249381613556565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610c2057610c20613715565b60008060006060848603121561375757600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561378257600080fd5b815161249381613467565b600080600080600080600080610100898b0312156137aa57600080fd5b88516137b581613467565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b634e487b7160e01b600052603260045260246000fd5b60006001820161381f5761381f613715565b5060010190565b6040808252810183905260008460608301825b8681101561386957823561384c81613467565b6001600160a01b0316825260209283019290910190600101613839565b5080925050508215156020830152949350505050565b80820180821115610c2057610c20613715565b6000826138af57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6001600160a01b03929092168252602082015260400190565b81810381811115610c2057610c20613715565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156139b85784516001600160a01b031683529383019391830191600101613993565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e90ac87469a09555617168f9a7fc1c920350f6cb498d712c297d1ed762753d2d64736f6c63430008110033
Deployed ByteCode
0x6080604052600436106103475760003560e01c806388bdd9be116101b2578063afa4f3b2116100ed578063d46d9ba111610090578063d46d9ba114610a1a578063dd62ed3e14610a3a578063e2f4560514610a80578063e37ba8f914610a96578063e7841ec014610ab6578063e98030c714610acb578063f27fd25414610aeb578063f2fde38b14610b0b57600080fd5b8063afa4f3b21461090a578063b62496f51461092a578063bb870d541461095a578063bff781691461097a578063c02466681461099a578063c3bc4622146109ba578063c492f046146109da578063d4698016146109fa57600080fd5b80639e272317116101555780639e272317146107e45780639f044f6c14610804578063a26579ad1461081a578063a457c2d71461082f578063a66dc7a31461084f578063a8b9d24014610865578063a9059cbb14610885578063ad56c13c146108a557600080fd5b806388bdd9be146107195780638da5cb5b1461073957806392e4ef9d1461074e57806392f6576e1461076e57806395d89b411461078357806398118cb4146107985780639a7a23d6146107ae5780639c1b8af5146107ce57600080fd5b80633b364da81161028257806365b8dbc01161022557806365b8dbc01461062e5780636843cd841461064e5780636b67c4df1461066e578063700bb1911461068457806370a08231146106a4578063715018a6146106c457806375f0a874146106d9578063871c128d146106f957600080fd5b80633b364da8146105335780633db1cfe81461055357806349bd5a5e146105735780634d33b1ef146105935780634e71d92d146105ab5780634fbee193146105c05780635c38ffe2146105f957806364b0f6531461061957600080fd5b806318160ddd116102ea57806318160ddd1461046257806323b872dd146104775780632c1f52161461049757806330bb4cff146104b7578063313ce567146104cc57806332fa577b146104e8578063378dc3dc146104fd578063395093511461051357600080fd5b806302259e9e1461035357806302ac81681461037c57806306fdde0314610393578063095ea7b3146103b557806309c58fcd146103e557806313114a9d146103ff5780631519f1f0146104155780631694505e1461043557600080fd5b3661034e57005b600080fd5b34801561035f57600080fd5b50610369600a5481565b6040519081526020015b60405180910390f35b34801561038857600080fd5b50610391610b2b565b005b34801561039f57600080fd5b506103a8610b7d565b6040516103739190613419565b3480156103c157600080fd5b506103d56103d036600461347c565b610c0f565b6040519015158152602001610373565b3480156103f157600080fd5b506015546103d59060ff1681565b34801561040b57600080fd5b50610369600e5481565b34801561042157600080fd5b506103916104303660046134a8565b610c26565b34801561044157600080fd5b50600654610455906001600160a01b031681565b60405161037391906134cb565b34801561046e57600080fd5b50600254610369565b34801561048357600080fd5b506103d56104923660046134df565b610c9d565b3480156104a357600080fd5b50600854610455906001600160a01b031681565b3480156104c357600080fd5b50610369610d06565b3480156104d857600080fd5b5060405160128152602001610373565b3480156104f457600080fd5b50610391610d79565b34801561050957600080fd5b5061036960105481565b34801561051f57600080fd5b506103d561052e36600461347c565b610dd2565b34801561053f57600080fd5b5061039161054e366004613520565b610e08565b34801561055f57600080fd5b5061039161056e3660046134a8565b610e94565b34801561057f57600080fd5b50600754610455906001600160a01b031681565b34801561059f57600080fd5b5060155460ff166103d5565b3480156105b757600080fd5b50610391610efe565b3480156105cc57600080fd5b506103d56105db366004613539565b6001600160a01b031660009081526016602052604090205460ff1690565b34801561060557600080fd5b50610391610614366004613520565b610f73565b34801561062557600080fd5b50610369610fb5565b34801561063a57600080fd5b50610391610649366004613539565b610fff565b34801561065a57600080fd5b50610369610669366004613539565b6110fa565b34801561067a57600080fd5b50610369600f5481565b34801561069057600080fd5b5061039161069f366004613520565b61116c565b3480156106b057600080fd5b506103696106bf366004613539565b61123e565b3480156106d057600080fd5b50610391611259565b3480156106e557600080fd5b50601354610455906001600160a01b031681565b34801561070557600080fd5b50610391610714366004613520565b6112cd565b34801561072557600080fd5b50610391610734366004613539565b611422565b34801561074557600080fd5b506104556116ae565b34801561075a57600080fd5b50610391610769366004613539565b6116bd565b34801561077a57600080fd5b50610369600a81565b34801561078f57600080fd5b506103a8611778565b3480156107a457600080fd5b50610369600d5481565b3480156107ba57600080fd5b506103916107c9366004613564565b611787565b3480156107da57600080fd5b5061036960145481565b3480156107f057600080fd5b506103916107ff366004613539565b61185b565b34801561081057600080fd5b5061036960115481565b34801561082657600080fd5b50610369611a01565b34801561083b57600080fd5b506103d561084a36600461347c565b611a4b565b34801561085b57600080fd5b50610369600c5481565b34801561087157600080fd5b50610369610880366004613539565b611a9a565b34801561089157600080fd5b506103d56108a036600461347c565b611acb565b3480156108b157600080fd5b506108c56108c0366004613539565b611ad8565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610373565b34801561091657600080fd5b50610391610925366004613520565b611b76565b34801561093657600080fd5b506103d5610945366004613539565b60186020526000908152604090205460ff1681565b34801561096657600080fd5b506103d5610975366004613539565b611bb8565b34801561098657600080fd5b50610391610995366004613539565b611da8565b3480156109a657600080fd5b506103916109b5366004613564565b611ea8565b3480156109c657600080fd5b506103916109d5366004613520565b611fbe565b3480156109e657600080fd5b506103916109f536600461359d565b61200e565b348015610a0657600080fd5b50600954610455906001600160a01b031681565b348015610a2657600080fd5b50610391610a353660046134a8565b6120ea565b348015610a4657600080fd5b50610369610a55366004613623565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610a8c57600080fd5b50610369600b5481565b348015610aa257600080fd5b50610391610ab1366004613539565b612155565b348015610ac257600080fd5b50610369612264565b348015610ad757600080fd5b50610391610ae6366004613520565b6122ae565b348015610af757600080fd5b506108c5610b06366004613520565b612309565b348015610b1757600080fd5b50610391610b26366004613539565b61234b565b6005546001600160a01b03163314610b5e5760405162461bcd60e51b8152600401610b5590613651565b60405180910390fd5b60155460ff1615610b6e57600080fd5b6015805460ff19166001179055565b606060038054610b8c90613686565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb890613686565b8015610c055780601f10610bda57610100808354040283529160200191610c05565b820191906000526020600020905b815481529060010190602001808311610be857829003601f168201915b5050505050905090565b6000610c1c33848461255b565b5060015b92915050565b6005546001600160a01b03163314610c505760405162461bcd60e51b8152600401610b5590613651565b600a8160ff161115610c745760405162461bcd60e51b8152600401610b55906136c0565b60ff8116600d819055600f54600c54610c9792610c919190612436565b90612436565b600e5550565b6000610caa848484612680565b610cfc8433610cf785604051806060016040528060288152602001613a00602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612c4e565b61255b565b5060019392505050565b60085460408051633a924a1f60e21b815290516000926001600160a01b03169163ea49287c9160048083019260209291908290030181865afa158015610d50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7491906136df565b905090565b6005546001600160a01b03163314610da35760405162461bcd60e51b8152600401610b5590613651565b60405133904780156108fc02916000818181858888f19350505050158015610dcf573d6000803e3d6000fd5b50565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610c1c918590610cf79086612436565b6005546001600160a01b03163314610e325760405162461bcd60e51b8152600401610b5590613651565b600854604051630dcb2e8960e01b8152600481018390526001600160a01b0390911690630dcb2e89906024015b600060405180830381600087803b158015610e7957600080fd5b505af1158015610e8d573d6000803e3d6000fd5b5050505050565b6005546001600160a01b03163314610ebe5760405162461bcd60e51b8152600401610b5590613651565b600a8160ff161115610ee25760405162461bcd60e51b8152600401610b55906136c0565b60ff8116600c819055600f54600d54610c9792610c9191612436565b60085460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af1158015610f4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcf91906136f8565b6005546001600160a01b03163314610f9d5760405162461bcd60e51b8152600401610b5590613651565b610faf81670de0b6b3a764000061372b565b600a5550565b600854604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde9160048083019260209291908290030181865afa158015610d50573d6000803e3d6000fd5b6005546001600160a01b031633146110295760405162461bcd60e51b8152600401610b5590613651565b6006546001600160a01b039081169082160361109d5760405162461bcd60e51b815260206004820152602d60248201527f434f4e54524143543a2054686520726f7574657220616c72656164792068617360448201526c2074686174206164647265737360981b6064820152608401610b55565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600854604051634dcb776760e11b81526000916001600160a01b031690639b96eece9061112b9085906004016134cb565b602060405180830381865afa158015611148573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2091906136df565b6008546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c479906024016060604051808303816000875af11580156111bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e39190613742565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146112835760405162461bcd60e51b8152600401610b5590613651565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146112f75760405162461bcd60e51b8152600401610b5590613651565b62030d40811015801561130d5750620aae608111155b61137f5760405162461bcd60e51b815260206004820152603e60248201527f434f4e54524143543a20676173466f7250726f63657373696e67206d7573742060448201527f6265206265747765656e203230302c30303020616e64203730302c30303000006064820152608401610b55565b60145481036113ef5760405162461bcd60e51b815260206004820152603660248201527f434f4e54524143543a2043616e6e6f742075706461746520676173466f7250726044820152756f63657373696e6720746f2073616d652076616c756560501b6064820152608401610b55565b60145460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601455565b6005546001600160a01b0316331461144c5760405162461bcd60e51b8152600401610b5590613651565b6008546001600160a01b03908116908216036114ca5760405162461bcd60e51b815260206004820152603760248201527f434f4e54524143543a20546865206469766964656e6420747261636b657220616044820152766c7265616479206861732074686174206164647265737360481b6064820152608401610b55565b60405163031e79db60e41b815281906001600160a01b038216906331e79db0906114f89084906004016134cb565b600060405180830381600087803b15801561151257600080fd5b505af1158015611526573d6000803e3d6000fd5b505060405163031e79db60e41b81526001600160a01b03841692506331e79db091506115569030906004016134cb565b600060405180830381600087803b15801561157057600080fd5b505af1158015611584573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db061159f6116ae565b6040518263ffffffff1660e01b81526004016115bb91906134cb565b600060405180830381600087803b1580156115d557600080fd5b505af11580156115e9573d6000803e3d6000fd5b505060065460405163031e79db60e41b81526001600160a01b0380861694506331e79db0935061161d9216906004016134cb565b600060405180830381600087803b15801561163757600080fd5b505af115801561164b573d6000803e3d6000fd5b50506008546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600880546001600160a01b0319166001600160a01b039290921691909117905550565b6005546001600160a01b031690565b6005546001600160a01b031633146116e75760405162461bcd60e51b8152600401610b5590613651565b60085460405163031e79db60e41b81526001600160a01b03909116906331e79db0906117179084906004016134cb565b600060405180830381600087803b15801561173157600080fd5b505af1158015611745573d6000803e3d6000fd5b50505050611754816001611ea8565b6001600160a01b03166000908152601760205260409020805460ff19166001179055565b606060048054610b8c90613686565b6005546001600160a01b031633146117b15760405162461bcd60e51b8152600401610b5590613651565b6007546001600160a01b039081169083160361184d5760405162461bcd60e51b815260206004820152604f60248201527f434f4e54524143543a205468652050616e63616b65537761702070616972206360448201527f616e6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d60648201526e61726b65744d616b6572506169727360881b608482015260a401610b55565b6118578282612c88565b5050565b6005546001600160a01b031633146118855760405162461bcd60e51b8152600401610b5590613651565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ee9190613770565b6001600160a01b031663c9c6539630846001600160a01b03166379cce4f56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561193b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195f9190613770565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156119ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d09190613770565b600680546001600160a01b039485166001600160a01b03199182161790915560078054929094169116179091555050565b600854604080516390da3d1b60e01b815290516000926001600160a01b0316916390da3d1b9160048083019260209291908290030181865afa158015610d50573d6000803e3d6000fd5b6000610c1c3384610cf785604051806060016040528060258152602001613a28602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612c4e565b6008546040516302a2e74960e61b81526000916001600160a01b03169063a8b9d2409061112b9085906004016134cb565b6000610c1c338484612680565b60085460405163e3e3cd4d60e01b815260009182918291829182918291829182916001600160a01b039091169063e3e3cd4d90611b19908c906004016134cb565b61010060405180830381865afa158015611b37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5b919061378d565b97509750975097509750975097509750919395975091939597565b6005546001600160a01b03163314611ba05760405162461bcd60e51b8152600401610b5590613651565b611bb281670de0b6b3a764000061372b565b600b5550565b6005546000906001600160a01b03163314611be55760405162461bcd60e51b8152600401610b5590613651565b600880546001600160a01b0319166001600160a01b03841690811790915560405163031e79db60e41b81526331e79db090611c249083906004016134cb565b600060405180830381600087803b158015611c3e57600080fd5b505af1158015611c52573d6000803e3d6000fd5b505060085460405163031e79db60e41b81526001600160a01b0390911692506331e79db09150611c869030906004016134cb565b600060405180830381600087803b158015611ca057600080fd5b505af1158015611cb4573d6000803e3d6000fd5b50506008546001600160a01b031691506331e79db09050611cd36116ae565b6040518263ffffffff1660e01b8152600401611cef91906134cb565b600060405180830381600087803b158015611d0957600080fd5b505af1158015611d1d573d6000803e3d6000fd5b505060085460065460405163031e79db60e41b81526001600160a01b0392831694506331e79db09350611d5692909116906004016134cb565b600060405180830381600087803b158015611d7057600080fd5b505af1158015611d84573d6000803e3d6000fd5b5050600754611da092506001600160a01b031690506001612c88565b506001919050565b6005546001600160a01b03163314611dd25760405162461bcd60e51b8152600401610b5590613651565b6013546001600160a01b0390811690821603611e4b5760405162461bcd60e51b815260206004820152603260248201527f4c55434b3a20546865206d61726b6574696e672077616c6c657420697320616c60448201527172656164792074686973206164647265737360701b6064820152608401610b55565b6013546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3601380546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611ed25760405162461bcd60e51b8152600401610b5590613651565b6001600160a01b03821660009081526016602052604090205481151560ff909116151503611f5f5760405162461bcd60e51b815260206004820152603460248201527f434f4e54524143543a204163636f756e7420697320616c7265616479207468656044820152732076616c7565206f6620276578636c756465642760601b6064820152608401610b55565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314611fe85760405162461bcd60e51b8152600401610b5590613651565b6012819055601054612008906103e890612002908461249a565b9061251c565b60115550565b6005546001600160a01b031633146120385760405162461bcd60e51b8152600401610b5590613651565b60005b828110156120a957816016600086868581811061205a5761205a6137f7565b905060200201602081019061206f9190613539565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806120a18161380d565b91505061203b565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358383836040516120dd93929190613826565b60405180910390a1505050565b6005546001600160a01b031633146121145760405162461bcd60e51b8152600401610b5590613651565b600a8160ff1611156121385760405162461bcd60e51b8152600401610b55906136c0565b60ff8116600f819055600d54600c54610c9792610c919190612436565b6005546001600160a01b0316331461217f5760405162461bcd60e51b8152600401610b5590613651565b6009546001600160a01b03908116908216036121fc5760405162461bcd60e51b815260206004820152603660248201527f434f4e54524143543a20546865206c69717569646974792077616c6c657420696044820152757320616c72656164792074686973206164647265737360501b6064820152608401610b55565b612207816001611ea8565b6009546040516001600160a01b03918216918316907f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e90600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6008546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec09160048083019260209291908290030181865afa158015610d50573d6000803e3d6000fd5b6005546001600160a01b031633146122d85760405162461bcd60e51b8152600401610b5590613651565b60085460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401610e5f565b600854604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd90602401611b19565b6005546001600160a01b031633146123755760405162461bcd60e51b8152600401610b5590613651565b6001600160a01b0381166123da5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b55565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600080612443838561387f565b9050838110156124935760405162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b6044820152606401610b55565b9392505050565b6000826000036124ac57506000610c20565b60006124b8838561372b565b9050826124c58583613892565b146124935760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b55565b600061249383836040518060400160405280601a815260200179536166654d6174683a206469766973696f6e206279207a65726f60301b815250612df5565b6001600160a01b0383166125bd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b55565b6001600160a01b03821661261e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b55565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166126a65760405162461bcd60e51b8152600401610b55906138b4565b6001600160a01b0382166126cc5760405162461bcd60e51b8152600401610b55906138f9565b60155460ff1661276f576001600160a01b03831660009081526017602052604090205460ff1661276f5760405162461bcd60e51b815260206004820152604260248201527f434f4e54524143543a2054686973206163636f756e742063616e6e6f7420736560448201527f6e6420746f6b656e7320756e74696c2074726164696e6720697320656e61626c606482015261195960f21b608482015260a401610b55565b806000036127885761278383836000612e23565b505050565b600754600160a01b900460ff161580156127a4575060155460ff165b80156127c857506001600160a01b03821660009081526018602052604090205460ff165b80156127e257506006546001600160a01b03848116911614155b801561280757506001600160a01b03821660009081526016602052604090205460ff16155b1561288157600a548111156128815760405162461bcd60e51b815260206004820152603a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152791036b0bc29b2b6362a3930b739b0b1ba34b7b720b6b7bab73a1760311b6064820152608401610b55565b600061288c3061123e565b600b546015549192508210159060ff1680156128a55750805b80156128bb5750600754600160a01b900460ff16155b80156128e057506001600160a01b03851660009081526018602052604090205460ff16155b80156128fa57506009546001600160a01b03868116911614155b801561291457506009546001600160a01b03858116911614155b1561299e576007805460ff60a01b1916600160a01b179055600e54600d546000916129449161200290869061249a565b905061294f81612f2c565b600061296c600e54612002600f548761249a90919063ffffffff16565b905061297781612fb3565b60006129823061123e565b905061298d81613109565b50506007805460ff60a01b19169055505b6001600160a01b03851660009081526016602052604090205460019060ff16806129e057506001600160a01b03851660009081526016602052604090205460ff165b156129e9575060005b8015612a9d576000612a0b6064612002600e548861249a90919063ffffffff16565b9050612a1785826131a8565b9450612a2385876131ea565b15612a905760405162461bcd60e51b815260206004820152603760248201527f72656369657665722062616c616e63652077696c6c2062652067726561746572604482015276207468616e204d6178696d756d20616c6c6f77616e636560481b6064820152608401610b55565b612a9b873083612e23565b505b612aa8868686612e23565b6008546001600160a01b031663e30443bc87612ac38161123e565b6040518363ffffffff1660e01b8152600401612ae092919061393c565b600060405180830381600087803b158015612afa57600080fd5b505af1925050508015612b0b575060015b506008546001600160a01b031663e30443bc86612b278161123e565b6040518363ffffffff1660e01b8152600401612b4492919061393c565b600060405180830381600087803b158015612b5e57600080fd5b505af1925050508015612b6f575060015b50600754600160a01b900460ff16612c46576014546008546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c479906024016060604051808303816000875af1925050508015612bee575060408051601f3d908101601f19168201909252612beb91810190613742565b60015b15612c445760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b505050505050565b60008184841115612c725760405162461bcd60e51b8152600401610b559190613419565b506000612c7f8486613955565b95945050505050565b6001600160a01b03821660009081526018602052604090205481151560ff909116151503612d295760405162461bcd60e51b815260206004820152604260248201527f434f4e54524143543a204175746f6d61746564206d61726b6574206d616b657260448201527f207061697220697320616c72656164792073657420746f20746861742076616c606482015261756560f01b608482015260a401610b55565b6001600160a01b0382166000908152601860205260409020805460ff19168215801591909117909155612db95760085460405163031e79db60e41b81526001600160a01b03909116906331e79db090612d869085906004016134cb565b600060405180830381600087803b158015612da057600080fd5b505af1158015612db4573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b60008183612e165760405162461bcd60e51b8152600401610b559190613419565b506000612c7f8486613892565b6001600160a01b038316612e495760405162461bcd60e51b8152600401610b55906138b4565b6001600160a01b038216612e6f5760405162461bcd60e51b8152600401610b55906138f9565b612eac816040518060600160405280602681526020016139da602691396001600160a01b0386166000908152602081905260409020549190612c4e565b6001600160a01b038085166000908152602081905260408082209390935590841681522054612edb9082612436565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101612673565b6000612f3982600261251c565b90506000612f4783836131a8565b905047612f5383613248565b6000612f5f47836131a8565b9050612f6b838261336c565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612fe857612fe86137f7565b6001600160a01b03928316602091820292909201810191909152600654604080516379cce4f560e01b8152905191909316926379cce4f59260048083019391928290030181865afa158015613041573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130659190613770565b81600181518110613078576130786137f7565b6001600160a01b03928316602091820292909201015260065461309e913091168461255b565b600654601354604051639550b9a360e01b81526001600160a01b0392831692639550b9a3926130db92879260009288929116904290600401613968565b600060405180830381600087803b1580156130f557600080fd5b505af1158015612c46573d6000803e3d6000fd5b61311281613248565b60085460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114613163576040519150601f19603f3d011682016040523d82523d6000602084013e613168565b606091505b5050905080156127835760408051848152602081018490527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc391016120dd565b600061249383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612c4e565b6001600160a01b03811660009081526018602052604081205460ff161561321357506000610c20565b600061321e8361123e565b60115490915061322e8286612436565b111561323e576001915050610c20565b6000915050610c20565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061327d5761327d6137f7565b6001600160a01b03928316602091820292909201810191909152600654604080516379cce4f560e01b8152905191909316926379cce4f59260048083019391928290030181865afa1580156132d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132fa9190613770565b8160018151811061330d5761330d6137f7565b6001600160a01b039283166020918202929092010152600654613333913091168461255b565b600654604051639550b9a360e01b81526001600160a01b0390911690639550b9a3906130db908590600090869030904290600401613968565b6006546133849030906001600160a01b03168461255b565b600654600954604051631854c79b60e31b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063c2a63cd890839060c40160606040518083038185885af11580156133f4573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e8d9190613742565b600060208083528351808285015260005b818110156134465785810183015185820160400152820161342a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610dcf57600080fd5b6000806040838503121561348f57600080fd5b823561349a81613467565b946020939093013593505050565b6000602082840312156134ba57600080fd5b813560ff8116811461249357600080fd5b6001600160a01b0391909116815260200190565b6000806000606084860312156134f457600080fd5b83356134ff81613467565b9250602084013561350f81613467565b929592945050506040919091013590565b60006020828403121561353257600080fd5b5035919050565b60006020828403121561354b57600080fd5b813561249381613467565b8015158114610dcf57600080fd5b6000806040838503121561357757600080fd5b823561358281613467565b9150602083013561359281613556565b809150509250929050565b6000806000604084860312156135b257600080fd5b833567ffffffffffffffff808211156135ca57600080fd5b818601915086601f8301126135de57600080fd5b8135818111156135ed57600080fd5b8760208260051b850101111561360257600080fd5b6020928301955093505084013561361881613556565b809150509250925092565b6000806040838503121561363657600080fd5b823561364181613467565b9150602083013561359281613467565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061369a57607f821691505b6020821081036136ba57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526005908201526477726f6e6760d81b604082015260600190565b6000602082840312156136f157600080fd5b5051919050565b60006020828403121561370a57600080fd5b815161249381613556565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610c2057610c20613715565b60008060006060848603121561375757600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561378257600080fd5b815161249381613467565b600080600080600080600080610100898b0312156137aa57600080fd5b88516137b581613467565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b634e487b7160e01b600052603260045260246000fd5b60006001820161381f5761381f613715565b5060010190565b6040808252810183905260008460608301825b8681101561386957823561384c81613467565b6001600160a01b0316825260209283019290910190600101613839565b5080925050508215156020830152949350505050565b80820180821115610c2057610c20613715565b6000826138af57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6001600160a01b03929092168252602082015260400190565b81810381811115610c2057610c20613715565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156139b85784516001600160a01b031683529383019391830191600101613993565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e90ac87469a09555617168f9a7fc1c920350f6cb498d712c297d1ed762753d2d64736f6c63430008110033