ERC-20
Gaming
Overview
Max Total Supply
1,000,000,000 DGI
Holders
10,822 ( -0.028%)
Market
Price
$0.00 @ 0.000000 ETH (-24.60%)
Onchain Market Cap
$479,856.15
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
0 DGIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DGI
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract DGI is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; uint public lpThreshold = 1e6 ether; uint public purcahseLimit; uint public buySellTax; bool private inSwapAndLiquify; bool public tradingOpen; // mappings mapping (address => bool) private _isExcludedFromLimit; event ExcludeFromLimitation(address indexed account, bool isExcluded); event BatchExcludeFromLimitation(address[] account, bool[] isExcluded); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity); event TaxUpdated(uint taxPercent); event PurchaseLimitUpdated(uint limitPercent); event LPThresholdSet(uint256 amount); event ETHWithdrawn(address indexed to, uint256 amount); event LPWithdrawn(address indexed to, uint256 amount); event TradingStatusUpdated(bool status); modifier lockTheSwap { require(!inSwapAndLiquify, "Currently in swap and liquify"); inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor(address _router, uint256 _buySellTax, uint256 __purchaseLimit) ERC20("DGI Game", "DGI") { _mint(_msgSender(), 1e9 ether); address uniswapRouter = _router; // Uniswap router address for BSC IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(uniswapRouter); IUniswapV2Factory _uniswapFactory = IUniswapV2Factory(_uniswapV2Router.factory()); address _uniswapV2Pair = _uniswapFactory.createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; buySellTax = _buySellTax; purcahseLimit = __purchaseLimit; excludeFromLimitation(uniswapV2Pair, true); excludeFromLimitation(address(uniswapRouter), true); excludeFromLimitation(_msgSender(), true); } receive() external payable {} function swapAndAddLiquify(uint256 toSwapLiquidity) private lockTheSwap { uint256 half = toSwapLiquidity.div(2); uint256 otherHalf = toSwapLiquidity.sub(half); uint256 initialBalance = address(this).balance; swapTokensForETH(half); uint256 newBalance = address(this).balance.sub(initialBalance); addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } function swapTokensForETH(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } // Custom transfer function with buy and sell fees and burn functionality function _transfer(address from, address to, uint256 amount) internal override { require(amount > 0, "Transfer amount must be greater than 0"); if(!_isExcludedFromLimit[from] || !_isExcludedFromLimit[to]) { require(tradingOpen, "Trading Closed"); } uint256 taxAmount = 0; // Max Purchase Limitation if (from == uniswapV2Pair && to != address(uniswapV2Router) && !_isExcludedFromLimit[to]) { require(amount <= totalSupply().mul(purcahseLimit).div(1e4), "Amount exceeds max purchase amount."); } if((!_isExcludedFromLimit[from] || !_isExcludedFromLimit[to]) && from != address(this)){ // Buy & Sell Tax (Add or Remove Liquidity Included) if((from == uniswapV2Pair || to == uniswapV2Pair) && buySellTax > 0){ taxAmount = amount.mul(buySellTax).div(1e4); super._transfer(from, address(this), taxAmount); } } if (!inSwapAndLiquify && to == uniswapV2Pair && !_isExcludedFromLimit[from]) { uint256 balance = balanceOf(address(this)); if(balance >= lpThreshold) { swapAndAddLiquify(balance); } } super._transfer(from, to, amount.sub(taxAmount)); } function setSellBuyTax(uint _tax) external onlyOwner { buySellTax = _tax; emit TaxUpdated(_tax); } function setTradingOpen(bool _status) external onlyOwner { tradingOpen = _status; emit TradingStatusUpdated(_status); } function setPurchaseLimit(uint _limit) external onlyOwner { purcahseLimit = _limit; emit PurchaseLimitUpdated(_limit); } function setLPThreshold(uint256 amount) public onlyOwner { uint256 currentTotalSupply = totalSupply(); uint256 minLpThreshold = currentTotalSupply.mul(1).div(10000); // 0.01% of the current total token supply uint256 maxLpThreshold = currentTotalSupply.mul(5).div(100); // 5% of the current total token supply require(amount >= minLpThreshold && amount <= maxLpThreshold, "LP Threshold must be within the allowed range"); lpThreshold = amount; emit LPThresholdSet(amount); } function excludeFromLimitation(address account, bool excluded) public onlyOwner { _isExcludedFromLimit[account] = excluded; emit ExcludeFromLimitation(account, excluded); } function batchExcludeFromLimitation(address[] calldata account, bool[] calldata excluded) public onlyOwner { for(uint i = 0 ; i < account.length ; i ++) { _isExcludedFromLimit[account[i]] = excluded[i]; } emit BatchExcludeFromLimitation(account, excluded); } function withdrawETH(address payable _to) external onlyOwner { require(address(this).balance > 0, "No ETH to withdraw"); uint256 amount = address(this).balance; (bool sent, ) = _to.call{value: amount}(""); require(sent, "Failed to send Ether"); emit ETHWithdrawn(_to, amount); } function withdrawERC20Token(address token, address to) public onlyOwner { uint256 balance = IERC20(address(token)).balanceOf(address(this)); require(balance > 0, "Not enough tokens in contract"); IERC20(address(token)).transfer(to, balance); emit LPWithdrawn(to, balance); } }
// 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
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.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":"address","name":"_router","type":"address"},{"internalType":"uint256","name":"_buySellTax","type":"uint256"},{"internalType":"uint256","name":"__purchaseLimit","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":"address[]","name":"account","type":"address[]"},{"indexed":false,"internalType":"bool[]","name":"isExcluded","type":"bool[]"}],"name":"BatchExcludeFromLimitation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ETHWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromLimitation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LPThresholdSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LPWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"limitPercent","type":"uint256"}],"name":"PurchaseLimitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"taxPercent","type":"uint256"}],"name":"TaxUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"TradingStatusUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"account","type":"address[]"},{"internalType":"bool[]","name":"excluded","type":"bool[]"}],"name":"batchExcludeFromLimitation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buySellTax","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":"bool","name":"excluded","type":"bool"}],"name":"excludeFromLimitation","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":"lpThreshold","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":"purcahseLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setLPThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setPurchaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tax","type":"uint256"}],"name":"setSellBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setTradingOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawERC20Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405269d3c21bcecceda10000006008553480156200001f57600080fd5b5060405162002312380380620023128339810160408190526200004291620004a7565b604051806040016040528060088152602001674447492047616d6560c01b8152506040518060400160405280600381526020016244474960e81b815250816003908162000090919062000583565b5060046200009f828262000583565b505050620000bc620000b6620002a160201b60201c565b620002a5565b620000d4336b033b2e3c9fd0803ce8000000620002f7565b600083905060008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200011f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014591906200064f565b90506000816001600160a01b031663c9c6539630856001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000198573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001be91906200064f565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200020c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023291906200064f565b600680546001600160a01b038087166001600160a01b031992831617909255600780549284169290911682179055600a88905560098790559091506200027a906001620003be565b62000287846001620003be565b62000294336001620003be565b505050505050506200069c565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003535760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b806002600082825462000367919062000674565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b620003c86200042c565b6001600160a01b0382166000818152600c6020908152604091829020805460ff191685151590811790915591519182527fb662f3bfb1735e6cf86c62e0de5e8ded221db1f328a15d104be3fd29977cf23e910160405180910390a25050565b505050565b6005546001600160a01b03163314620004885760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200034a565b565b80516001600160a01b0381168114620004a257600080fd5b919050565b600080600060608486031215620004bd57600080fd5b620004c8846200048a565b925060208401519150604084015190509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200050a57607f821691505b6020821081036200052b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200042757600081815260208120601f850160051c810160208610156200055a5750805b601f850160051c820191505b818110156200057b5782815560010162000566565b505050505050565b81516001600160401b038111156200059f576200059f620004df565b620005b781620005b08454620004f5565b8462000531565b602080601f831160018114620005ef5760008415620005d65750858301515b600019600386901b1c1916600185901b1785556200057b565b600085815260208120601f198616915b828110156200062057888601518255948401946001909101908401620005ff565b50858210156200063f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200066257600080fd5b6200066d826200048a565b9392505050565b808201808211156200069657634e487b7160e01b600052601160045260246000fd5b92915050565b611c6680620006ac6000396000f3fe6080604052600436106101bb5760003560e01c806370a08231116100ec578063a9059cbb1161008a578063ecfbe70c11610064578063ecfbe70c146104e1578063f2fde38b14610501578063fd73cd4214610521578063ffb54a991461053757600080fd5b8063a9059cbb14610481578063dd62ed3e146104a1578063e50a46e6146104c157600080fd5b806390c027f3116100c657806390c027f31461041657806395d89b411461043657806396e1c7d11461044b578063a457c2d71461046157600080fd5b806370a08231146103ad578063715018a6146103e35780638da5cb5b146103f857600080fd5b8063313ce567116101595780635e7f2dc1116101335780635e7f2dc114610337578063690d8320146103575780636edc438814610377578063708ba4551461039757600080fd5b8063313ce567146102db57806339509351146102f757806349bd5a5e1461031757600080fd5b806318160ddd1161019557806318160ddd1461025a57806321c03a97146102795780632333f9f11461029b57806323b872dd146102bb57600080fd5b806306fdde03146101c7578063095ea7b3146101f25780631694505e1461022257600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b506101dc610556565b6040516101e99190611780565b60405180910390f35b3480156101fe57600080fd5b5061021261020d3660046117e3565b6105e8565b60405190151581526020016101e9565b34801561022e57600080fd5b50600654610242906001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b34801561026657600080fd5b506002545b6040519081526020016101e9565b34801561028557600080fd5b5061029961029436600461181d565b610602565b005b3480156102a757600080fd5b506102996102b636600461183a565b61065e565b3480156102c757600080fd5b506102126102d6366004611873565b6106c5565b3480156102e757600080fd5b50604051601281526020016101e9565b34801561030357600080fd5b506102126103123660046117e3565b6106e9565b34801561032357600080fd5b50600754610242906001600160a01b031681565b34801561034357600080fd5b50610299610352366004611900565b61070b565b34801561036357600080fd5b5061029961037236600461196c565b6107ee565b34801561038357600080fd5b50610299610392366004611989565b610922565b3480156103a357600080fd5b5061026b60085481565b3480156103b957600080fd5b5061026b6103c836600461196c565b6001600160a01b031660009081526020819052604090205490565b3480156103ef57600080fd5b5061029961095f565b34801561040457600080fd5b506005546001600160a01b0316610242565b34801561042257600080fd5b50610299610431366004611989565b610973565b34801561044257600080fd5b506101dc610a5e565b34801561045757600080fd5b5061026b600a5481565b34801561046d57600080fd5b5061021261047c3660046117e3565b610a6d565b34801561048d57600080fd5b5061021261049c3660046117e3565b610ae8565b3480156104ad57600080fd5b5061026b6104bc3660046119a2565b610af6565b3480156104cd57600080fd5b506102996104dc366004611989565b610b21565b3480156104ed57600080fd5b506102996104fc3660046119a2565b610b5e565b34801561050d57600080fd5b5061029961051c36600461196c565b610cd2565b34801561052d57600080fd5b5061026b60095481565b34801561054357600080fd5b50600b5461021290610100900460ff1681565b606060038054610565906119d0565b80601f0160208091040260200160405190810160405280929190818152602001828054610591906119d0565b80156105de5780601f106105b3576101008083540402835291602001916105de565b820191906000526020600020905b8154815290600101906020018083116105c157829003601f168201915b5050505050905090565b6000336105f6818585610d4b565b60019150505b92915050565b61060a610e6f565b600b80548215156101000261ff00199091161790556040517f44025b4c6266facf728a25ba1ed858c89e2215e03094486152577b87636ea7ab9061065390831515815260200190565b60405180910390a150565b610666610e6f565b6001600160a01b0382166000818152600c6020908152604091829020805460ff191685151590811790915591519182527fb662f3bfb1735e6cf86c62e0de5e8ded221db1f328a15d104be3fd29977cf23e910160405180910390a25050565b6000336106d3858285610ec9565b6106de858585610f43565b506001949350505050565b6000336105f68185856106fc8383610af6565b6107069190611a20565b610d4b565b610713610e6f565b60005b838110156107aa5782828281811061073057610730611a33565b9050602002016020810190610745919061181d565b600c600087878581811061075b5761075b611a33565b9050602002016020810190610770919061196c565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806107a281611a49565b915050610716565b507fec332beaa25122e2aaf782a4144424379d8b725b55f4656dc18bf72b40508199848484846040516107e09493929190611a62565b60405180910390a150505050565b6107f6610e6f565b600047116108405760405162461bcd60e51b81526020600482015260126024820152714e6f2045544820746f20776974686472617760701b60448201526064015b60405180910390fd5b60405147906000906001600160a01b0384169083908381818185875af1925050503d806000811461088d576040519150601f19603f3d011682016040523d82523d6000602084013e610892565b606091505b50509050806108da5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610837565b826001600160a01b03167f94b2de810873337ed265c5f8cf98c9cffefa06b8607f9a2f1fbaebdfbcfbef1c8360405161091591815260200190565b60405180910390a2505050565b61092a610e6f565b60098190556040518181527fee131fa00e37f4b10e0ad1bffe4a204cdc5e73b4c9bfab1e2de9ae163dde1edc90602001610653565b610967610e6f565b610971600061123f565b565b61097b610e6f565b600061098660025490565b905060006109a161271061099b846001611291565b906112a4565b905060006109b5606461099b856005611291565b90508184101580156109c75750808411155b610a295760405162461bcd60e51b815260206004820152602d60248201527f4c50205468726573686f6c64206d7573742062652077697468696e207468652060448201526c616c6c6f7765642072616e676560981b6064820152608401610837565b60088490556040518481527f9641ea1b7ea1bb2e25f02d3e662155101bcd892725d7d996e9c26105cc5deb94906020016107e0565b606060048054610565906119d0565b60003381610a7b8286610af6565b905083811015610adb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610837565b6106de8286868403610d4b565b6000336105f6818585610f43565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610b29610e6f565b600a8190556040518181527f35ad15e7f5e4a16b548e8916bd02c51847dde8d106f334b4edaaacf140e43c9190602001610653565b610b66610e6f565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610bad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd19190611af2565b905060008111610c235760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420656e6f75676820746f6b656e7320696e20636f6e74726163740000006044820152606401610837565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af1158015610c72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c969190611b0b565b50816001600160a01b03167f64cb0086f290860df1fcb0475016504f0a4173aa707bece334ebe959ccf3ef378260405161091591815260200190565b610cda610e6f565b6001600160a01b038116610d3f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610837565b610d488161123f565b50565b6001600160a01b038316610dad5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610837565b6001600160a01b038216610e0e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610837565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146109715760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610837565b6000610ed58484610af6565b90506000198114610f3d5781811015610f305760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610837565b610f3d8484848403610d4b565b50505050565b60008111610fa25760405162461bcd60e51b815260206004820152602660248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201526507468616e20360d41b6064820152608401610837565b6001600160a01b0383166000908152600c602052604090205460ff161580610fe357506001600160a01b0382166000908152600c602052604090205460ff16155b1561103057600b54610100900460ff166110305760405162461bcd60e51b815260206004820152600e60248201526d151c98591a5b99c810db1bdcd95960921b6044820152606401610837565b6007546000906001600160a01b03858116911614801561105e57506006546001600160a01b03848116911614155b801561108357506001600160a01b0383166000908152600c602052604090205460ff16155b156110fe576110a361271061099b60095461109d60025490565b90611291565b8211156110fe5760405162461bcd60e51b815260206004820152602360248201527f416d6f756e742065786365656473206d617820707572636861736520616d6f75604482015262373a1760e91b6064820152608401610837565b6001600160a01b0384166000908152600c602052604090205460ff16158061113f57506001600160a01b0383166000908152600c602052604090205460ff16155b801561115457506001600160a01b0384163014155b156111bd576007546001600160a01b038581169116148061118257506007546001600160a01b038481169116145b801561119057506000600a54115b156111bd576111b061271061099b600a548561129190919063ffffffff16565b90506111bd8430836112b0565b600b5460ff161580156111dd57506007546001600160a01b038481169116145b801561120257506001600160a01b0384166000908152600c602052604090205460ff16155b1561122b573060009081526020819052604090205460085481106112295761122981611454565b505b610f3d848461123a8585611545565b6112b0565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061129d8284611b28565b9392505050565b600061129d8284611b3f565b6001600160a01b0383166113145760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610837565b6001600160a01b0382166113765760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610837565b6001600160a01b038316600090815260208190526040902054818110156113ee5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610837565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610f3d565b600b5460ff16156114a75760405162461bcd60e51b815260206004820152601d60248201527f43757272656e746c7920696e207377617020616e64206c6971756966790000006044820152606401610837565b600b805460ff1916600117905560006114c18260026112a4565b905060006114cf8383611545565b9050476114db83611551565b60006114e74783611545565b90506114f383826116ab565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050600b805460ff19169055505050565b600061129d8284611b61565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061158657611586611a33565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156115df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116039190611b74565b8160018151811061161657611616611a33565b6001600160a01b03928316602091820292909201015260065461163c9130911684610d4b565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611675908590600090869030904290600401611b91565b600060405180830381600087803b15801561168f57600080fd5b505af11580156116a3573d6000803e3d6000fd5b505050505050565b6006546116c39030906001600160a01b031684610d4b565b6006546001600160a01b031663f305d7198230856000806116ec6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611754573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906117799190611c02565b5050505050565b600060208083528351808285015260005b818110156117ad57858101830151858201604001528201611791565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d4857600080fd5b600080604083850312156117f657600080fd5b8235611801816117ce565b946020939093013593505050565b8015158114610d4857600080fd5b60006020828403121561182f57600080fd5b813561129d8161180f565b6000806040838503121561184d57600080fd5b8235611858816117ce565b915060208301356118688161180f565b809150509250929050565b60008060006060848603121561188857600080fd5b8335611893816117ce565b925060208401356118a3816117ce565b929592945050506040919091013590565b60008083601f8401126118c657600080fd5b50813567ffffffffffffffff8111156118de57600080fd5b6020830191508360208260051b85010111156118f957600080fd5b9250929050565b6000806000806040858703121561191657600080fd5b843567ffffffffffffffff8082111561192e57600080fd5b61193a888389016118b4565b9096509450602087013591508082111561195357600080fd5b50611960878288016118b4565b95989497509550505050565b60006020828403121561197e57600080fd5b813561129d816117ce565b60006020828403121561199b57600080fd5b5035919050565b600080604083850312156119b557600080fd5b82356119c0816117ce565b91506020830135611868816117ce565b600181811c908216806119e457607f821691505b602082108103611a0457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105fc576105fc611a0a565b634e487b7160e01b600052603260045260246000fd5b600060018201611a5b57611a5b611a0a565b5060010190565b6040808252810184905260008560608301825b87811015611aa5578235611a88816117ce565b6001600160a01b0316825260209283019290910190600101611a75565b5083810360208581019190915285825291508590820160005b86811015611ae5578235611ad18161180f565b151582529183019190830190600101611abe565b5098975050505050505050565b600060208284031215611b0457600080fd5b5051919050565b600060208284031215611b1d57600080fd5b815161129d8161180f565b80820281158282048414176105fc576105fc611a0a565b600082611b5c57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156105fc576105fc611a0a565b600060208284031215611b8657600080fd5b815161129d816117ce565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611be15784516001600160a01b031683529383019391830191600101611bbc565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215611c1757600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220172e35a8167662285e873415554becfeff5ef0c1f5f61afafa1d5c6116fcded864736f6c634300081100330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000cd
Deployed Bytecode
0x6080604052600436106101bb5760003560e01c806370a08231116100ec578063a9059cbb1161008a578063ecfbe70c11610064578063ecfbe70c146104e1578063f2fde38b14610501578063fd73cd4214610521578063ffb54a991461053757600080fd5b8063a9059cbb14610481578063dd62ed3e146104a1578063e50a46e6146104c157600080fd5b806390c027f3116100c657806390c027f31461041657806395d89b411461043657806396e1c7d11461044b578063a457c2d71461046157600080fd5b806370a08231146103ad578063715018a6146103e35780638da5cb5b146103f857600080fd5b8063313ce567116101595780635e7f2dc1116101335780635e7f2dc114610337578063690d8320146103575780636edc438814610377578063708ba4551461039757600080fd5b8063313ce567146102db57806339509351146102f757806349bd5a5e1461031757600080fd5b806318160ddd1161019557806318160ddd1461025a57806321c03a97146102795780632333f9f11461029b57806323b872dd146102bb57600080fd5b806306fdde03146101c7578063095ea7b3146101f25780631694505e1461022257600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b506101dc610556565b6040516101e99190611780565b60405180910390f35b3480156101fe57600080fd5b5061021261020d3660046117e3565b6105e8565b60405190151581526020016101e9565b34801561022e57600080fd5b50600654610242906001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b34801561026657600080fd5b506002545b6040519081526020016101e9565b34801561028557600080fd5b5061029961029436600461181d565b610602565b005b3480156102a757600080fd5b506102996102b636600461183a565b61065e565b3480156102c757600080fd5b506102126102d6366004611873565b6106c5565b3480156102e757600080fd5b50604051601281526020016101e9565b34801561030357600080fd5b506102126103123660046117e3565b6106e9565b34801561032357600080fd5b50600754610242906001600160a01b031681565b34801561034357600080fd5b50610299610352366004611900565b61070b565b34801561036357600080fd5b5061029961037236600461196c565b6107ee565b34801561038357600080fd5b50610299610392366004611989565b610922565b3480156103a357600080fd5b5061026b60085481565b3480156103b957600080fd5b5061026b6103c836600461196c565b6001600160a01b031660009081526020819052604090205490565b3480156103ef57600080fd5b5061029961095f565b34801561040457600080fd5b506005546001600160a01b0316610242565b34801561042257600080fd5b50610299610431366004611989565b610973565b34801561044257600080fd5b506101dc610a5e565b34801561045757600080fd5b5061026b600a5481565b34801561046d57600080fd5b5061021261047c3660046117e3565b610a6d565b34801561048d57600080fd5b5061021261049c3660046117e3565b610ae8565b3480156104ad57600080fd5b5061026b6104bc3660046119a2565b610af6565b3480156104cd57600080fd5b506102996104dc366004611989565b610b21565b3480156104ed57600080fd5b506102996104fc3660046119a2565b610b5e565b34801561050d57600080fd5b5061029961051c36600461196c565b610cd2565b34801561052d57600080fd5b5061026b60095481565b34801561054357600080fd5b50600b5461021290610100900460ff1681565b606060038054610565906119d0565b80601f0160208091040260200160405190810160405280929190818152602001828054610591906119d0565b80156105de5780601f106105b3576101008083540402835291602001916105de565b820191906000526020600020905b8154815290600101906020018083116105c157829003601f168201915b5050505050905090565b6000336105f6818585610d4b565b60019150505b92915050565b61060a610e6f565b600b80548215156101000261ff00199091161790556040517f44025b4c6266facf728a25ba1ed858c89e2215e03094486152577b87636ea7ab9061065390831515815260200190565b60405180910390a150565b610666610e6f565b6001600160a01b0382166000818152600c6020908152604091829020805460ff191685151590811790915591519182527fb662f3bfb1735e6cf86c62e0de5e8ded221db1f328a15d104be3fd29977cf23e910160405180910390a25050565b6000336106d3858285610ec9565b6106de858585610f43565b506001949350505050565b6000336105f68185856106fc8383610af6565b6107069190611a20565b610d4b565b610713610e6f565b60005b838110156107aa5782828281811061073057610730611a33565b9050602002016020810190610745919061181d565b600c600087878581811061075b5761075b611a33565b9050602002016020810190610770919061196c565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806107a281611a49565b915050610716565b507fec332beaa25122e2aaf782a4144424379d8b725b55f4656dc18bf72b40508199848484846040516107e09493929190611a62565b60405180910390a150505050565b6107f6610e6f565b600047116108405760405162461bcd60e51b81526020600482015260126024820152714e6f2045544820746f20776974686472617760701b60448201526064015b60405180910390fd5b60405147906000906001600160a01b0384169083908381818185875af1925050503d806000811461088d576040519150601f19603f3d011682016040523d82523d6000602084013e610892565b606091505b50509050806108da5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610837565b826001600160a01b03167f94b2de810873337ed265c5f8cf98c9cffefa06b8607f9a2f1fbaebdfbcfbef1c8360405161091591815260200190565b60405180910390a2505050565b61092a610e6f565b60098190556040518181527fee131fa00e37f4b10e0ad1bffe4a204cdc5e73b4c9bfab1e2de9ae163dde1edc90602001610653565b610967610e6f565b610971600061123f565b565b61097b610e6f565b600061098660025490565b905060006109a161271061099b846001611291565b906112a4565b905060006109b5606461099b856005611291565b90508184101580156109c75750808411155b610a295760405162461bcd60e51b815260206004820152602d60248201527f4c50205468726573686f6c64206d7573742062652077697468696e207468652060448201526c616c6c6f7765642072616e676560981b6064820152608401610837565b60088490556040518481527f9641ea1b7ea1bb2e25f02d3e662155101bcd892725d7d996e9c26105cc5deb94906020016107e0565b606060048054610565906119d0565b60003381610a7b8286610af6565b905083811015610adb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610837565b6106de8286868403610d4b565b6000336105f6818585610f43565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610b29610e6f565b600a8190556040518181527f35ad15e7f5e4a16b548e8916bd02c51847dde8d106f334b4edaaacf140e43c9190602001610653565b610b66610e6f565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610bad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd19190611af2565b905060008111610c235760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420656e6f75676820746f6b656e7320696e20636f6e74726163740000006044820152606401610837565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af1158015610c72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c969190611b0b565b50816001600160a01b03167f64cb0086f290860df1fcb0475016504f0a4173aa707bece334ebe959ccf3ef378260405161091591815260200190565b610cda610e6f565b6001600160a01b038116610d3f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610837565b610d488161123f565b50565b6001600160a01b038316610dad5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610837565b6001600160a01b038216610e0e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610837565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146109715760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610837565b6000610ed58484610af6565b90506000198114610f3d5781811015610f305760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610837565b610f3d8484848403610d4b565b50505050565b60008111610fa25760405162461bcd60e51b815260206004820152602660248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201526507468616e20360d41b6064820152608401610837565b6001600160a01b0383166000908152600c602052604090205460ff161580610fe357506001600160a01b0382166000908152600c602052604090205460ff16155b1561103057600b54610100900460ff166110305760405162461bcd60e51b815260206004820152600e60248201526d151c98591a5b99c810db1bdcd95960921b6044820152606401610837565b6007546000906001600160a01b03858116911614801561105e57506006546001600160a01b03848116911614155b801561108357506001600160a01b0383166000908152600c602052604090205460ff16155b156110fe576110a361271061099b60095461109d60025490565b90611291565b8211156110fe5760405162461bcd60e51b815260206004820152602360248201527f416d6f756e742065786365656473206d617820707572636861736520616d6f75604482015262373a1760e91b6064820152608401610837565b6001600160a01b0384166000908152600c602052604090205460ff16158061113f57506001600160a01b0383166000908152600c602052604090205460ff16155b801561115457506001600160a01b0384163014155b156111bd576007546001600160a01b038581169116148061118257506007546001600160a01b038481169116145b801561119057506000600a54115b156111bd576111b061271061099b600a548561129190919063ffffffff16565b90506111bd8430836112b0565b600b5460ff161580156111dd57506007546001600160a01b038481169116145b801561120257506001600160a01b0384166000908152600c602052604090205460ff16155b1561122b573060009081526020819052604090205460085481106112295761122981611454565b505b610f3d848461123a8585611545565b6112b0565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061129d8284611b28565b9392505050565b600061129d8284611b3f565b6001600160a01b0383166113145760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610837565b6001600160a01b0382166113765760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610837565b6001600160a01b038316600090815260208190526040902054818110156113ee5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610837565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610f3d565b600b5460ff16156114a75760405162461bcd60e51b815260206004820152601d60248201527f43757272656e746c7920696e207377617020616e64206c6971756966790000006044820152606401610837565b600b805460ff1916600117905560006114c18260026112a4565b905060006114cf8383611545565b9050476114db83611551565b60006114e74783611545565b90506114f383826116ab565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050600b805460ff19169055505050565b600061129d8284611b61565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061158657611586611a33565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156115df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116039190611b74565b8160018151811061161657611616611a33565b6001600160a01b03928316602091820292909201015260065461163c9130911684610d4b565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611675908590600090869030904290600401611b91565b600060405180830381600087803b15801561168f57600080fd5b505af11580156116a3573d6000803e3d6000fd5b505050505050565b6006546116c39030906001600160a01b031684610d4b565b6006546001600160a01b031663f305d7198230856000806116ec6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611754573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906117799190611c02565b5050505050565b600060208083528351808285015260005b818110156117ad57858101830151858201604001528201611791565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d4857600080fd5b600080604083850312156117f657600080fd5b8235611801816117ce565b946020939093013593505050565b8015158114610d4857600080fd5b60006020828403121561182f57600080fd5b813561129d8161180f565b6000806040838503121561184d57600080fd5b8235611858816117ce565b915060208301356118688161180f565b809150509250929050565b60008060006060848603121561188857600080fd5b8335611893816117ce565b925060208401356118a3816117ce565b929592945050506040919091013590565b60008083601f8401126118c657600080fd5b50813567ffffffffffffffff8111156118de57600080fd5b6020830191508360208260051b85010111156118f957600080fd5b9250929050565b6000806000806040858703121561191657600080fd5b843567ffffffffffffffff8082111561192e57600080fd5b61193a888389016118b4565b9096509450602087013591508082111561195357600080fd5b50611960878288016118b4565b95989497509550505050565b60006020828403121561197e57600080fd5b813561129d816117ce565b60006020828403121561199b57600080fd5b5035919050565b600080604083850312156119b557600080fd5b82356119c0816117ce565b91506020830135611868816117ce565b600181811c908216806119e457607f821691505b602082108103611a0457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105fc576105fc611a0a565b634e487b7160e01b600052603260045260246000fd5b600060018201611a5b57611a5b611a0a565b5060010190565b6040808252810184905260008560608301825b87811015611aa5578235611a88816117ce565b6001600160a01b0316825260209283019290910190600101611a75565b5083810360208581019190915285825291508590820160005b86811015611ae5578235611ad18161180f565b151582529183019190830190600101611abe565b5098975050505050505050565b600060208284031215611b0457600080fd5b5051919050565b600060208284031215611b1d57600080fd5b815161129d8161180f565b80820281158282048414176105fc576105fc611a0a565b600082611b5c57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156105fc576105fc611a0a565b600060208284031215611b8657600080fd5b815161129d816117ce565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611be15784516001600160a01b031683529383019391830191600101611bbc565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215611c1757600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220172e35a8167662285e873415554becfeff5ef0c1f5f61afafa1d5c6116fcded864736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000cd
-----Decoded View---------------
Arg [0] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _buySellTax (uint256): 200
Arg [2] : __purchaseLimit (uint256): 205
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000cd
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.