Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
10,000,000,000 Hustle
Holders
518
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$22,200.00
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
10,863,402.377517978626559733 HustleValue
$24.12 ( ~0.0090815093848283 Eth) [0.1086%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HustleToken
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
london EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; import "openzeppelin/token/ERC20/ERC20.sol"; import "openzeppelin/access/Ownable.sol"; import "openzeppelin/utils/math/SafeMath.sol"; import "./interface/IUniswapV2Pair.sol"; import "./interface/IUniswapV2Factory.sol"; import "./interface/IUniswapV2Router.sol"; interface IHustleDividendTracker { function mint(address shareholder, uint256 amount) external; function burn(address shareholder, uint256 amount) external; function withdrawDividendOfUserAsToken(address shareholder, address tokenAddress) external; } contract HustleToken is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; IHustleDividendTracker public dividendTracker; uint256 public maxSellTransactionAmount = 500000000 * 10 ** decimals(); uint256 public swapTokensAtAmount = 2000000 * 10 ** decimals(); uint256 public maxWalletSize = 500000000 * 10 ** decimals(); uint256 public swapCooldown = 10 minutes; uint256 public lastSwapTimestamp; uint256 public ETHRewardFee = 2; uint256 public liquidityFee = 1; uint256 public maintenanceFee = 2; uint256 public totalFees = ETHRewardFee.add(liquidityFee).add(maintenanceFee); address payable _maintenanceWallet; address payable _LPWallet; uint64 private _startTradingAt; uint32 private _maxGasPriceGwei = 60; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isDisallowed; mapping(address => bool) private _isPresaleDistributor; mapping(address => bool) public automatedMarketMakerPairs; bool private swapping; bool private reinvesting; bool public confirmedLaunch; event UpdateDividendTracker(address indexed newAddress, address indexed oldAddress); event LiquidityWalletUpdated(address indexed newLiquidityWallet, address indexed oldLiquidityWallet); event NewMaintenanceWallet(address indexed newMaintenanceWallet, address indexed oldMaintenanceWallet); 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 GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity); event SendDividends(uint256 tokensSwapped, uint256 amount); constructor(address _routerAddress, address payable _dividendTracker) ERC20("HustleBot", "Hustle") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(_routerAddress); address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); dividendTracker = IHustleDividendTracker(_dividendTracker); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); excludeFromFees(owner(), true); excludeFromFees(address(this), true); _maintenanceWallet = payable(owner()); _LPWallet = payable(owner()); _mint(owner(), 10_000_000_000 * (10 ** 18)); } receive() external payable {} function updateDividendTracker(address newAddress) external onlyOwner { require(newAddress != address(dividendTracker), "HSTL: The dividend tracker already has that address"); IHustleDividendTracker newDividendTracker = IHustleDividendTracker(payable(newAddress)); emit UpdateDividendTracker(newAddress, address(dividendTracker)); dividendTracker = newDividendTracker; } function updateUniswapV2Router(address newAddress) external onlyOwner { require(newAddress != address(uniswapV2Router), "HSTL: The router already has that address"); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); } function updateUniswapV2Pair(address newAddress) external onlyOwner { require(newAddress != address(uniswapV2Pair), "HSTL: The pair already has that address"); uniswapV2Pair = newAddress; } function setMaintenance(uint256 newMaintenanceFee, address payable newMaintenanceWallet) external onlyOwner { require(newMaintenanceFee <= 5, "Maximum fee limit is 5 percent"); emit NewMaintenanceWallet(newMaintenanceWallet, _maintenanceWallet); maintenanceFee = newMaintenanceFee; _maintenanceWallet = newMaintenanceWallet; _isExcludedFromFees[_maintenanceWallet] = true; totalFees = ETHRewardFee.add(liquidityFee).add(maintenanceFee); } function confirmLaunch() external onlyOwner { confirmedLaunch = true; } function setIsDisallowed(address account, bool value) external onlyOwner { _isDisallowed[account] = value; } function setMaxGasPriceGwei(uint32 newMaxGasPriceGwei) external onlyOwner { _maxGasPriceGwei = newMaxGasPriceGwei; } function setIsPresaleDistributor(address account, bool value) external onlyOwner { _isPresaleDistributor[account] = value; } function setAreDisallowed(address[] calldata accounts, bool value) external onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { _isDisallowed[accounts[i]] = value; } } function setLPWallet(address payable newLPWallet) external onlyOwner { require(newLPWallet != address(_LPWallet), "HSTL: The LPWallet already has that address"); emit LiquidityWalletUpdated(newLPWallet, _LPWallet); _LPWallet = newLPWallet; } function setSwapCooldown(uint256 newSwapCooldown) external onlyOwner { swapCooldown = newSwapCooldown; } function setAmountToInitiateSwap(uint256 newSwapThreshold) external onlyOwner { require( totalFees.mul(100) * 10 ** decimals() <= newSwapThreshold, "Threshold to initiate swap should be minimum equal to 100*totalFees" ); swapTokensAtAmount = newSwapThreshold; } function excludeFromFees(address account, bool excluded) public onlyOwner { require(_isExcludedFromFees[account] != excluded, "HSTL: Account is already the value of 'excluded'"); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) external onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; emit ExcludeFromFees(accounts[i], excluded); } } function setETHRewardFee(uint256 newETHRewardFee) external onlyOwner { require(newETHRewardFee <= 10, "Maximum fee limit is 10 percent"); ETHRewardFee = newETHRewardFee; totalFees = ETHRewardFee.add(liquidityFee).add(maintenanceFee); } function setLiquiditFee(uint256 value) external onlyOwner { require(value <= 5, "Maximum fee limit is 5 percent"); liquidityFee = value; totalFees = ETHRewardFee.add(liquidityFee).add(maintenanceFee); } function setMaxSellTxAmount(uint256 amount) external onlyOwner { require(amount >= 500000 * 10 ** decimals(), "Max sells can't be lower than 500 000 HSTL"); maxSellTransactionAmount = amount; } function setMaxWalletSize(uint256 amount) external onlyOwner { require(amount >= 500000 * 10 ** decimals(), "Max wallet size can't be lower than 500 000 HSTL"); maxWalletSize = amount; } function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner { require(pair != uniswapV2Pair, "HSTL: The PancakeSwap pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require( automatedMarketMakerPairs[pair] != value, "HSTL: Automated market maker pair is already set to that value" ); automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function setStartTradingAt(uint64 blocknumber) external onlyOwner { require(!confirmedLaunch, "HSTL: Already launched"); _startTradingAt = blocknumber; } function isExcludedFromFees(address account) external view returns (bool) { return _isExcludedFromFees[account]; } function _transfer(address from, address to, uint256 amount) internal override { if (_startTradingAt == 0 || _startTradingAt > block.number) { require( _isExcludedFromFees[tx.origin] || _isExcludedFromFees[msg.sender] || _isExcludedFromFees[from], "HSTL: Liquidity not added yet" ); try dividendTracker.burn(from, amount) {} catch {} try dividendTracker.mint(to, amount) {} catch {} return super._transfer(from, to, amount); } if (block.number >= _startTradingAt && block.number <= _startTradingAt + 10) { require(tx.gasprice <= uint256(_maxGasPriceGwei) * 1 gwei, "HSTL: Gas price too high"); } require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(!_isDisallowed[to], "Disallowed wallet"); if (to != owner() || to != address(this)) { require(!_isDisallowed[from], "Disallowed wallet"); } if (amount == 0) { super._transfer(from, to, 0); return; } try dividendTracker.burn(from, amount) {} catch {} if ( !swapping && automatedMarketMakerPairs[to] && from != address(uniswapV2Router) && !_isExcludedFromFees[from] ) { require(amount <= maxSellTransactionAmount, "Sell transfer amount exceeds the maxSellTransactionAmount."); } if (!_isExcludedFromFees[from] && !_isExcludedFromFees[to] && !automatedMarketMakerPairs[to]) { require(balanceOf(to) + amount <= maxWalletSize, "Wallet limit exceeded"); } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount && block.timestamp >= lastSwapTimestamp + swapCooldown; if (canSwap && !swapping && !automatedMarketMakerPairs[from] && from != owner() && to != owner()) { swapping = true; lastSwapTimestamp = block.timestamp; swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)); swapAndDistribute(balanceOf(address(this))); swapping = false; } bool buying = from == uniswapV2Pair && to != address(uniswapV2Router); bool selling = from != address(uniswapV2Router) && to == uniswapV2Pair; bool takeFee = !swapping && (buying || selling); if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if (takeFee) { uint256 fees = amount.mul(totalFees).div(100); amount = amount.sub(fees); super._transfer(from, address(this), fees); } super._transfer(from, to, amount); if (!_isPresaleDistributor[from]) try dividendTracker.mint(to, amount) {} catch {} } function reinvest() external { bool isExcluded = _isExcludedFromFees[msg.sender]; if (!isExcluded) _isExcludedFromFees[msg.sender] = true; dividendTracker.withdrawDividendOfUserAsToken(msg.sender, address(this)); if (!isExcluded) _isExcludedFromFees[msg.sender] = false; } function swapAndLiquify(uint256 tokens) private { uint256 halfOfLiquify = tokens.div(2); uint256 otherHalfOfLiquify = tokens.sub(halfOfLiquify); uint256 initialBalance = address(this).balance; swapTokensForEth(halfOfLiquify); uint256 newBalance = address(this).balance.sub(initialBalance); addLiquidity(otherHalfOfLiquify, newBalance); emit SwapAndLiquify(halfOfLiquify, newBalance, otherHalfOfLiquify); } function swapAndDistribute(uint256 tokens) private { swapTokensForEth(tokens); uint256 initialBalance = address(this).balance; uint256 toDistribute = initialBalance.mul(maintenanceFee).div(totalFees); _maintenanceWallet.transfer(toDistribute); toDistribute = address(this).balance; (bool success,) = address(dividendTracker).call{value: toDistribute}(""); if (success) { emit SendDividends(tokens, toDistribute); } } function manualSwapAndDistribute() external onlyOwner { uint256 tokens = balanceOf(address(this)); swapAndDistribute(tokens); } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function swapBnbForToken(uint256 ethAmount, address token, address receiver) private { address[] memory path = new address[](2); path[0] = uniswapV2Router.WETH(); path[1] = token; // make the swap uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}( 0, path, receiver, block.timestamp + 360 ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this), tokenAmount, 0, 0, _LPWallet, block.timestamp); } function rescueEth(address to, uint256 amount) external onlyOwner { (bool success,) = to.call{value: amount}(""); require(success, "Transfer failed."); } function rescueToken(address token, address to, uint256 amount) external onlyOwner { IERC20(token).transfer(to, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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) { return a + b; } /** * @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 a - b; } /** * @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) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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 a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting 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) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event 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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // pragma solidity >=0.6.2; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "erc1726-dividend-paying-token/=lib/erc1726-dividend-paying-token/contracts/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_routerAddress","type":"address"},{"internalType":"address payable","name":"_dividendTracker","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newLiquidityWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldLiquidityWallet","type":"address"}],"name":"LiquidityWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newMaintenanceWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldMaintenanceWallet","type":"address"}],"name":"NewMaintenanceWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"ETHRewardFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"confirmLaunch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"confirmedLaunch","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract IHustleDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastSwapTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maintenanceFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSwapAndDistribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSellTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reinvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSwapThreshold","type":"uint256"}],"name":"setAmountToInitiateSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAreDisallowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newETHRewardFee","type":"uint256"}],"name":"setETHRewardFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setIsDisallowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setIsPresaleDistributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newLPWallet","type":"address"}],"name":"setLPWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setLiquiditFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaintenanceFee","type":"uint256"},{"internalType":"address payable","name":"newMaintenanceWallet","type":"address"}],"name":"setMaintenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"newMaxGasPriceGwei","type":"uint32"}],"name":"setMaxGasPriceGwei","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxSellTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxWalletSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"blocknumber","type":"uint64"}],"name":"setStartTradingAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSwapCooldown","type":"uint256"}],"name":"setSwapCooldown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapCooldown","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Pair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052620000126012600a62000822565b6200002290631dcd650062000833565b600955620000336012600a62000822565b6200004290621e848062000833565b600a5560126200005490600a62000822565b6200006490631dcd650062000833565b600b55610258600c556002600e556001600f556002601055620000b5601054620000a1600f54600e546200039860201b620018f31790919060201c565b6200039860201b620018f31790919060201c565b601155601380546001600160e01b0316600f60e21b179055348015620000da57600080fd5b50604051620039e5380380620039e5833981016040819052620000fd9162000866565b60405180604001604052806009815260200168121d5cdd1b19509bdd60ba1b81525060405180604001604052806006815260200165487573746c6560d01b81525081600390816200014f919062000949565b5060046200015e828262000949565b5050506200017b62000175620003af60201b60201c565b620003b3565b60008290506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001c1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e7919062000a15565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000235573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025b919062000a15565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002cf919062000a15565b600880546001600160a01b038087166001600160a01b03199283161790925560068054868416908316179055600780549284169290911691909117905590506200031b81600162000405565b6200033a620003326005546001600160a01b031690565b6001620004f5565b62000347306001620004f5565b600554601280546001600160a01b03199081166001600160a01b0390931692831790915560138054909116821790556200038e906b204fce5e3e25026110000000620005e9565b5050505062000a52565b6000620003a6828462000a3c565b90505b92915050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526017602052604090205481151560ff909116151503620004a15760405162461bcd60e51b815260206004820152603e60248201527f4853544c3a204175746f6d61746564206d61726b6574206d616b65722070616960448201527f7220697320616c72656164792073657420746f20746861742076616c7565000060648201526084015b60405180910390fd5b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b620004ff620006ac565b6001600160a01b03821660009081526014602052604090205481151560ff9091161515036200058a5760405162461bcd60e51b815260206004820152603060248201527f4853544c3a204163636f756e7420697320616c7265616479207468652076616c60448201526f7565206f6620276578636c756465642760801b606482015260840162000498565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006415760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000498565b806002600082825462000655919062000a3c565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620007085760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000498565b565b505050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620007665781600019048211156200074a576200074a6200070f565b808516156200075857918102915b93841c93908002906200072a565b509250929050565b6000826200077f57506001620003a9565b816200078e57506000620003a9565b8160018114620007a75760028114620007b257620007d2565b6001915050620003a9565b60ff841115620007c657620007c66200070f565b50506001821b620003a9565b5060208310610133831016604e8410600b8410161715620007f7575081810a620003a9565b62000803838362000725565b80600019048211156200081a576200081a6200070f565b029392505050565b6000620003a660ff8416836200076e565b8082028115828204841417620003a957620003a96200070f565b6001600160a01b03811681146200086357600080fd5b50565b600080604083850312156200087a57600080fd5b825162000887816200084d565b60208401519092506200089a816200084d565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620008d057607f821691505b602082108103620008f157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200070a57600081815260208120601f850160051c81016020861015620009205750805b601f850160051c820191505b8181101562000941578281556001016200092c565b505050505050565b81516001600160401b03811115620009655762000965620008a5565b6200097d81620009768454620008bb565b84620008f7565b602080601f831160018114620009b557600084156200099c5750858301515b600019600386901b1c1916600185901b17855562000941565b600085815260208120601f198616915b82811015620009e657888601518255948401946001909101908401620009c5565b508582101562000a055787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000a2857600080fd5b815162000a35816200084d565b9392505050565b80820180821115620003a957620003a96200070f565b612f838062000a626000396000f3fe60806040526004361061031d5760003560e01c80638da5cb5b116101ab578063c0246668116100f7578063dd62ed3e11610095578063ea1644d51161006f578063ea1644d514610930578063f2fde38b14610950578063f91af3db14610970578063fdb5a03e1461099057600080fd5b8063dd62ed3e146108da578063e2f45605146108fa578063e5711e8b1461091057600080fd5b8063c5097b13116100d1578063c5097b131461085a578063d2cbf1c91461087a578063d7cc3d351461089a578063db9dfc86146108ba57600080fd5b8063c024666814610804578063c2b3b59a14610824578063c492f0461461083a57600080fd5b8063a255a74311610164578063a9059cbb1161013e578063a9059cbb14610774578063a9e01b6714610794578063adefd90c146107b4578063b62496f5146107d457600080fd5b8063a255a74314610714578063a457c2d714610734578063a8e7dc341461075457600080fd5b80638da5cb5b146106755780638f3fa8601461069357806391c1004a146106a957806395d89b41146106c957806398118cb4146106de5780639a7a23d6146106f457600080fd5b8063395093511161026a57806367c024f211610223578063758c6c9d116101fd578063758c6c9d146106145780637cea46b91461062a578063889e1bd11461064057806388bdd9be1461065557600080fd5b806367c024f2146105a957806370a08231146105c9578063715018a6146105ff57600080fd5b806339509351146104d05780633b0aacbc146104f057806349bd5a5e146105105780634fbee19314610530578063636ee62f1461056957806365b8dbc01461058957600080fd5b80631694505e116102d75780632c1f5216116102b15780632c1f52161461045f57806330080e111461047f578063313ce5671461049f57806332a5d7cc146104bb57600080fd5b80631694505e146103f257806318160ddd1461042a57806323b872dd1461043f57600080fd5b80623864be1461032957806302259e9e1461034b578063046604491461037457806306fdde031461038a578063095ea7b3146103ac57806313114a9d146103dc57600080fd5b3661032457005b600080fd5b34801561033557600080fd5b506103496103443660046129a0565b6109a5565b005b34801561035757600080fd5b5061036160095481565b6040519081526020015b60405180910390f35b34801561038057600080fd5b5061036160105481565b34801561039657600080fd5b5061039f6109d8565b60405161036b91906129d9565b3480156103b857600080fd5b506103cc6103c7366004612a27565b610a6a565b604051901515815260200161036b565b3480156103e857600080fd5b5061036160115481565b3480156103fe57600080fd5b50600654610412906001600160a01b031681565b6040516001600160a01b03909116815260200161036b565b34801561043657600080fd5b50600254610361565b34801561044b57600080fd5b506103cc61045a366004612a53565b610a84565b34801561046b57600080fd5b50600854610412906001600160a01b031681565b34801561048b57600080fd5b5061034961049a366004612a94565b610aa8565b3480156104ab57600080fd5b506040516012815260200161036b565b3480156104c757600080fd5b50610349610ba0565b3480156104dc57600080fd5b506103cc6104eb366004612a27565b610bc4565b3480156104fc57600080fd5b5061034961050b366004612ab9565b610be6565b34801561051c57600080fd5b50600754610412906001600160a01b031681565b34801561053c57600080fd5b506103cc61054b366004612ab9565b6001600160a01b031660009081526014602052604090205460ff1690565b34801561057557600080fd5b50610349610584366004612ad6565b610cbd565b34801561059557600080fd5b506103496105a4366004612ab9565b610cea565b3480156105b557600080fd5b506103496105c4366004612afc565b610dbf565b3480156105d557600080fd5b506103616105e4366004612ab9565b6001600160a01b031660009081526020819052604090205490565b34801561060b57600080fd5b50610349610e47565b34801561062057600080fd5b50610361600d5481565b34801561063657600080fd5b50610361600e5481565b34801561064c57600080fd5b50610349610e5b565b34801561066157600080fd5b50610349610670366004612ab9565b610e76565b34801561068157600080fd5b506005546001600160a01b0316610412565b34801561069f57600080fd5b50610361600b5481565b3480156106b557600080fd5b506103496106c4366004612ab9565b610f59565b3480156106d557600080fd5b5061039f610ff1565b3480156106ea57600080fd5b50610361600f5481565b34801561070057600080fd5b5061034961070f3660046129a0565b611000565b34801561072057600080fd5b5061034961072f366004612b26565b6110ae565b34801561074057600080fd5b506103cc61074f366004612a27565b61112d565b34801561076057600080fd5b506018546103cc9062010000900460ff1681565b34801561078057600080fd5b506103cc61078f366004612a27565b6111a8565b3480156107a057600080fd5b506103496107af3660046129a0565b6111b6565b3480156107c057600080fd5b506103496107cf366004612bac565b6111e9565b3480156107e057600080fd5b506103cc6107ef366004612ab9565b60176020526000908152604090205460ff1681565b34801561081057600080fd5b5061034961081f3660046129a0565b611262565b34801561083057600080fd5b50610361600c5481565b34801561084657600080fd5b50610349610855366004612b26565b611352565b34801561086657600080fd5b50610349610875366004612bac565b611436565b34801561088657600080fd5b50610349610895366004612bac565b611443565b3480156108a657600080fd5b506103496108b5366004612a27565b6114f5565b3480156108c657600080fd5b506103496108d5366004612bac565b611598565b3480156108e657600080fd5b506103616108f5366004612bc5565b61160c565b34801561090657600080fd5b50610361600a5481565b34801561091c57600080fd5b5061034961092b366004612a53565b611637565b34801561093c57600080fd5b5061034961094b366004612bac565b6116b2565b34801561095c57600080fd5b5061034961096b366004612ab9565b611740565b34801561097c57600080fd5b5061034961098b366004612bac565b6117b6565b34801561099c57600080fd5b5061034961183e565b6109ad611906565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6060600380546109e790612bf3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1390612bf3565b8015610a605780601f10610a3557610100808354040283529160200191610a60565b820191906000526020600020905b815481529060010190602001808311610a4357829003601f168201915b5050505050905090565b600033610a78818585611960565b60019150505b92915050565b600033610a92858285611a84565b610a9d858585611af8565b506001949350505050565b610ab0611906565b6005821115610b065760405162461bcd60e51b815260206004820152601e60248201527f4d6178696d756d20666565206c696d697420697320352070657263656e74000060448201526064015b60405180910390fd5b6012546040516001600160a01b03918216918316907fb8bcc853f0207d003bcfd1e4d3973e9216aa436cf4bf8780fa8ab82ad047407a90600090a36010828155601280546001600160a01b0319166001600160a01b0384169081179091556000908152601460205260409020805460ff1916600117905554600f54600e54610b999291610b9391906118f3565b906118f3565b6011555050565b610ba8611906565b30600090815260208190526040902054610bc181612357565b50565b600033610a78818585610bd7838361160c565b610be19190612c43565b611960565b610bee611906565b6013546001600160a01b0390811690821603610c605760405162461bcd60e51b815260206004820152602b60248201527f4853544c3a20546865204c5057616c6c657420616c726561647920686173207460448201526a686174206164647265737360a81b6064820152608401610afd565b6013546040516001600160a01b03918216918316907f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e90600090a3601380546001600160a01b0319166001600160a01b0392909216919091179055565b610cc5611906565b6013805463ffffffff909216600160e01b026001600160e01b03909216919091179055565b610cf2611906565b6006546001600160a01b0390811690821603610d625760405162461bcd60e51b815260206004820152602960248201527f4853544c3a2054686520726f7574657220616c7265616479206861732074686160448201526874206164647265737360b81b6064820152608401610afd565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b610dc7611906565b60185462010000900460ff1615610e195760405162461bcd60e51b81526020600482015260166024820152751214d5130e88105b1c9958591e481b185d5b98da195960521b6044820152606401610afd565b6013805467ffffffffffffffff909216600160a01b0267ffffffffffffffff60a01b19909216919091179055565b610e4f611906565b610e59600061245e565b565b610e63611906565b6018805462ff0000191662010000179055565b610e7e611906565b6008546001600160a01b0390811690821603610ef85760405162461bcd60e51b815260206004820152603360248201527f4853544c3a20546865206469766964656e6420747261636b657220616c7265616044820152726479206861732074686174206164647265737360681b6064820152608401610afd565b60085460405182916001600160a01b0390811691908316907f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600880546001600160a01b0319166001600160a01b039290921691909117905550565b610f61611906565b6007546001600160a01b0390811690821603610fcf5760405162461bcd60e51b815260206004820152602760248201527f4853544c3a20546865207061697220616c7265616479206861732074686174206044820152666164647265737360c81b6064820152608401610afd565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6060600480546109e790612bf3565b611008611906565b6007546001600160a01b03908116908316036110a05760405162461bcd60e51b815260206004820152604b60248201527f4853544c3a205468652050616e63616b655377617020706169722063616e6e6f60448201527f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b6560648201526a744d616b6572506169727360a81b608482015260a401610afd565b6110aa82826124b0565b5050565b6110b6611906565b60005b828110156111275781601560008686858181106110d8576110d8612c56565b90506020020160208101906110ed9190612ab9565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061111f81612c6c565b9150506110b9565b50505050565b6000338161113b828661160c565b90508381101561119b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610afd565b610a9d8286868403611960565b600033610a78818585611af8565b6111be611906565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6111f1611906565b60058111156112425760405162461bcd60e51b815260206004820152601e60248201527f4d6178696d756d20666565206c696d697420697320352070657263656e7400006044820152606401610afd565b600f819055601054600e5461125c9190610b9390846118f3565b60115550565b61126a611906565b6001600160a01b03821660009081526014602052604090205481151560ff9091161515036112f35760405162461bcd60e51b815260206004820152603060248201527f4853544c3a204163636f756e7420697320616c7265616479207468652076616c60448201526f7565206f6620276578636c756465642760801b6064820152608401610afd565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b61135a611906565b60005b8281101561112757816014600086868581811061137c5761137c612c56565b90506020020160208101906113919190612ab9565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558383828181106113cb576113cb612c56565b90506020020160208101906113e09190612ab9565b6001600160a01b03167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df78360405161141c911515815260200190565b60405180910390a28061142e81612c6c565b91505061135d565b61143e611906565b600c55565b61144b611906565b806114586012600a612d69565b60115461146690606461259a565b6114709190612d78565b11156114f05760405162461bcd60e51b815260206004820152604360248201527f5468726573686f6c6420746f20696e69746961746520737761702073686f756c60448201527f64206265206d696e696d756d20657175616c20746f203130302a746f74616c4660648201526265657360e81b608482015260a401610afd565b600a55565b6114fd611906565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461154a576040519150601f19603f3d011682016040523d82523d6000602084013e61154f565b606091505b50509050806115935760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610afd565b505050565b6115a0611906565b600a8111156115f15760405162461bcd60e51b815260206004820152601f60248201527f4d6178696d756d20666565206c696d69742069732031302070657263656e74006044820152606401610afd565b600e819055601054600f5461125c9190610b939084906118f3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61163f611906565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af115801561168e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111279190612d8f565b6116ba611906565b6116c66012600a612d69565b6116d3906207a120612d78565b81101561173b5760405162461bcd60e51b815260206004820152603060248201527f4d61782077616c6c65742073697a652063616e2774206265206c6f776572207460448201526f1a185b880d4c0c080c0c0c081214d51360821b6064820152608401610afd565b600b55565b611748611906565b6001600160a01b0381166117ad5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610afd565b610bc18161245e565b6117be611906565b6117ca6012600a612d69565b6117d7906207a120612d78565b8110156118395760405162461bcd60e51b815260206004820152602a60248201527f4d61782073656c6c732063616e2774206265206c6f776572207468616e2035306044820152690c080c0c0c081214d51360b21b6064820152608401610afd565b600955565b3360009081526014602052604090205460ff168061187157336000908152601460205260409020805460ff191660011790555b60085460405163e384d21560e01b81523360048201523060248201526001600160a01b039091169063e384d21590604401600060405180830381600087803b1580156118bc57600080fd5b505af11580156118d0573d6000803e3d6000fd5b5050505080610bc157336000908152601460205260409020805460ff1916905550565b60006118ff8284612c43565b9392505050565b6005546001600160a01b03163314610e595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610afd565b6001600160a01b0383166119c25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610afd565b6001600160a01b038216611a235760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610afd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611a90848461160c565b905060001981146111275781811015611aeb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610afd565b6111278484848403611960565b601354600160a01b900467ffffffffffffffff161580611b2b575060135443600160a01b90910467ffffffffffffffff16115b15611c97573260009081526014602052604090205460ff1680611b5d57503360009081526014602052604090205460ff165b80611b8057506001600160a01b03831660009081526014602052604090205460ff165b611bcc5760405162461bcd60e51b815260206004820152601d60248201527f4853544c3a204c6971756964697479206e6f74206164646564207965740000006044820152606401610afd565b600854604051632770a7eb60e21b81526001600160a01b0385811660048301526024820184905290911690639dc29fac90604401600060405180830381600087803b158015611c1a57600080fd5b505af1925050508015611c2b575060015b506008546040516340c10f1960e01b81526001600160a01b03848116600483015260248201849052909116906340c10f1990604401600060405180830381600087803b158015611c7a57600080fd5b505af1925050508015611c8b575060015b506115938383836125a6565b601354600160a01b900467ffffffffffffffff164310801590611ce25750601354611cd490600160a01b900467ffffffffffffffff16600a612dac565b67ffffffffffffffff164311155b15611d5457601354611d0590600160e01b900463ffffffff16633b9aca00612d78565b3a1115611d545760405162461bcd60e51b815260206004820152601860248201527f4853544c3a2047617320707269636520746f6f206869676800000000000000006044820152606401610afd565b6001600160a01b038316611d7a5760405162461bcd60e51b8152600401610afd90612dd4565b6001600160a01b038216611da05760405162461bcd60e51b8152600401610afd90612e19565b6001600160a01b03821660009081526015602052604090205460ff1615611dfd5760405162461bcd60e51b8152602060048201526011602482015270111a5cd85b1b1bddd959081dd85b1b195d607a1b6044820152606401610afd565b6005546001600160a01b038381169116141580611e2357506001600160a01b0382163014155b15611e85576001600160a01b03831660009081526015602052604090205460ff1615611e855760405162461bcd60e51b8152602060048201526011602482015270111a5cd85b1b1bddd959081dd85b1b195d607a1b6044820152606401610afd565b80600003611e9957611593838360006125a6565b600854604051632770a7eb60e21b81526001600160a01b0385811660048301526024820184905290911690639dc29fac90604401600060405180830381600087803b158015611ee757600080fd5b505af1925050508015611ef8575060015b5060185460ff16158015611f2457506001600160a01b03821660009081526017602052604090205460ff165b8015611f3e57506006546001600160a01b03848116911614155b8015611f6357506001600160a01b03831660009081526014602052604090205460ff16155b15611fe057600954811115611fe05760405162461bcd60e51b815260206004820152603a60248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d617853656c6c5472616e73616374696f6e416d6f756e742e0000000000006064820152608401610afd565b6001600160a01b03831660009081526014602052604090205460ff1615801561202257506001600160a01b03821660009081526014602052604090205460ff16155b801561204757506001600160a01b03821660009081526017602052604090205460ff16155b156120bf57600b548161206f846001600160a01b031660009081526020819052604090205490565b6120799190612c43565b11156120bf5760405162461bcd60e51b815260206004820152601560248201527415d85b1b195d081b1a5b5a5d08195e18d959591959605a1b6044820152606401610afd565b3060009081526020819052604081205490506000600a5482101580156120f45750600c54600d546120f09190612c43565b4210155b9050808015612106575060185460ff16155b801561212b57506001600160a01b03851660009081526017602052604090205460ff16155b801561214557506005546001600160a01b03868116911614155b801561215f57506005546001600160a01b03858116911614155b156121bd576018805460ff1916600117905542600d55601154600f54612199916121949161218e90869061259a565b906126d0565b6126dc565b306000908152602081905260409020546121b290612357565b6018805460ff191690555b6007546000906001600160a01b0387811691161480156121eb57506006546001600160a01b03868116911614155b6006549091506000906001600160a01b0388811691161480159061221c57506007546001600160a01b038781169116145b60185490915060009060ff16158015612239575082806122395750815b6001600160a01b03891660009081526014602052604090205490915060ff168061227b57506001600160a01b03871660009081526014602052604090205460ff165b15612284575060005b80156122c15760006122a6606461218e6011548a61259a90919063ffffffff16565b90506122b28782612763565b96506122bf8930836125a6565b505b6122cc8888886125a6565b6001600160a01b03881660009081526016602052604090205460ff1661234d576008546040516340c10f1960e01b81526001600160a01b03898116600483015260248201899052909116906340c10f1990604401600060405180830381600087803b15801561233a57600080fd5b505af192505050801561234b575060015b505b5050505050505050565b6123608161276f565b6000479050600061238260115461218e6010548561259a90919063ffffffff16565b6012546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156123bd573d6000803e3d6000fd5b505060085460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114612410576040519150601f19603f3d011682016040523d82523d6000602084013e612415565b606091505b5050905080156111275760408051858152602081018490527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3910160405180910390a150505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526017602052604090205481151560ff9091161515036125465760405162461bcd60e51b815260206004820152603e60248201527f4853544c3a204175746f6d61746564206d61726b6574206d616b65722070616960448201527f7220697320616c72656164792073657420746f20746861742076616c756500006064820152608401610afd565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b60006118ff8284612d78565b6001600160a01b0383166125cc5760405162461bcd60e51b8152600401610afd90612dd4565b6001600160a01b0382166125f25760405162461bcd60e51b8152600401610afd90612e19565b6001600160a01b0383166000908152602081905260409020548181101561266a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610afd565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611127565b60006118ff8284612e5c565b60006126e98260026126d0565b905060006126f78383612763565b9050476127038361276f565b600061270f4783612763565b905061271b83826128c9565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b60006118ff8284612e7e565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106127a4576127a4612c56565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156127fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128219190612e91565b8160018151811061283457612834612c56565b6001600160a01b03928316602091820292909201015260065461285a9130911684611960565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790612893908590600090869030904290600401612eae565b600060405180830381600087803b1580156128ad57600080fd5b505af11580156128c1573d6000803e3d6000fd5b505050505050565b6006546128e19030906001600160a01b031684611960565b60065460135460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015612951573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906129769190612f1f565b5050505050565b6001600160a01b0381168114610bc157600080fd5b8015158114610bc157600080fd5b600080604083850312156129b357600080fd5b82356129be8161297d565b915060208301356129ce81612992565b809150509250929050565b600060208083528351808285015260005b81811015612a06578581018301518582016040015282016129ea565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215612a3a57600080fd5b8235612a458161297d565b946020939093013593505050565b600080600060608486031215612a6857600080fd5b8335612a738161297d565b92506020840135612a838161297d565b929592945050506040919091013590565b60008060408385031215612aa757600080fd5b8235915060208301356129ce8161297d565b600060208284031215612acb57600080fd5b81356118ff8161297d565b600060208284031215612ae857600080fd5b813563ffffffff811681146118ff57600080fd5b600060208284031215612b0e57600080fd5b813567ffffffffffffffff811681146118ff57600080fd5b600080600060408486031215612b3b57600080fd5b833567ffffffffffffffff80821115612b5357600080fd5b818601915086601f830112612b6757600080fd5b813581811115612b7657600080fd5b8760208260051b8501011115612b8b57600080fd5b60209283019550935050840135612ba181612992565b809150509250925092565b600060208284031215612bbe57600080fd5b5035919050565b60008060408385031215612bd857600080fd5b8235612be38161297d565b915060208301356129ce8161297d565b600181811c90821680612c0757607f821691505b602082108103612c2757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a7e57610a7e612c2d565b634e487b7160e01b600052603260045260246000fd5b600060018201612c7e57612c7e612c2d565b5060010190565b600181815b80851115612cc0578160001904821115612ca657612ca6612c2d565b80851615612cb357918102915b93841c9390800290612c8a565b509250929050565b600082612cd757506001610a7e565b81612ce457506000610a7e565b8160018114612cfa5760028114612d0457612d20565b6001915050610a7e565b60ff841115612d1557612d15612c2d565b50506001821b610a7e565b5060208310610133831016604e8410600b8410161715612d43575081810a610a7e565b612d4d8383612c85565b8060001904821115612d6157612d61612c2d565b029392505050565b60006118ff60ff841683612cc8565b8082028115828204841417610a7e57610a7e612c2d565b600060208284031215612da157600080fd5b81516118ff81612992565b67ffffffffffffffff818116838216019080821115612dcd57612dcd612c2d565b5092915050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082612e7957634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610a7e57610a7e612c2d565b600060208284031215612ea357600080fd5b81516118ff8161297d565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612efe5784516001600160a01b031683529383019391830191600101612ed9565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612f3457600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212205e1e92a152e7078d29027264ddf41eb26287a183d24e1e4ae54c0c1693118a2b64736f6c634300081100330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000cb8ceed39e8126f3d90ae260aba6e0a9ac150cc9
Deployed Bytecode
0x60806040526004361061031d5760003560e01c80638da5cb5b116101ab578063c0246668116100f7578063dd62ed3e11610095578063ea1644d51161006f578063ea1644d514610930578063f2fde38b14610950578063f91af3db14610970578063fdb5a03e1461099057600080fd5b8063dd62ed3e146108da578063e2f45605146108fa578063e5711e8b1461091057600080fd5b8063c5097b13116100d1578063c5097b131461085a578063d2cbf1c91461087a578063d7cc3d351461089a578063db9dfc86146108ba57600080fd5b8063c024666814610804578063c2b3b59a14610824578063c492f0461461083a57600080fd5b8063a255a74311610164578063a9059cbb1161013e578063a9059cbb14610774578063a9e01b6714610794578063adefd90c146107b4578063b62496f5146107d457600080fd5b8063a255a74314610714578063a457c2d714610734578063a8e7dc341461075457600080fd5b80638da5cb5b146106755780638f3fa8601461069357806391c1004a146106a957806395d89b41146106c957806398118cb4146106de5780639a7a23d6146106f457600080fd5b8063395093511161026a57806367c024f211610223578063758c6c9d116101fd578063758c6c9d146106145780637cea46b91461062a578063889e1bd11461064057806388bdd9be1461065557600080fd5b806367c024f2146105a957806370a08231146105c9578063715018a6146105ff57600080fd5b806339509351146104d05780633b0aacbc146104f057806349bd5a5e146105105780634fbee19314610530578063636ee62f1461056957806365b8dbc01461058957600080fd5b80631694505e116102d75780632c1f5216116102b15780632c1f52161461045f57806330080e111461047f578063313ce5671461049f57806332a5d7cc146104bb57600080fd5b80631694505e146103f257806318160ddd1461042a57806323b872dd1461043f57600080fd5b80623864be1461032957806302259e9e1461034b578063046604491461037457806306fdde031461038a578063095ea7b3146103ac57806313114a9d146103dc57600080fd5b3661032457005b600080fd5b34801561033557600080fd5b506103496103443660046129a0565b6109a5565b005b34801561035757600080fd5b5061036160095481565b6040519081526020015b60405180910390f35b34801561038057600080fd5b5061036160105481565b34801561039657600080fd5b5061039f6109d8565b60405161036b91906129d9565b3480156103b857600080fd5b506103cc6103c7366004612a27565b610a6a565b604051901515815260200161036b565b3480156103e857600080fd5b5061036160115481565b3480156103fe57600080fd5b50600654610412906001600160a01b031681565b6040516001600160a01b03909116815260200161036b565b34801561043657600080fd5b50600254610361565b34801561044b57600080fd5b506103cc61045a366004612a53565b610a84565b34801561046b57600080fd5b50600854610412906001600160a01b031681565b34801561048b57600080fd5b5061034961049a366004612a94565b610aa8565b3480156104ab57600080fd5b506040516012815260200161036b565b3480156104c757600080fd5b50610349610ba0565b3480156104dc57600080fd5b506103cc6104eb366004612a27565b610bc4565b3480156104fc57600080fd5b5061034961050b366004612ab9565b610be6565b34801561051c57600080fd5b50600754610412906001600160a01b031681565b34801561053c57600080fd5b506103cc61054b366004612ab9565b6001600160a01b031660009081526014602052604090205460ff1690565b34801561057557600080fd5b50610349610584366004612ad6565b610cbd565b34801561059557600080fd5b506103496105a4366004612ab9565b610cea565b3480156105b557600080fd5b506103496105c4366004612afc565b610dbf565b3480156105d557600080fd5b506103616105e4366004612ab9565b6001600160a01b031660009081526020819052604090205490565b34801561060b57600080fd5b50610349610e47565b34801561062057600080fd5b50610361600d5481565b34801561063657600080fd5b50610361600e5481565b34801561064c57600080fd5b50610349610e5b565b34801561066157600080fd5b50610349610670366004612ab9565b610e76565b34801561068157600080fd5b506005546001600160a01b0316610412565b34801561069f57600080fd5b50610361600b5481565b3480156106b557600080fd5b506103496106c4366004612ab9565b610f59565b3480156106d557600080fd5b5061039f610ff1565b3480156106ea57600080fd5b50610361600f5481565b34801561070057600080fd5b5061034961070f3660046129a0565b611000565b34801561072057600080fd5b5061034961072f366004612b26565b6110ae565b34801561074057600080fd5b506103cc61074f366004612a27565b61112d565b34801561076057600080fd5b506018546103cc9062010000900460ff1681565b34801561078057600080fd5b506103cc61078f366004612a27565b6111a8565b3480156107a057600080fd5b506103496107af3660046129a0565b6111b6565b3480156107c057600080fd5b506103496107cf366004612bac565b6111e9565b3480156107e057600080fd5b506103cc6107ef366004612ab9565b60176020526000908152604090205460ff1681565b34801561081057600080fd5b5061034961081f3660046129a0565b611262565b34801561083057600080fd5b50610361600c5481565b34801561084657600080fd5b50610349610855366004612b26565b611352565b34801561086657600080fd5b50610349610875366004612bac565b611436565b34801561088657600080fd5b50610349610895366004612bac565b611443565b3480156108a657600080fd5b506103496108b5366004612a27565b6114f5565b3480156108c657600080fd5b506103496108d5366004612bac565b611598565b3480156108e657600080fd5b506103616108f5366004612bc5565b61160c565b34801561090657600080fd5b50610361600a5481565b34801561091c57600080fd5b5061034961092b366004612a53565b611637565b34801561093c57600080fd5b5061034961094b366004612bac565b6116b2565b34801561095c57600080fd5b5061034961096b366004612ab9565b611740565b34801561097c57600080fd5b5061034961098b366004612bac565b6117b6565b34801561099c57600080fd5b5061034961183e565b6109ad611906565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6060600380546109e790612bf3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1390612bf3565b8015610a605780601f10610a3557610100808354040283529160200191610a60565b820191906000526020600020905b815481529060010190602001808311610a4357829003601f168201915b5050505050905090565b600033610a78818585611960565b60019150505b92915050565b600033610a92858285611a84565b610a9d858585611af8565b506001949350505050565b610ab0611906565b6005821115610b065760405162461bcd60e51b815260206004820152601e60248201527f4d6178696d756d20666565206c696d697420697320352070657263656e74000060448201526064015b60405180910390fd5b6012546040516001600160a01b03918216918316907fb8bcc853f0207d003bcfd1e4d3973e9216aa436cf4bf8780fa8ab82ad047407a90600090a36010828155601280546001600160a01b0319166001600160a01b0384169081179091556000908152601460205260409020805460ff1916600117905554600f54600e54610b999291610b9391906118f3565b906118f3565b6011555050565b610ba8611906565b30600090815260208190526040902054610bc181612357565b50565b600033610a78818585610bd7838361160c565b610be19190612c43565b611960565b610bee611906565b6013546001600160a01b0390811690821603610c605760405162461bcd60e51b815260206004820152602b60248201527f4853544c3a20546865204c5057616c6c657420616c726561647920686173207460448201526a686174206164647265737360a81b6064820152608401610afd565b6013546040516001600160a01b03918216918316907f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e90600090a3601380546001600160a01b0319166001600160a01b0392909216919091179055565b610cc5611906565b6013805463ffffffff909216600160e01b026001600160e01b03909216919091179055565b610cf2611906565b6006546001600160a01b0390811690821603610d625760405162461bcd60e51b815260206004820152602960248201527f4853544c3a2054686520726f7574657220616c7265616479206861732074686160448201526874206164647265737360b81b6064820152608401610afd565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b610dc7611906565b60185462010000900460ff1615610e195760405162461bcd60e51b81526020600482015260166024820152751214d5130e88105b1c9958591e481b185d5b98da195960521b6044820152606401610afd565b6013805467ffffffffffffffff909216600160a01b0267ffffffffffffffff60a01b19909216919091179055565b610e4f611906565b610e59600061245e565b565b610e63611906565b6018805462ff0000191662010000179055565b610e7e611906565b6008546001600160a01b0390811690821603610ef85760405162461bcd60e51b815260206004820152603360248201527f4853544c3a20546865206469766964656e6420747261636b657220616c7265616044820152726479206861732074686174206164647265737360681b6064820152608401610afd565b60085460405182916001600160a01b0390811691908316907f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600880546001600160a01b0319166001600160a01b039290921691909117905550565b610f61611906565b6007546001600160a01b0390811690821603610fcf5760405162461bcd60e51b815260206004820152602760248201527f4853544c3a20546865207061697220616c7265616479206861732074686174206044820152666164647265737360c81b6064820152608401610afd565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6060600480546109e790612bf3565b611008611906565b6007546001600160a01b03908116908316036110a05760405162461bcd60e51b815260206004820152604b60248201527f4853544c3a205468652050616e63616b655377617020706169722063616e6e6f60448201527f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b6560648201526a744d616b6572506169727360a81b608482015260a401610afd565b6110aa82826124b0565b5050565b6110b6611906565b60005b828110156111275781601560008686858181106110d8576110d8612c56565b90506020020160208101906110ed9190612ab9565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061111f81612c6c565b9150506110b9565b50505050565b6000338161113b828661160c565b90508381101561119b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610afd565b610a9d8286868403611960565b600033610a78818585611af8565b6111be611906565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6111f1611906565b60058111156112425760405162461bcd60e51b815260206004820152601e60248201527f4d6178696d756d20666565206c696d697420697320352070657263656e7400006044820152606401610afd565b600f819055601054600e5461125c9190610b9390846118f3565b60115550565b61126a611906565b6001600160a01b03821660009081526014602052604090205481151560ff9091161515036112f35760405162461bcd60e51b815260206004820152603060248201527f4853544c3a204163636f756e7420697320616c7265616479207468652076616c60448201526f7565206f6620276578636c756465642760801b6064820152608401610afd565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b61135a611906565b60005b8281101561112757816014600086868581811061137c5761137c612c56565b90506020020160208101906113919190612ab9565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558383828181106113cb576113cb612c56565b90506020020160208101906113e09190612ab9565b6001600160a01b03167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df78360405161141c911515815260200190565b60405180910390a28061142e81612c6c565b91505061135d565b61143e611906565b600c55565b61144b611906565b806114586012600a612d69565b60115461146690606461259a565b6114709190612d78565b11156114f05760405162461bcd60e51b815260206004820152604360248201527f5468726573686f6c6420746f20696e69746961746520737761702073686f756c60448201527f64206265206d696e696d756d20657175616c20746f203130302a746f74616c4660648201526265657360e81b608482015260a401610afd565b600a55565b6114fd611906565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461154a576040519150601f19603f3d011682016040523d82523d6000602084013e61154f565b606091505b50509050806115935760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610afd565b505050565b6115a0611906565b600a8111156115f15760405162461bcd60e51b815260206004820152601f60248201527f4d6178696d756d20666565206c696d69742069732031302070657263656e74006044820152606401610afd565b600e819055601054600f5461125c9190610b939084906118f3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61163f611906565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af115801561168e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111279190612d8f565b6116ba611906565b6116c66012600a612d69565b6116d3906207a120612d78565b81101561173b5760405162461bcd60e51b815260206004820152603060248201527f4d61782077616c6c65742073697a652063616e2774206265206c6f776572207460448201526f1a185b880d4c0c080c0c0c081214d51360821b6064820152608401610afd565b600b55565b611748611906565b6001600160a01b0381166117ad5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610afd565b610bc18161245e565b6117be611906565b6117ca6012600a612d69565b6117d7906207a120612d78565b8110156118395760405162461bcd60e51b815260206004820152602a60248201527f4d61782073656c6c732063616e2774206265206c6f776572207468616e2035306044820152690c080c0c0c081214d51360b21b6064820152608401610afd565b600955565b3360009081526014602052604090205460ff168061187157336000908152601460205260409020805460ff191660011790555b60085460405163e384d21560e01b81523360048201523060248201526001600160a01b039091169063e384d21590604401600060405180830381600087803b1580156118bc57600080fd5b505af11580156118d0573d6000803e3d6000fd5b5050505080610bc157336000908152601460205260409020805460ff1916905550565b60006118ff8284612c43565b9392505050565b6005546001600160a01b03163314610e595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610afd565b6001600160a01b0383166119c25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610afd565b6001600160a01b038216611a235760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610afd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611a90848461160c565b905060001981146111275781811015611aeb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610afd565b6111278484848403611960565b601354600160a01b900467ffffffffffffffff161580611b2b575060135443600160a01b90910467ffffffffffffffff16115b15611c97573260009081526014602052604090205460ff1680611b5d57503360009081526014602052604090205460ff165b80611b8057506001600160a01b03831660009081526014602052604090205460ff165b611bcc5760405162461bcd60e51b815260206004820152601d60248201527f4853544c3a204c6971756964697479206e6f74206164646564207965740000006044820152606401610afd565b600854604051632770a7eb60e21b81526001600160a01b0385811660048301526024820184905290911690639dc29fac90604401600060405180830381600087803b158015611c1a57600080fd5b505af1925050508015611c2b575060015b506008546040516340c10f1960e01b81526001600160a01b03848116600483015260248201849052909116906340c10f1990604401600060405180830381600087803b158015611c7a57600080fd5b505af1925050508015611c8b575060015b506115938383836125a6565b601354600160a01b900467ffffffffffffffff164310801590611ce25750601354611cd490600160a01b900467ffffffffffffffff16600a612dac565b67ffffffffffffffff164311155b15611d5457601354611d0590600160e01b900463ffffffff16633b9aca00612d78565b3a1115611d545760405162461bcd60e51b815260206004820152601860248201527f4853544c3a2047617320707269636520746f6f206869676800000000000000006044820152606401610afd565b6001600160a01b038316611d7a5760405162461bcd60e51b8152600401610afd90612dd4565b6001600160a01b038216611da05760405162461bcd60e51b8152600401610afd90612e19565b6001600160a01b03821660009081526015602052604090205460ff1615611dfd5760405162461bcd60e51b8152602060048201526011602482015270111a5cd85b1b1bddd959081dd85b1b195d607a1b6044820152606401610afd565b6005546001600160a01b038381169116141580611e2357506001600160a01b0382163014155b15611e85576001600160a01b03831660009081526015602052604090205460ff1615611e855760405162461bcd60e51b8152602060048201526011602482015270111a5cd85b1b1bddd959081dd85b1b195d607a1b6044820152606401610afd565b80600003611e9957611593838360006125a6565b600854604051632770a7eb60e21b81526001600160a01b0385811660048301526024820184905290911690639dc29fac90604401600060405180830381600087803b158015611ee757600080fd5b505af1925050508015611ef8575060015b5060185460ff16158015611f2457506001600160a01b03821660009081526017602052604090205460ff165b8015611f3e57506006546001600160a01b03848116911614155b8015611f6357506001600160a01b03831660009081526014602052604090205460ff16155b15611fe057600954811115611fe05760405162461bcd60e51b815260206004820152603a60248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d617853656c6c5472616e73616374696f6e416d6f756e742e0000000000006064820152608401610afd565b6001600160a01b03831660009081526014602052604090205460ff1615801561202257506001600160a01b03821660009081526014602052604090205460ff16155b801561204757506001600160a01b03821660009081526017602052604090205460ff16155b156120bf57600b548161206f846001600160a01b031660009081526020819052604090205490565b6120799190612c43565b11156120bf5760405162461bcd60e51b815260206004820152601560248201527415d85b1b195d081b1a5b5a5d08195e18d959591959605a1b6044820152606401610afd565b3060009081526020819052604081205490506000600a5482101580156120f45750600c54600d546120f09190612c43565b4210155b9050808015612106575060185460ff16155b801561212b57506001600160a01b03851660009081526017602052604090205460ff16155b801561214557506005546001600160a01b03868116911614155b801561215f57506005546001600160a01b03858116911614155b156121bd576018805460ff1916600117905542600d55601154600f54612199916121949161218e90869061259a565b906126d0565b6126dc565b306000908152602081905260409020546121b290612357565b6018805460ff191690555b6007546000906001600160a01b0387811691161480156121eb57506006546001600160a01b03868116911614155b6006549091506000906001600160a01b0388811691161480159061221c57506007546001600160a01b038781169116145b60185490915060009060ff16158015612239575082806122395750815b6001600160a01b03891660009081526014602052604090205490915060ff168061227b57506001600160a01b03871660009081526014602052604090205460ff165b15612284575060005b80156122c15760006122a6606461218e6011548a61259a90919063ffffffff16565b90506122b28782612763565b96506122bf8930836125a6565b505b6122cc8888886125a6565b6001600160a01b03881660009081526016602052604090205460ff1661234d576008546040516340c10f1960e01b81526001600160a01b03898116600483015260248201899052909116906340c10f1990604401600060405180830381600087803b15801561233a57600080fd5b505af192505050801561234b575060015b505b5050505050505050565b6123608161276f565b6000479050600061238260115461218e6010548561259a90919063ffffffff16565b6012546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156123bd573d6000803e3d6000fd5b505060085460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114612410576040519150601f19603f3d011682016040523d82523d6000602084013e612415565b606091505b5050905080156111275760408051858152602081018490527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3910160405180910390a150505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526017602052604090205481151560ff9091161515036125465760405162461bcd60e51b815260206004820152603e60248201527f4853544c3a204175746f6d61746564206d61726b6574206d616b65722070616960448201527f7220697320616c72656164792073657420746f20746861742076616c756500006064820152608401610afd565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b60006118ff8284612d78565b6001600160a01b0383166125cc5760405162461bcd60e51b8152600401610afd90612dd4565b6001600160a01b0382166125f25760405162461bcd60e51b8152600401610afd90612e19565b6001600160a01b0383166000908152602081905260409020548181101561266a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610afd565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611127565b60006118ff8284612e5c565b60006126e98260026126d0565b905060006126f78383612763565b9050476127038361276f565b600061270f4783612763565b905061271b83826128c9565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b60006118ff8284612e7e565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106127a4576127a4612c56565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156127fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128219190612e91565b8160018151811061283457612834612c56565b6001600160a01b03928316602091820292909201015260065461285a9130911684611960565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790612893908590600090869030904290600401612eae565b600060405180830381600087803b1580156128ad57600080fd5b505af11580156128c1573d6000803e3d6000fd5b505050505050565b6006546128e19030906001600160a01b031684611960565b60065460135460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015612951573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906129769190612f1f565b5050505050565b6001600160a01b0381168114610bc157600080fd5b8015158114610bc157600080fd5b600080604083850312156129b357600080fd5b82356129be8161297d565b915060208301356129ce81612992565b809150509250929050565b600060208083528351808285015260005b81811015612a06578581018301518582016040015282016129ea565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215612a3a57600080fd5b8235612a458161297d565b946020939093013593505050565b600080600060608486031215612a6857600080fd5b8335612a738161297d565b92506020840135612a838161297d565b929592945050506040919091013590565b60008060408385031215612aa757600080fd5b8235915060208301356129ce8161297d565b600060208284031215612acb57600080fd5b81356118ff8161297d565b600060208284031215612ae857600080fd5b813563ffffffff811681146118ff57600080fd5b600060208284031215612b0e57600080fd5b813567ffffffffffffffff811681146118ff57600080fd5b600080600060408486031215612b3b57600080fd5b833567ffffffffffffffff80821115612b5357600080fd5b818601915086601f830112612b6757600080fd5b813581811115612b7657600080fd5b8760208260051b8501011115612b8b57600080fd5b60209283019550935050840135612ba181612992565b809150509250925092565b600060208284031215612bbe57600080fd5b5035919050565b60008060408385031215612bd857600080fd5b8235612be38161297d565b915060208301356129ce8161297d565b600181811c90821680612c0757607f821691505b602082108103612c2757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a7e57610a7e612c2d565b634e487b7160e01b600052603260045260246000fd5b600060018201612c7e57612c7e612c2d565b5060010190565b600181815b80851115612cc0578160001904821115612ca657612ca6612c2d565b80851615612cb357918102915b93841c9390800290612c8a565b509250929050565b600082612cd757506001610a7e565b81612ce457506000610a7e565b8160018114612cfa5760028114612d0457612d20565b6001915050610a7e565b60ff841115612d1557612d15612c2d565b50506001821b610a7e565b5060208310610133831016604e8410600b8410161715612d43575081810a610a7e565b612d4d8383612c85565b8060001904821115612d6157612d61612c2d565b029392505050565b60006118ff60ff841683612cc8565b8082028115828204841417610a7e57610a7e612c2d565b600060208284031215612da157600080fd5b81516118ff81612992565b67ffffffffffffffff818116838216019080821115612dcd57612dcd612c2d565b5092915050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082612e7957634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610a7e57610a7e612c2d565b600060208284031215612ea357600080fd5b81516118ff8161297d565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612efe5784516001600160a01b031683529383019391830191600101612ed9565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612f3457600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212205e1e92a152e7078d29027264ddf41eb26287a183d24e1e4ae54c0c1693118a2b64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000cb8ceed39e8126f3d90ae260aba6e0a9ac150cc9
-----Decoded View---------------
Arg [0] : _routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _dividendTracker (address): 0xcb8CEeD39E8126F3d90ae260aba6E0a9aC150cC9
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000cb8ceed39e8126f3d90ae260aba6e0a9ac150cc9
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.