ERC-20
Overview
Max Total Supply
70,254,189.851279252000815839 NGS
Holders
531
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
30,171.441699671172341887 NGSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NGS
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract NGS is ERC20, Ownable { modifier lockSwap() { _inSwap = true; _; _inSwap = false; } modifier liquidityAdd() { _inLiquidityAdd = true; _; _inLiquidityAdd = false; } uint256 public constant MAX_MINT = 100_000_000 ether; uint256 public constant BPS_DENOMINATOR = 10_000; uint256 public constant SNIPE_BLOCKS = 2; IUniswapV2Router02 internal immutable _router; address internal immutable _pair; /// @notice Buy taxes in BPS uint256[2] public buyTaxes; /// @notice Sell taxes in BPS uint256[2] public sellTaxes; /// @notice Maximum that can be bought in a single transaction uint256 public maxBuy = 1_000_000 ether; /// @notice tokens that are allocated for each tax uint256[2] public totalTaxes; /// @notice addresses that each tax is sent to address payable[2] public taxWallets; /// @notice Maps each recipient to their tax exlcusion status mapping(address => bool) public taxExcluded; /// @notice Maps address to flag indicating if they can call goup mapping(address => bool) public goupable; /// @notice Maps address to flag indicating if they can receive goup mapping(address => bool) public goupReceiveable; /// @notice Contract NGS balance threshold before `_swap` is invoked uint256 public minTokenBalance = 1000 ether; /// @notice Flag for auto-calling `_swap` bool public autoSwap = true; /// @notice Flag indicating whether buys/sells are permitted bool public tradingActive = false; uint256 internal _totalSupply = 0; uint256 internal _minted = 0; mapping(address => uint256) private _balances; bool internal _inSwap = false; bool internal _inLiquidityAdd = false; event TaxWalletsChanged( address payable[2] previousWallets, address payable[2] nextWallets ); event BuyTaxesChanged(uint256[2] previousTaxes, uint256[2] nextTaxes); event SellTaxesChanged(uint256[2] previousTaxes, uint256[2] nextTaxes); event MinTokenBalanceChanged(uint256 previousMin, uint256 nextMin); event MaxBuyChanged(uint256 previousMax, uint256 nextMax); event TaxesRescued(uint256 index, uint256 amount); event TradingActiveChanged(bool enabled); event TaxExclusionChanged(address user, bool taxExcluded); event AutoSwapChanged(bool enabled); event GoupableChanged(address user, bool goupable); event GoupReceiveableChanged(address user, bool goupReceiveable); constructor( IUniswapV2Router02 _uniswapRouter, address payable[2] memory _taxWallets, uint256[2] memory _buyTaxes, uint256[2] memory _sellTaxes, uint256 _goupAmount ) ERC20("NoGas", "NGS") Ownable() { taxExcluded[owner()] = true; taxExcluded[address(this)] = true; taxWallets = _taxWallets; buyTaxes = _buyTaxes; sellTaxes = _sellTaxes; _router = _uniswapRouter; _pair = IUniswapV2Factory(_uniswapRouter.factory()).createPair( address(this), _uniswapRouter.WETH() ); _goup(owner(), _goupAmount); } /// @notice Change the address of the tax wallets /// @param _taxWallets The new address of the tax wallets function setTaxWallets(address payable[2] memory _taxWallets) external onlyOwner { emit TaxWalletsChanged(taxWallets, _taxWallets); taxWallets = _taxWallets; } /// @notice Change the buy tax rates /// @param _buyTaxes The new buy tax rates function setBuyTaxes(uint256[2] memory _buyTaxes) external onlyOwner { require( _buyTaxes[0] + _buyTaxes[1] <= BPS_DENOMINATOR, "sum(_buyTaxes) cannot exceed BPS_DENOMINATOR" ); emit BuyTaxesChanged(buyTaxes, _buyTaxes); buyTaxes = _buyTaxes; } /// @notice Change the sell tax rates /// @param _sellTaxes The new sell tax rates function setSellTaxes(uint256[2] memory _sellTaxes) external onlyOwner { require( _sellTaxes[0] + _sellTaxes[1] <= BPS_DENOMINATOR, "sum(_sellTaxes) cannot exceed BPS_DENOMINATOR" ); emit SellTaxesChanged(sellTaxes, _sellTaxes); sellTaxes = _sellTaxes; } /// @notice Change the minimum contract NGS balance before `_swap` gets invoked /// @param _minTokenBalance The new minimum balance function setMinTokenBalance(uint256 _minTokenBalance) external onlyOwner { emit MinTokenBalanceChanged(minTokenBalance, _minTokenBalance); minTokenBalance = _minTokenBalance; } /// @notice Change the max buy amount /// @param _maxBuy The new max buy amount function setMaxBuy(uint256 _maxBuy) external onlyOwner { emit MaxBuyChanged(maxBuy, _maxBuy); maxBuy = _maxBuy; } /// @notice Add a user to goupable /// @param _user The user to add to goupable function goupableAdd(address _user) external onlyOwner { goupable[_user] = true; emit GoupableChanged(_user, true); } /// @notice Remove a user from goupable /// @param _user The user to remove from goupable function goupableRemove(address _user) external onlyOwner { goupable[_user] = false; emit GoupableChanged(_user, false); } /// @notice Add a user to goupReceiveable /// @param _user The user to add to goupReceiveable function goupReceiveableAdd(address _user) external onlyOwner { goupReceiveable[_user] = true; emit GoupReceiveableChanged(_user, true); } /// @notice Remove a user from goupReceiveable /// @param _user The user to remove from goupReceiveable function goupReceiveableRemove(address _user) external onlyOwner { goupReceiveable[_user] = false; emit GoupReceiveableChanged(_user, false); } /// @notice Rescue NGS from the taxes /// @dev Should only be used in an emergency /// @param _index The tax allocation to rescue from /// @param _amount The amount of NGS to rescue /// @param _recipient The recipient of the rescued NGS function rescueTaxTokens( uint256 _index, uint256 _amount, address _recipient ) external onlyOwner { require(0 <= _index && _index < totalTaxes.length, "_index OOB"); require( _amount <= totalTaxes[_index], "Amount cannot be greater than totalTax" ); _rawTransfer(address(this), _recipient, _amount); emit TaxesRescued(_index, _amount); totalTaxes[_index] -= _amount; } function addLiquidity(uint256 tokens) external payable onlyOwner liquidityAdd { _goup(address(this), tokens); _approve(address(this), address(_router), tokens); _router.addLiquidityETH{value: msg.value}( address(this), tokens, 0, 0, owner(), // solhint-disable-next-line not-rely-on-time block.timestamp ); } /// @notice Enables or disables trading on Uniswap function setTradingActive(bool _tradingActive) external onlyOwner { tradingActive = _tradingActive; emit TradingActiveChanged(_tradingActive); } /// @notice Updates tax exclusion status /// @param _account Account to update the tax exclusion status of /// @param _taxExcluded If true, exclude taxes for this user function setTaxExcluded(address _account, bool _taxExcluded) external onlyOwner { taxExcluded[_account] = _taxExcluded; emit TaxExclusionChanged(_account, _taxExcluded); } /// @notice Enable or disable whether swap occurs during `_transfer` /// @param _autoSwap If true, enables swap during `_transfer` function setAutoSwap(bool _autoSwap) external onlyOwner { autoSwap = _autoSwap; emit AutoSwapChanged(_autoSwap); } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function _addBalance(address account, uint256 amount) internal { _balances[account] = _balances[account] + amount; } function _subtractBalance(address account, uint256 amount) internal { _balances[account] = _balances[account] - amount; } function _transfer( address sender, address recipient, uint256 amount ) internal override { if (taxExcluded[sender] || taxExcluded[recipient]) { _rawTransfer(sender, recipient, amount); return; } if ( totalTaxes[0] + totalTaxes[1] >= minTokenBalance && !_inSwap && sender != _pair && autoSwap ) { _swap(); } uint256 send = amount; uint256[2] memory taxes; if (sender == _pair) { require(tradingActive, "Trading is not yet active"); (send, taxes) = _getTaxAmounts(amount, true); require(amount <= maxBuy, "Buy amount exceeds maxBuy"); } else if (recipient == _pair) { require(tradingActive, "Trading is not yet active"); (send, taxes) = _getTaxAmounts(amount, false); } _rawTransfer(sender, recipient, send); _takeTaxes(sender, taxes); } /// @notice Perform a Uniswap v2 swap from NGS to ETH and handle tax distribution function _swap() internal lockSwap { address[] memory path = new address[](2); path[0] = address(this); path[1] = _router.WETH(); uint256 walletTaxes = totalTaxes[0] + totalTaxes[1]; _approve(address(this), address(_router), walletTaxes); _router.swapExactTokensForETHSupportingFeeOnTransferTokens( walletTaxes, 0, // accept any amount of ETH path, address(this), block.timestamp ); uint256 contractEthBalance = address(this).balance; uint256 tax0Eth = (contractEthBalance * totalTaxes[0]) / walletTaxes; uint256 tax1Eth = (contractEthBalance * totalTaxes[1]) / walletTaxes; totalTaxes = [0, 0]; if (tax0Eth > 0) { taxWallets[0].transfer(tax0Eth); } if (tax1Eth > 0) { taxWallets[1].transfer(tax1Eth); } } function swapAll() external { if (!_inSwap) { _swap(); } } function withdrawAll() external onlyOwner { payable(owner()).transfer(address(this).balance); } /// @notice Transfers NGS from an account to this contract for taxes /// @param _account The account to transfer NGS from /// @param _taxAmounts The amount for each tax function _takeTaxes(address _account, uint256[2] memory _taxAmounts) internal { require(_account != address(0), "taxation from the zero address"); uint256 totalAmount = _taxAmounts[0] + _taxAmounts[1]; _rawTransfer(_account, address(this), totalAmount); totalTaxes[0] += _taxAmounts[0]; totalTaxes[1] += _taxAmounts[1]; } /// @notice Get a breakdown of send and tax amounts /// @param amount The amount to tax in wei /// @return send The raw amount to send /// @return taxes The raw tax amounts function _getTaxAmounts(uint256 amount, bool buying) internal view returns (uint256 send, uint256[2] memory taxes) { if (buying) { taxes = [ (amount * buyTaxes[0]) / BPS_DENOMINATOR, (amount * buyTaxes[1]) / BPS_DENOMINATOR ]; } else { taxes = [ (amount * sellTaxes[0]) / BPS_DENOMINATOR, (amount * sellTaxes[1]) / BPS_DENOMINATOR ]; } send = amount - taxes[0] - taxes[1]; } // modified from OpenZeppelin ERC20 function _rawTransfer( address sender, address recipient, uint256 amount ) internal { require(sender != address(0), "transfer from the zero address"); require(recipient != address(0), "transfer to the zero address"); uint256 senderBalance = balanceOf(sender); require(senderBalance >= amount, "transfer amount exceeds balance"); unchecked { _subtractBalance(sender, amount); } _addBalance(recipient, amount); emit Transfer(sender, recipient, amount); } function totalSupply() public view override returns (uint256) { return _totalSupply; } function _goup(address account, uint256 amount) internal { require(_minted + amount <= MAX_MINT, "Max supply exceeded"); _minted += amount; _totalSupply += amount; _addBalance(account, amount); emit Transfer(address(0), account, amount); } function goup(address account, uint256 amount) external { require(goupable[msg.sender], "NGS: goupableOnly"); require(goupReceiveable[account], "NGS: goupReceiveableOnly"); _goup(account, amount); } /// @notice Burn own tokens /// @param amount The amount of tokens to burn function burn(uint256 amount) external { _totalSupply -= amount; _subtractBalance(msg.sender, amount); emit Transfer(msg.sender, address(0), amount); } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _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.8.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]. * * 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}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
pragma solidity >=0.5.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; }
pragma solidity >=0.5.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; }
pragma solidity >=0.6.2; 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; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IUniswapV2Router02","name":"_uniswapRouter","type":"address"},{"internalType":"address payable[2]","name":"_taxWallets","type":"address[2]"},{"internalType":"uint256[2]","name":"_buyTaxes","type":"uint256[2]"},{"internalType":"uint256[2]","name":"_sellTaxes","type":"uint256[2]"},{"internalType":"uint256","name":"_goupAmount","type":"uint256"}],"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":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"AutoSwapChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[2]","name":"previousTaxes","type":"uint256[2]"},{"indexed":false,"internalType":"uint256[2]","name":"nextTaxes","type":"uint256[2]"}],"name":"BuyTaxesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"goupReceiveable","type":"bool"}],"name":"GoupReceiveableChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"goupable","type":"bool"}],"name":"GoupableChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousMax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextMax","type":"uint256"}],"name":"MaxBuyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextMin","type":"uint256"}],"name":"MinTokenBalanceChanged","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[2]","name":"previousTaxes","type":"uint256[2]"},{"indexed":false,"internalType":"uint256[2]","name":"nextTaxes","type":"uint256[2]"}],"name":"SellTaxesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"taxExcluded","type":"bool"}],"name":"TaxExclusionChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address payable[2]","name":"previousWallets","type":"address[2]"},{"indexed":false,"internalType":"address payable[2]","name":"nextWallets","type":"address[2]"}],"name":"TaxWalletsChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TaxesRescued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"TradingActiveChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BPS_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNIPE_BLOCKS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"addLiquidity","outputs":[],"stateMutability":"payable","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":[],"name":"autoSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"buyTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"goup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"goupReceiveable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"goupReceiveableAdd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"goupReceiveableRemove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"goupable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"goupableAdd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"goupableRemove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minTokenBalance","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"rescueTaxTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sellTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_autoSwap","type":"bool"}],"name":"setAutoSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[2]","name":"_buyTaxes","type":"uint256[2]"}],"name":"setBuyTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBuy","type":"uint256"}],"name":"setMaxBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minTokenBalance","type":"uint256"}],"name":"setMinTokenBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[2]","name":"_sellTaxes","type":"uint256[2]"}],"name":"setSellTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_taxExcluded","type":"bool"}],"name":"setTaxExcluded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable[2]","name":"_taxWallets","type":"address[2]"}],"name":"setTaxWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_tradingActive","type":"bool"}],"name":"setTradingActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"taxWallets","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060405269d3c21bcecceda1000000600a55683635c9adc5dea000006012556013805461ffff19908116600117909155600060148190556015556017805490911690553480156200005057600080fd5b5060405162002e7a38038062002e7a833981016040819052620000739162000687565b604051806040016040528060058152602001644e6f47617360d81b815250604051806040016040528060038152602001624e475360e81b8152508160039080519060200190620000c5929190620004e5565b508051620000db906004906020840190620004e5565b505050620000f8620000f26200035460201b60201c565b62000358565b6001600f6000620001116005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152600f90925290208054909116600117905562000160600d85600262000574565b50620001706006846002620005bf565b50620001806008836002620005bf565b50846001600160a01b03166080816001600160a01b031660601b81525050846001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620001d857600080fd5b505afa158015620001ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000213919062000661565b6001600160a01b031663c9c6539630876001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200025c57600080fd5b505afa15801562000271573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000297919062000661565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002e057600080fd5b505af1158015620002f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031b919062000661565b60601b6001600160601b03191660a05262000349620003426005546001600160a01b031690565b82620003aa565b5050505050620007f6565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6a52b7d2dcc80cd2e400000081601554620003c691906200077b565b1115620004195760405162461bcd60e51b815260206004820152601360248201527f4d617820737570706c7920657863656564656400000000000000000000000000604482015260640160405180910390fd5b80601560008282546200042d91906200077b565b9250508190555080601460008282546200044891906200077b565b909155506200045a905082826200049f565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216600090815260166020526040902054620004c59082906200077b565b6001600160a01b0390921660009081526016602052604090209190915550565b828054620004f390620007a0565b90600052602060002090601f01602090048101928262000517576000855562000562565b82601f106200053257805160ff191683800117855562000562565b8280016001018555821562000562579182015b828111156200056257825182559160200191906001019062000545565b5062000570929150620005ef565b5090565b826002810192821562000562579160200282015b828111156200056257825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000588565b82600281019282156200056257916020028201828111156200056257825182559160200191906001019062000545565b5b80821115620005705760008155600101620005f0565b600082601f83011262000617578081fd5b6200062162000744565b80838560408601111562000633578384fd5b835b60028110156200065657815184526020938401939091019060010162000635565b509095945050505050565b60006020828403121562000673578081fd5b81516200068081620007dd565b9392505050565b60008060008060006101008688031215620006a0578081fd5b8551620006ad81620007dd565b94506020603f87018813620006c0578182fd5b620006ca62000744565b8082890160608a018b811115620006df578586fd5b855b60028110156200070b578251620006f881620007dd565b85529385019391850191600101620006e1565b508298506200071b8c8262000606565b97505050505050620007318760a0880162000606565b915060e086015190509295509295909350565b604080519081016001600160401b03811182821017156200077557634e487b7160e01b600052604160045260246000fd5b60405290565b600082198211156200079b57634e487b7160e01b81526011600452602481fd5b500190565b600181811c90821680620007b557607f821691505b60208210811415620007d757634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b0381168114620007f357600080fd5b50565b60805160601c60a05160601c61262e6200084c60003960008181611665015281816116c001526117b4015260008181610b1601528181610b3d015281816118de015281816119c101526119fd015261262e6000f3fe6080604052600436106102815760003560e01c8063821f65801161014f578063b0ac1571116100c1578063f0292a031161007a578063f0292a0314610774578063f2fde38b14610793578063f50a243b146107b3578063f53bc835146107d3578063f9e8f8e9146107f3578063fbb8759b1461082357600080fd5b8063b0ac1571146106ca578063bbc0c742146106ea578063ccf1f46114610709578063dd62ed3e14610729578063e1a4521814610749578063f016d83b1461075f57600080fd5b8063959bd6c211610113578063959bd6c21461061557806395d89b4114610635578063a457c2d71461064a578063a894185d1461066a578063a9059cbb1461068a578063b075fed6146106aa57600080fd5b8063821f65801461056e578063853828b61461058e5780638da5cb5b146105a3578063912c048c146105d557806393818cfa146105f557600080fd5b80633e9ffbea116101f357806370a08231116101ac57806370a08231146104b357806370db69d6146104e9578063715018a6146104ff5780637700485114610514578063795fb4131461052e578063816530a31461054e57600080fd5b80633e9ffbea1461041557806342966c681461042a57806351c6590a1461044a57806352f892fa1461045d5780635b78f35f1461047d57806364071d9f1461049357600080fd5b806323b872dd1161024557806323b872dd146103495780632c8dc14714610369578063313ce567146103895780633780844e146103a557806339509351146103c557806339b622d3146103e557600080fd5b806306fdde031461028d578063095ea7b3146102b857806309d2c46a146102e857806318160ddd1461030a57806319c2c40d1461032957600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a2610853565b6040516102af919061242a565b60405180910390f35b3480156102c457600080fd5b506102d86102d33660046121e1565b6108e5565b60405190151581526020016102af565b3480156102f457600080fd5b5061030861030336600461220c565b6108fd565b005b34801561031657600080fd5b506014545b6040519081526020016102af565b34801561033557600080fd5b506103086103443660046121ad565b610950565b34801561035557600080fd5b506102d861036436600461216d565b6109bb565b34801561037557600080fd5b5061031b6103843660046122ed565b6109df565b34801561039557600080fd5b50604051601281526020016102af565b3480156103b157600080fd5b506103086103c03660046120f6565b6109f6565b3480156103d157600080fd5b506102d86103e03660046121e1565b610a5c565b3480156103f157600080fd5b506102d86104003660046120f6565b600f6020526000908152604090205460ff1681565b34801561042157600080fd5b50610308610a7e565b34801561043657600080fd5b506103086104453660046122ed565b610a92565b6103086104583660046122ed565b610aef565b34801561046957600080fd5b5061030861047836600461227a565b610c2f565b34801561048957600080fd5b5061031b60125481565b34801561049f57600080fd5b506103086104ae36600461227a565b610cfa565b3480156104bf57600080fd5b5061031b6104ce3660046120f6565b6001600160a01b031660009081526016602052604090205490565b3480156104f557600080fd5b5061031b600a5481565b34801561050b57600080fd5b50610308610dc1565b34801561052057600080fd5b506013546102d89060ff1681565b34801561053a57600080fd5b506103086105493660046120f6565b610dd3565b34801561055a57600080fd5b506103086105693660046120f6565b610e36565b34801561057a57600080fd5b5061031b6105893660046122ed565b610e99565b34801561059a57600080fd5b50610308610ea9565b3480156105af57600080fd5b506005546001600160a01b03165b6040516001600160a01b0390911681526020016102af565b3480156105e157600080fd5b506105bd6105f03660046122ed565b610eed565b34801561060157600080fd5b506103086106103660046122d3565b610f0d565b34801561062157600080fd5b506103086106303660046122d3565b610f56565b34801561064157600080fd5b506102a2610fa7565b34801561065657600080fd5b506102d86106653660046121e1565b610fb6565b34801561067657600080fd5b50610308610685366004612305565b611031565b34801561069657600080fd5b506102d86106a53660046121e1565b611177565b3480156106b657600080fd5b506103086106c53660046121e1565b611185565b3480156106d657600080fd5b506103086106e53660046122ed565b61124a565b3480156106f657600080fd5b506013546102d890610100900460ff1681565b34801561071557600080fd5b506103086107243660046120f6565b611293565b34801561073557600080fd5b5061031b610744366004612135565b6112f2565b34801561075557600080fd5b5061031b61271081565b34801561076b57600080fd5b5061031b600281565b34801561078057600080fd5b5061031b6a52b7d2dcc80cd2e400000081565b34801561079f57600080fd5b506103086107ae3660046120f6565b61131d565b3480156107bf57600080fd5b5061031b6107ce3660046122ed565b611393565b3480156107df57600080fd5b506103086107ee3660046122ed565b6113a3565b3480156107ff57600080fd5b506102d861080e3660046120f6565b60116020526000908152604090205460ff1681565b34801561082f57600080fd5b506102d861083e3660046120f6565b60106020526000908152604090205460ff1681565b60606003805461086290612592565b80601f016020809104026020016040519081016040528092919081815260200182805461088e90612592565b80156108db5780601f106108b0576101008083540402835291602001916108db565b820191906000526020600020905b8154815290600101906020018083116108be57829003601f168201915b5050505050905090565b6000336108f38185856113ec565b5060019392505050565b610905611510565b7fbf0afdfa1cb21873aab858ebc02e5db135c9f8e64589cd0d1a668b4d66993ca9600d8260405161093792919061236a565b60405180910390a161094c600d826002611ff5565b5050565b610958611510565b6001600160a01b0382166000818152600f6020908152604091829020805460ff19168515159081179091558251938452908301527f9081172b1302ac3df81f8da318d2d60362a834f73c0a1b69d14cb14414fbb9fc910160405180910390a15050565b6000336109c985828561156a565b6109d48585856115e4565b506001949350505050565b600881600281106109ef57600080fd5b0154905081565b6109fe611510565b6001600160a01b0381166000818152601060209081526040808320805460ff191690558051938452908301919091527ff9d47ab3a5386eebd237b6e3c5cbf0deecd2af19c0033c712b60652b1b65994e91015b60405180910390a150565b6000336108f3818585610a6f83836112f2565b610a799190612524565b6113ec565b60175460ff16610a9057610a9061186c565b565b8060146000828254610aa4919061257b565b90915550610ab490503382611b65565b60405181815260009033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350565b610af7611510565b6017805461ff001916610100179055610b103082611ba9565b610b3b307f0000000000000000000000000000000000000000000000000000000000000000836113ec565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d719343084600080610b826005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015610be557600080fd5b505af1158015610bf9573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610c1e919061233d565b50506017805461ff00191690555050565b610c37611510565b6020810151815161271091610c4b91612524565b1115610cb35760405162461bcd60e51b815260206004820152602c60248201527f73756d285f6275795461786573292063616e6e6f74206578636565642042505360448201526b2fa222a727a6a4a720aa27a960a11b60648201526084015b60405180910390fd5b7ff030bb719ac1227860b29dae4e2aead664a7eb21b5d574d8eb10302e435a57cb600682604051610ce59291906123d8565b60405180910390a161094c600682600261204d565b610d02611510565b6020810151815161271091610d1691612524565b1115610d7a5760405162461bcd60e51b815260206004820152602d60248201527f73756d285f73656c6c5461786573292063616e6e6f742065786365656420425060448201526c29afa222a727a6a4a720aa27a960991b6064820152608401610caa565b7f4e5aa6a1d8a2baf47d4c781f8fa278df4f48fb465fde488841b40aee0868d9f2600882604051610dac9291906123d8565b60405180910390a161094c600882600261204d565b610dc9611510565b610a906000611c87565b610ddb611510565b6001600160a01b038116600081815260106020908152604091829020805460ff191660019081179091558251938452908301527ff9d47ab3a5386eebd237b6e3c5cbf0deecd2af19c0033c712b60652b1b65994e9101610a51565b610e3e611510565b6001600160a01b038116600081815260116020908152604091829020805460ff191660019081179091558251938452908301527f255be8e1db7bc3e9ac2633c05105af6bc14fe1cbf98841ee58827e11a26024dc9101610a51565b600681600281106109ef57600080fd5b610eb1611510565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610eea573d6000803e3d6000fd5b50565b600d8160028110610efd57600080fd5b01546001600160a01b0316905081565b610f15611510565b6013805460ff19168215159081179091556040519081527f927009a164f58be5665a2121b2564ae19a66046fb36a397d3fca78f72ba04c3d90602001610a51565b610f5e611510565b601380548215156101000261ff00199091161790556040517fec78e36312d308764a43b9714c18f6444e2604b277d18be4ea329e0644dbe9b990610a5190831515815260200190565b60606004805461086290612592565b60003381610fc482866112f2565b9050838110156110245760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610caa565b6109d482868684036113ec565b611039611510565b600283106110765760405162461bcd60e51b815260206004820152600a6024820152692fb4b73232bc1027a7a160b11b6044820152606401610caa565b600b836002811061109757634e487b7160e01b600052603260045260246000fd5b01548211156110f75760405162461bcd60e51b815260206004820152602660248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f6044820152650e8c2d8a8c2f60d31b6064820152608401610caa565b611102308284611cd9565b60408051848152602081018490527f13ac772a78d03c80813b3c9c28d72a72d3b31e5ee74e277a88ac0c322a6bfc8f910160405180910390a181600b846002811061115d57634e487b7160e01b600052603260045260246000fd5b01600082825461116d919061257b565b9091555050505050565b6000336108f38185856115e4565b3360009081526010602052604090205460ff166111d85760405162461bcd60e51b81526020600482015260116024820152704e47533a20676f757061626c654f6e6c7960781b6044820152606401610caa565b6001600160a01b03821660009081526011602052604090205460ff166112405760405162461bcd60e51b815260206004820152601860248201527f4e47533a20676f75705265636569766561626c654f6e6c7900000000000000006044820152606401610caa565b61094c8282611ba9565b611252611510565b60125460408051918252602082018390527f15426420a06dcf9391d9e4b7557f5cfaba5be0d7bf857b641e78ec375a343425910160405180910390a1601255565b61129b611510565b6001600160a01b0381166000818152601160209081526040808320805460ff191690558051938452908301919091527f255be8e1db7bc3e9ac2633c05105af6bc14fe1cbf98841ee58827e11a26024dc9101610a51565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b611325611510565b6001600160a01b03811661138a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610caa565b610eea81611c87565b600b81600281106109ef57600080fd5b6113ab611510565b600a5460408051918252602082018390527f4dc2313a84b395e55972a3b89a37fcaf0de5664a014223f644ee10a5cda3d926910160405180910390a1600a55565b6001600160a01b03831661144e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610caa565b6001600160a01b0382166114af5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610caa565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610a905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610caa565b600061157684846112f2565b905060001981146115de57818110156115d15760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610caa565b6115de84848484036113ec565b50505050565b6001600160a01b0383166000908152600f602052604090205460ff168061162357506001600160a01b0382166000908152600f602052604090205460ff165b1561163857611633838383611cd9565b505050565b601254600c54600b5461164b9190612524565b1015801561165c575060175460ff16155b801561169a57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b80156116a8575060135460ff165b156116b5576116b561186c565b806116be61207b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614156117b257601354610100900460ff1661174b5760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610caa565b611756836001611e55565b600a5491935091508311156117ad5760405162461bcd60e51b815260206004820152601960248201527f42757920616d6f756e742065786365656473206d6178427579000000000000006044820152606401610caa565b611850565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316141561185057601354610100900460ff1661183f5760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610caa565b61184a836000611e55565b90925090505b61185b858584611cd9565b6118658582611f2b565b5050505050565b6017805460ff1916600117905560408051600280825260608201835260009260208301908036833701905050905030816000815181106118bc57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561193557600080fd5b505afa158015611949573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196d9190612119565b8160018151811061198e57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039290921660209283029190910190910152600c54600b546000916119b991612524565b90506119e6307f0000000000000000000000000000000000000000000000000000000000000000836113ec565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611a3b90849060009087903090429060040161247d565b600060405180830381600087803b158015611a5557600080fd5b505af1158015611a69573d6000803e3d6000fd5b5050600b54479250600091508390611a81908461255c565b611a8b919061253c565b9050600083600b60010154611aa0908561255c565b611aaa919061253c565b6040805180820190915260008082526020820152909150611acf90600b906002612099565b508115611b1257600d546040516001600160a01b03909116906108fc8415029084906000818181858888f19350505050158015611b10573d6000803e3d6000fd5b505b8015611b5457600e546040516001600160a01b03909116906108fc8315029083906000818181858888f19350505050158015611b52573d6000803e3d6000fd5b505b50506017805460ff19169055505050565b6001600160a01b038216600090815260166020526040902054611b8990829061257b565b6001600160a01b0390921660009081526016602052604090209190915550565b6a52b7d2dcc80cd2e400000081601554611bc39190612524565b1115611c075760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610caa565b8060156000828254611c199190612524565b925050819055508060146000828254611c329190612524565b90915550611c4290508282611fd1565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611d2f5760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610caa565b6001600160a01b038216611d855760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610caa565b6001600160a01b03831660009081526016602052604090205481811015611dee5760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610caa565b611df88483611b65565b611e028383611fd1565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e4791815260200190565b60405180910390a350505050565b6000611e5f61207b565b8215611eb8576040805180820190915280612710600660000154611e83908861255c565b611e8d919061253c565b8152602001612710600660010154611ea5908861255c565b611eaf919061253c565b90529050611f07565b6040805180820190915280612710600860000154611ed6908861255c565b611ee0919061253c565b8152602001612710600860010154611ef8908861255c565b611f02919061253c565b905290505b60208101518151611f18908661257b565b611f22919061257b565b91509250929050565b6001600160a01b038216611f815760405162461bcd60e51b815260206004820152601e60248201527f7461786174696f6e2066726f6d20746865207a65726f206164647265737300006044820152606401610caa565b60208101518151600091611f9491612524565b9050611fa1833083611cd9565b8151600b8054600090611fb5908490612524565b90915550506020820151600c805460009061116d908490612524565b6001600160a01b038216600090815260166020526040902054611b89908290612524565b826002810192821561203d579160200282015b8281111561203d57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612008565b506120499291506120cc565b5090565b826002810192821561203d579160200282015b8281111561203d578251825591602001919060010190612060565b60405180604001604052806002906020820280368337509192915050565b826002810192821561203d579160200282015b8281111561203d578251829060ff169055916020019190600101906120ac565b5b8082111561204957600081556001016120cd565b803580151581146120f157600080fd5b919050565b600060208284031215612107578081fd5b8135612112816125e3565b9392505050565b60006020828403121561212a578081fd5b8151612112816125e3565b60008060408385031215612147578081fd5b8235612152816125e3565b91506020830135612162816125e3565b809150509250929050565b600080600060608486031215612181578081fd5b833561218c816125e3565b9250602084013561219c816125e3565b929592945050506040919091013590565b600080604083850312156121bf578182fd5b82356121ca816125e3565b91506121d8602084016120e1565b90509250929050565b600080604083850312156121f3578182fd5b82356121fe816125e3565b946020939093013593505050565b60006040828403121561221d578081fd5b82601f83011261222b578081fd5b6122336124ed565b808385604086011115612244578384fd5b835b600281101561226f57813561225a816125e3565b84526020938401939190910190600101612246565b509095945050505050565b60006040828403121561228b578081fd5b82601f830112612299578081fd5b6122a16124ed565b8083856040860111156122b2578384fd5b835b600281101561226f5781358452602093840193909101906001016122b4565b6000602082840312156122e4578081fd5b612112826120e1565b6000602082840312156122fe578081fd5b5035919050565b600080600060608486031215612319578283fd5b83359250602084013591506040840135612332816125e3565b809150509250925092565b600080600060608486031215612351578283fd5b8351925060208401519150604084015190509250925092565b60808101818460005b600281101561239b5781546001600160a01b0316835260209092019160019182019101612373565b505050604082018360005b60028110156123ce5781516001600160a01b03168352602092830192909101906001016123a6565b5050509392505050565b60808101818460005b60028110156124005781548352602090920191600191820191016123e1565b505050604082018360005b60028110156123ce57815183526020928301929091019060010161240b565b6000602080835283518082850152825b818110156124565785810183015185820160400152820161243a565b818111156124675783604083870101525b50601f01601f1916929092016040019392505050565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156124cc5784516001600160a01b0316835293830193918301916001016124a7565b50506001600160a01b03969096166060850152505050608001529392505050565b6040805190810167ffffffffffffffff8111828210171561251e57634e487b7160e01b600052604160045260246000fd5b60405290565b60008219821115612537576125376125cd565b500190565b60008261255757634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612576576125766125cd565b500290565b60008282101561258d5761258d6125cd565b500390565b600181811c908216806125a657607f821691505b602082108114156125c757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610eea57600080fdfea2646970667358221220c3a1f4c51f44cd5a2a7bffef8c13a51a6a7af5f273f2a2deffe9ac4f5cb2abed64736f6c634300080400330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c8a3307505009d1c013b55f4ce90934cea0c6d1d000000000000000000000000322060f204282e48cf7e1ab961f49d6c5f54139a0000000000000000000000000000000000000000000000000000000000000258000000000000000000000000000000000000000000000000000000000000096000000000000000000000000000000000000000000000000000000000000002580000000000000000000000000000000000000000000000000000000000000960000000000000000000000000000000000000000000108b2a2c28029094000000
Deployed Bytecode
0x6080604052600436106102815760003560e01c8063821f65801161014f578063b0ac1571116100c1578063f0292a031161007a578063f0292a0314610774578063f2fde38b14610793578063f50a243b146107b3578063f53bc835146107d3578063f9e8f8e9146107f3578063fbb8759b1461082357600080fd5b8063b0ac1571146106ca578063bbc0c742146106ea578063ccf1f46114610709578063dd62ed3e14610729578063e1a4521814610749578063f016d83b1461075f57600080fd5b8063959bd6c211610113578063959bd6c21461061557806395d89b4114610635578063a457c2d71461064a578063a894185d1461066a578063a9059cbb1461068a578063b075fed6146106aa57600080fd5b8063821f65801461056e578063853828b61461058e5780638da5cb5b146105a3578063912c048c146105d557806393818cfa146105f557600080fd5b80633e9ffbea116101f357806370a08231116101ac57806370a08231146104b357806370db69d6146104e9578063715018a6146104ff5780637700485114610514578063795fb4131461052e578063816530a31461054e57600080fd5b80633e9ffbea1461041557806342966c681461042a57806351c6590a1461044a57806352f892fa1461045d5780635b78f35f1461047d57806364071d9f1461049357600080fd5b806323b872dd1161024557806323b872dd146103495780632c8dc14714610369578063313ce567146103895780633780844e146103a557806339509351146103c557806339b622d3146103e557600080fd5b806306fdde031461028d578063095ea7b3146102b857806309d2c46a146102e857806318160ddd1461030a57806319c2c40d1461032957600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a2610853565b6040516102af919061242a565b60405180910390f35b3480156102c457600080fd5b506102d86102d33660046121e1565b6108e5565b60405190151581526020016102af565b3480156102f457600080fd5b5061030861030336600461220c565b6108fd565b005b34801561031657600080fd5b506014545b6040519081526020016102af565b34801561033557600080fd5b506103086103443660046121ad565b610950565b34801561035557600080fd5b506102d861036436600461216d565b6109bb565b34801561037557600080fd5b5061031b6103843660046122ed565b6109df565b34801561039557600080fd5b50604051601281526020016102af565b3480156103b157600080fd5b506103086103c03660046120f6565b6109f6565b3480156103d157600080fd5b506102d86103e03660046121e1565b610a5c565b3480156103f157600080fd5b506102d86104003660046120f6565b600f6020526000908152604090205460ff1681565b34801561042157600080fd5b50610308610a7e565b34801561043657600080fd5b506103086104453660046122ed565b610a92565b6103086104583660046122ed565b610aef565b34801561046957600080fd5b5061030861047836600461227a565b610c2f565b34801561048957600080fd5b5061031b60125481565b34801561049f57600080fd5b506103086104ae36600461227a565b610cfa565b3480156104bf57600080fd5b5061031b6104ce3660046120f6565b6001600160a01b031660009081526016602052604090205490565b3480156104f557600080fd5b5061031b600a5481565b34801561050b57600080fd5b50610308610dc1565b34801561052057600080fd5b506013546102d89060ff1681565b34801561053a57600080fd5b506103086105493660046120f6565b610dd3565b34801561055a57600080fd5b506103086105693660046120f6565b610e36565b34801561057a57600080fd5b5061031b6105893660046122ed565b610e99565b34801561059a57600080fd5b50610308610ea9565b3480156105af57600080fd5b506005546001600160a01b03165b6040516001600160a01b0390911681526020016102af565b3480156105e157600080fd5b506105bd6105f03660046122ed565b610eed565b34801561060157600080fd5b506103086106103660046122d3565b610f0d565b34801561062157600080fd5b506103086106303660046122d3565b610f56565b34801561064157600080fd5b506102a2610fa7565b34801561065657600080fd5b506102d86106653660046121e1565b610fb6565b34801561067657600080fd5b50610308610685366004612305565b611031565b34801561069657600080fd5b506102d86106a53660046121e1565b611177565b3480156106b657600080fd5b506103086106c53660046121e1565b611185565b3480156106d657600080fd5b506103086106e53660046122ed565b61124a565b3480156106f657600080fd5b506013546102d890610100900460ff1681565b34801561071557600080fd5b506103086107243660046120f6565b611293565b34801561073557600080fd5b5061031b610744366004612135565b6112f2565b34801561075557600080fd5b5061031b61271081565b34801561076b57600080fd5b5061031b600281565b34801561078057600080fd5b5061031b6a52b7d2dcc80cd2e400000081565b34801561079f57600080fd5b506103086107ae3660046120f6565b61131d565b3480156107bf57600080fd5b5061031b6107ce3660046122ed565b611393565b3480156107df57600080fd5b506103086107ee3660046122ed565b6113a3565b3480156107ff57600080fd5b506102d861080e3660046120f6565b60116020526000908152604090205460ff1681565b34801561082f57600080fd5b506102d861083e3660046120f6565b60106020526000908152604090205460ff1681565b60606003805461086290612592565b80601f016020809104026020016040519081016040528092919081815260200182805461088e90612592565b80156108db5780601f106108b0576101008083540402835291602001916108db565b820191906000526020600020905b8154815290600101906020018083116108be57829003601f168201915b5050505050905090565b6000336108f38185856113ec565b5060019392505050565b610905611510565b7fbf0afdfa1cb21873aab858ebc02e5db135c9f8e64589cd0d1a668b4d66993ca9600d8260405161093792919061236a565b60405180910390a161094c600d826002611ff5565b5050565b610958611510565b6001600160a01b0382166000818152600f6020908152604091829020805460ff19168515159081179091558251938452908301527f9081172b1302ac3df81f8da318d2d60362a834f73c0a1b69d14cb14414fbb9fc910160405180910390a15050565b6000336109c985828561156a565b6109d48585856115e4565b506001949350505050565b600881600281106109ef57600080fd5b0154905081565b6109fe611510565b6001600160a01b0381166000818152601060209081526040808320805460ff191690558051938452908301919091527ff9d47ab3a5386eebd237b6e3c5cbf0deecd2af19c0033c712b60652b1b65994e91015b60405180910390a150565b6000336108f3818585610a6f83836112f2565b610a799190612524565b6113ec565b60175460ff16610a9057610a9061186c565b565b8060146000828254610aa4919061257b565b90915550610ab490503382611b65565b60405181815260009033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350565b610af7611510565b6017805461ff001916610100179055610b103082611ba9565b610b3b307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d836113ec565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d719343084600080610b826005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015610be557600080fd5b505af1158015610bf9573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610c1e919061233d565b50506017805461ff00191690555050565b610c37611510565b6020810151815161271091610c4b91612524565b1115610cb35760405162461bcd60e51b815260206004820152602c60248201527f73756d285f6275795461786573292063616e6e6f74206578636565642042505360448201526b2fa222a727a6a4a720aa27a960a11b60648201526084015b60405180910390fd5b7ff030bb719ac1227860b29dae4e2aead664a7eb21b5d574d8eb10302e435a57cb600682604051610ce59291906123d8565b60405180910390a161094c600682600261204d565b610d02611510565b6020810151815161271091610d1691612524565b1115610d7a5760405162461bcd60e51b815260206004820152602d60248201527f73756d285f73656c6c5461786573292063616e6e6f742065786365656420425060448201526c29afa222a727a6a4a720aa27a960991b6064820152608401610caa565b7f4e5aa6a1d8a2baf47d4c781f8fa278df4f48fb465fde488841b40aee0868d9f2600882604051610dac9291906123d8565b60405180910390a161094c600882600261204d565b610dc9611510565b610a906000611c87565b610ddb611510565b6001600160a01b038116600081815260106020908152604091829020805460ff191660019081179091558251938452908301527ff9d47ab3a5386eebd237b6e3c5cbf0deecd2af19c0033c712b60652b1b65994e9101610a51565b610e3e611510565b6001600160a01b038116600081815260116020908152604091829020805460ff191660019081179091558251938452908301527f255be8e1db7bc3e9ac2633c05105af6bc14fe1cbf98841ee58827e11a26024dc9101610a51565b600681600281106109ef57600080fd5b610eb1611510565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610eea573d6000803e3d6000fd5b50565b600d8160028110610efd57600080fd5b01546001600160a01b0316905081565b610f15611510565b6013805460ff19168215159081179091556040519081527f927009a164f58be5665a2121b2564ae19a66046fb36a397d3fca78f72ba04c3d90602001610a51565b610f5e611510565b601380548215156101000261ff00199091161790556040517fec78e36312d308764a43b9714c18f6444e2604b277d18be4ea329e0644dbe9b990610a5190831515815260200190565b60606004805461086290612592565b60003381610fc482866112f2565b9050838110156110245760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610caa565b6109d482868684036113ec565b611039611510565b600283106110765760405162461bcd60e51b815260206004820152600a6024820152692fb4b73232bc1027a7a160b11b6044820152606401610caa565b600b836002811061109757634e487b7160e01b600052603260045260246000fd5b01548211156110f75760405162461bcd60e51b815260206004820152602660248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f6044820152650e8c2d8a8c2f60d31b6064820152608401610caa565b611102308284611cd9565b60408051848152602081018490527f13ac772a78d03c80813b3c9c28d72a72d3b31e5ee74e277a88ac0c322a6bfc8f910160405180910390a181600b846002811061115d57634e487b7160e01b600052603260045260246000fd5b01600082825461116d919061257b565b9091555050505050565b6000336108f38185856115e4565b3360009081526010602052604090205460ff166111d85760405162461bcd60e51b81526020600482015260116024820152704e47533a20676f757061626c654f6e6c7960781b6044820152606401610caa565b6001600160a01b03821660009081526011602052604090205460ff166112405760405162461bcd60e51b815260206004820152601860248201527f4e47533a20676f75705265636569766561626c654f6e6c7900000000000000006044820152606401610caa565b61094c8282611ba9565b611252611510565b60125460408051918252602082018390527f15426420a06dcf9391d9e4b7557f5cfaba5be0d7bf857b641e78ec375a343425910160405180910390a1601255565b61129b611510565b6001600160a01b0381166000818152601160209081526040808320805460ff191690558051938452908301919091527f255be8e1db7bc3e9ac2633c05105af6bc14fe1cbf98841ee58827e11a26024dc9101610a51565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b611325611510565b6001600160a01b03811661138a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610caa565b610eea81611c87565b600b81600281106109ef57600080fd5b6113ab611510565b600a5460408051918252602082018390527f4dc2313a84b395e55972a3b89a37fcaf0de5664a014223f644ee10a5cda3d926910160405180910390a1600a55565b6001600160a01b03831661144e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610caa565b6001600160a01b0382166114af5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610caa565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610a905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610caa565b600061157684846112f2565b905060001981146115de57818110156115d15760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610caa565b6115de84848484036113ec565b50505050565b6001600160a01b0383166000908152600f602052604090205460ff168061162357506001600160a01b0382166000908152600f602052604090205460ff165b1561163857611633838383611cd9565b505050565b601254600c54600b5461164b9190612524565b1015801561165c575060175460ff16155b801561169a57507f000000000000000000000000fae60b87346a829edf5e62cc7cdacc4704f113c56001600160a01b0316836001600160a01b031614155b80156116a8575060135460ff165b156116b5576116b561186c565b806116be61207b565b7f000000000000000000000000fae60b87346a829edf5e62cc7cdacc4704f113c56001600160a01b0316856001600160a01b031614156117b257601354610100900460ff1661174b5760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610caa565b611756836001611e55565b600a5491935091508311156117ad5760405162461bcd60e51b815260206004820152601960248201527f42757920616d6f756e742065786365656473206d6178427579000000000000006044820152606401610caa565b611850565b7f000000000000000000000000fae60b87346a829edf5e62cc7cdacc4704f113c56001600160a01b0316846001600160a01b0316141561185057601354610100900460ff1661183f5760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610caa565b61184a836000611e55565b90925090505b61185b858584611cd9565b6118658582611f2b565b5050505050565b6017805460ff1916600117905560408051600280825260608201835260009260208301908036833701905050905030816000815181106118bc57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561193557600080fd5b505afa158015611949573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196d9190612119565b8160018151811061198e57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039290921660209283029190910190910152600c54600b546000916119b991612524565b90506119e6307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d836113ec565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611a3b90849060009087903090429060040161247d565b600060405180830381600087803b158015611a5557600080fd5b505af1158015611a69573d6000803e3d6000fd5b5050600b54479250600091508390611a81908461255c565b611a8b919061253c565b9050600083600b60010154611aa0908561255c565b611aaa919061253c565b6040805180820190915260008082526020820152909150611acf90600b906002612099565b508115611b1257600d546040516001600160a01b03909116906108fc8415029084906000818181858888f19350505050158015611b10573d6000803e3d6000fd5b505b8015611b5457600e546040516001600160a01b03909116906108fc8315029083906000818181858888f19350505050158015611b52573d6000803e3d6000fd5b505b50506017805460ff19169055505050565b6001600160a01b038216600090815260166020526040902054611b8990829061257b565b6001600160a01b0390921660009081526016602052604090209190915550565b6a52b7d2dcc80cd2e400000081601554611bc39190612524565b1115611c075760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610caa565b8060156000828254611c199190612524565b925050819055508060146000828254611c329190612524565b90915550611c4290508282611fd1565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611d2f5760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610caa565b6001600160a01b038216611d855760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610caa565b6001600160a01b03831660009081526016602052604090205481811015611dee5760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610caa565b611df88483611b65565b611e028383611fd1565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e4791815260200190565b60405180910390a350505050565b6000611e5f61207b565b8215611eb8576040805180820190915280612710600660000154611e83908861255c565b611e8d919061253c565b8152602001612710600660010154611ea5908861255c565b611eaf919061253c565b90529050611f07565b6040805180820190915280612710600860000154611ed6908861255c565b611ee0919061253c565b8152602001612710600860010154611ef8908861255c565b611f02919061253c565b905290505b60208101518151611f18908661257b565b611f22919061257b565b91509250929050565b6001600160a01b038216611f815760405162461bcd60e51b815260206004820152601e60248201527f7461786174696f6e2066726f6d20746865207a65726f206164647265737300006044820152606401610caa565b60208101518151600091611f9491612524565b9050611fa1833083611cd9565b8151600b8054600090611fb5908490612524565b90915550506020820151600c805460009061116d908490612524565b6001600160a01b038216600090815260166020526040902054611b89908290612524565b826002810192821561203d579160200282015b8281111561203d57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612008565b506120499291506120cc565b5090565b826002810192821561203d579160200282015b8281111561203d578251825591602001919060010190612060565b60405180604001604052806002906020820280368337509192915050565b826002810192821561203d579160200282015b8281111561203d578251829060ff169055916020019190600101906120ac565b5b8082111561204957600081556001016120cd565b803580151581146120f157600080fd5b919050565b600060208284031215612107578081fd5b8135612112816125e3565b9392505050565b60006020828403121561212a578081fd5b8151612112816125e3565b60008060408385031215612147578081fd5b8235612152816125e3565b91506020830135612162816125e3565b809150509250929050565b600080600060608486031215612181578081fd5b833561218c816125e3565b9250602084013561219c816125e3565b929592945050506040919091013590565b600080604083850312156121bf578182fd5b82356121ca816125e3565b91506121d8602084016120e1565b90509250929050565b600080604083850312156121f3578182fd5b82356121fe816125e3565b946020939093013593505050565b60006040828403121561221d578081fd5b82601f83011261222b578081fd5b6122336124ed565b808385604086011115612244578384fd5b835b600281101561226f57813561225a816125e3565b84526020938401939190910190600101612246565b509095945050505050565b60006040828403121561228b578081fd5b82601f830112612299578081fd5b6122a16124ed565b8083856040860111156122b2578384fd5b835b600281101561226f5781358452602093840193909101906001016122b4565b6000602082840312156122e4578081fd5b612112826120e1565b6000602082840312156122fe578081fd5b5035919050565b600080600060608486031215612319578283fd5b83359250602084013591506040840135612332816125e3565b809150509250925092565b600080600060608486031215612351578283fd5b8351925060208401519150604084015190509250925092565b60808101818460005b600281101561239b5781546001600160a01b0316835260209092019160019182019101612373565b505050604082018360005b60028110156123ce5781516001600160a01b03168352602092830192909101906001016123a6565b5050509392505050565b60808101818460005b60028110156124005781548352602090920191600191820191016123e1565b505050604082018360005b60028110156123ce57815183526020928301929091019060010161240b565b6000602080835283518082850152825b818110156124565785810183015185820160400152820161243a565b818111156124675783604083870101525b50601f01601f1916929092016040019392505050565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156124cc5784516001600160a01b0316835293830193918301916001016124a7565b50506001600160a01b03969096166060850152505050608001529392505050565b6040805190810167ffffffffffffffff8111828210171561251e57634e487b7160e01b600052604160045260246000fd5b60405290565b60008219821115612537576125376125cd565b500190565b60008261255757634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612576576125766125cd565b500290565b60008282101561258d5761258d6125cd565b500390565b600181811c908216806125a657607f821691505b602082108114156125c757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610eea57600080fdfea2646970667358221220c3a1f4c51f44cd5a2a7bffef8c13a51a6a7af5f273f2a2deffe9ac4f5cb2abed64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c8a3307505009d1c013b55f4ce90934cea0c6d1d000000000000000000000000322060f204282e48cf7e1ab961f49d6c5f54139a0000000000000000000000000000000000000000000000000000000000000258000000000000000000000000000000000000000000000000000000000000096000000000000000000000000000000000000000000000000000000000000002580000000000000000000000000000000000000000000000000000000000000960000000000000000000000000000000000000000000108b2a2c28029094000000
-----Decoded View---------------
Arg [0] : _uniswapRouter (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _taxWallets (address[2]): 0xc8a3307505009d1c013B55f4CE90934CeA0c6D1D,0x322060f204282E48cF7E1AB961f49D6c5f54139a
Arg [2] : _buyTaxes (uint256[2]): 600,2400
Arg [3] : _sellTaxes (uint256[2]): 600,2400
Arg [4] : _goupAmount (uint256): 20000000000000000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000c8a3307505009d1c013b55f4ce90934cea0c6d1d
Arg [2] : 000000000000000000000000322060f204282e48cf7e1ab961f49d6c5f54139a
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000258
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000960
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000258
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000960
Arg [7] : 000000000000000000000000000000000000000000108b2a2c28029094000000
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.