Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000 LUMAI
Holders
614
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
39,907.217615426304150739 LUMAIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
LUMAI
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/IUniswapV2Router02.sol"; import "./interfaces/IUniswapV2Factory.sol"; // ___ __ __ __ __ ___ __ _ _______ ___ // | | | | | || |_| || | | | | || _ || | // | | | | | || || | | |_| || |_| || | // | | | |_| || || | | || || | // | |___ | || || | | _ || || | // | || || ||_|| || | | | | || _ || | // |_______||_______||_| |_||___| |_| |__||__| |__||___| // // GPU Node Marketplace v1.0 contract LUMAI is Ownable, ERC20 { // ┏━╸┏━┓┏━┓┏━┓┏━┓┏━┓ // ┣╸ ┣┳┛┣┳┛┃ ┃┣┳┛┗━┓ // ┗━╸╹┗╸╹┗╸┗━┛╹┗╸┗━┛ error MaxTxAmountExceeded(); error MaxWalletAmountExceeded(); error NotAuthorized(); // ┏━╸╻ ╻┏━╸┏┓╻╺┳╸┏━┓ // ┣╸ ┃┏┛┣╸ ┃┗┫ ┃ ┗━┓ // ┗━╸┗┛ ┗━╸╹ ╹ ╹ ┗━┛ event OpenTrading(); event DisableLimits(); event UpdateTreasuryWL(address _treasury); event SwapBack(uint256 amount); event UpdateSwapTokenAt(uint256 amount); /*0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D*/ IUniswapV2Router02 router; address public treasuryWallet; address public pair; // ╺┳╸┏━┓╻ ╻ // ┃ ┣━┫┏╋┛ // ╹ ╹ ╹╹ ╹ uint256 public TAX = 5; uint256 private _initialTax = 30; uint256 private _reduceTaxAt = 10; uint256 private _buyCount = 0; uint256 private _sellCount = 0; // ╻ ╻┏┳┓╻╺┳╸┏━┓ // ┃ ┃┃┃┃┃ ┃ ┗━┓ // ┗━╸╹╹ ╹╹ ╹ ┗━┛ uint256 _totalSupply = 100_000_000 * 10 ** 18; uint256 private _maxAmount = _totalSupply / 200; // 0.5% of total supply uint256 private _maxWallet = _maxAmount; bool private _tradingEnable; bool public limit = true; uint256 public swapTokenAt = _totalSupply / 1000; mapping(address => bool) private _isExcludedFromFees; bool private _swaping = false; // ┏┳┓┏━┓╺┳┓╻┏━╸┏━╸┏━┓┏━┓ // ┃┃┃┃ ┃ ┃┃┃┣╸ ┣╸ ┣┳┛┗━┓ // ╹ ╹┗━┛╺┻┛╹╹ ┗━╸╹┗╸┗━┛ modifier onSwap() { _swaping = true; _; _swaping = false; } constructor(address _treasury, address _router, address _fees) ERC20("LuminAI Network", "LUMAI") { router = IUniswapV2Router02(_router); treasuryWallet = _treasury; pair = IUniswapV2Factory(router.factory()).createPair(address(this), router.WETH()); _isExcludedFromFees[_msgSender()] = true; _isExcludedFromFees[address(this)] = true; _isExcludedFromFees[address(_fees)] = true; _isExcludedFromFees[address(router)] = true; _isExcludedFromFees[address(_treasury)] = true; _mint(_msgSender(), _totalSupply); _approve(_msgSender(), address(router), type(uint256).max); } receive() external payable {} function setSwapTokenAt(uint256 value) external onlyOwner { require(value <= _totalSupply / 50, "Value must be less than or equal to SUPPLY / 50"); swapTokenAt = value; emit UpdateSwapTokenAt(value); } function openTrading() external onlyOwner { _tradingEnable = true; emit OpenTrading(); } function getIsExcludedFromFees(address _address) external view returns (bool) { return _isExcludedFromFees[_address]; } function excludedFromFees(address _address, bool _value) external onlyOwner { _isExcludedFromFees[_address] = _value; } function _transfer(address from, address to, uint256 amount) internal override { if (_isExcludedFromFees[from] || _isExcludedFromFees[to] || (to != pair && from != pair) || _swaping) { super._transfer(from, to, amount); return; } require(_tradingEnable, "Trading is not open"); if (limit) { if ((from == pair || to == pair) && amount > _maxAmount) { revert MaxTxAmountExceeded(); } if (to != pair && balanceOf(to) + amount > _maxWallet) { revert MaxWalletAmountExceeded(); } } uint256 _totalFees = (amount * TAX) / 100; if (to == pair) { _sellCount += 1; _totalFees = (amount * (_sellCount > (_reduceTaxAt / 2) ? TAX : _initialTax)) / 100; if (balanceOf(address(this)) >= swapTokenAt) { swapBack(); } } if (from == pair) { _buyCount += 1; _totalFees = (amount * (_buyCount > _reduceTaxAt ? TAX : _initialTax)) / 100; } if (_totalFees > 0) { super._transfer(from, address(this), _totalFees); amount = amount - _totalFees; } super._transfer(from, to, amount); } function swapBack() public onSwap { address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); _approve(address(this), address(router), swapTokenAt); router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapTokenAt, 0, path, address(this), block.timestamp); uint256 balance = address(this).balance; if (balance > 0) { (bool sent,) = payable(treasuryWallet).call{value: balance}(""); require(sent, "Failed to send Ether to treasury wallet"); } emit SwapBack(swapTokenAt); } function disableLimits() external onlyOwner { require(limit, "Limits already removed"); limit = false; _maxWallet = _totalSupply; _maxAmount = _totalSupply; emit DisableLimits(); } function setTreasury(address _treasury) external onlyOwner { treasuryWallet = _treasury; emit UpdateTreasuryWL(_treasury); } function setTax(uint256 value) external onlyOwner { require(value <= 20, "Value must be less than or equal to 10"); TAX = value; } function setMaxAmount(uint256 value) external onlyOwner { require(value >= _totalSupply / 1000, "Value must be greater than 0.1%"); _maxAmount = value; _maxWallet = value; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.23; 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; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.23; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair( address tokenA, address tokenB ) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair( address tokenA, address tokenB ) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.23; 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); }
{ "remappings": [ "@openzeppelin/=lib/openzeppelin-contracts/", "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/", "@openzeppelin/=lib/openzeppelin-contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "viaIR": false, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_fees","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MaxTxAmountExceeded","type":"error"},{"inputs":[],"name":"MaxWalletAmountExceeded","type":"error"},{"inputs":[],"name":"NotAuthorized","type":"error"},{"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":[],"name":"DisableLimits","type":"event"},{"anonymous":false,"inputs":[],"name":"OpenTrading","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":"amount","type":"uint256"}],"name":"SwapBack","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UpdateSwapTokenAt","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_treasury","type":"address"}],"name":"UpdateTreasuryWL","type":"event"},{"inputs":[],"name":"TAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","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":[],"name":"disableLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"excludedFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getIsExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMaxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setSwapTokenAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokenAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526005600955601e600a55600a600b556000600c556000600d556a52b7d2dcc80cd2e4000000600e5560c8600e546200003d9190620005d7565b600f8190556010556011805461ff001916610100179055600e5462000066906103e890620005d7565b6012556014805460ff191690553480156200008057600080fd5b5060405162001f0738038062001f07833981016040819052620000a39162000617565b6040518060400160405280600f81526020016e4c756d696e4149204e6574776f726b60881b815250604051806040016040528060058152602001644c554d414960d81b81525062000103620000fd6200038d60201b60201c565b62000391565b600462000111838262000707565b50600562000120828262000707565b5050600680546001600160a01b038086166001600160a01b0319928316811790935560078054918816919092161790556040805163c45a015560e01b8152905191925063c45a01559160048083019260209291908290030181865afa1580156200018e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b49190620007d3565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000217573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023d9190620007d3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200028b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b19190620007d3565b600880546001600160a01b0319166001600160a01b0392909216919091179055600160136000620002df3390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526013909352818320805485166001908117909155858216845282842080548616821790556006548216845282842080548616821790559087168352912080549092161790556200036a620003613390565b600e54620003e1565b62000384336006546001600160a01b0316600019620004aa565b50505062000820565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200043d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060036000828254620004519190620007f8565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383166200050e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000434565b6001600160a01b038216620005715760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000434565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b505050565b600082620005f557634e487b7160e01b600052601260045260246000fd5b500490565b80516001600160a01b03811681146200061257600080fd5b919050565b6000806000606084860312156200062d57600080fd5b6200063884620005fa565b92506200064860208501620005fa565b91506200065860408501620005fa565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200068c57607f821691505b602082108103620006ad57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005d2576000816000526020600020601f850160051c81016020861015620006de5750805b601f850160051c820191505b81811015620006ff57828155600101620006ea565b505050505050565b81516001600160401b0381111562000723576200072362000661565b6200073b8162000734845462000677565b84620006b3565b602080601f8311600181146200077357600084156200075a5750858301515b600019600386901b1c1916600185901b178555620006ff565b600085815260208120601f198616915b82811015620007a45788860151825594840194600190910190840162000783565b5085821015620007c35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620007e657600080fd5b620007f182620005fa565b9392505050565b808201808211156200081a57634e487b7160e01b600052601160045260246000fd5b92915050565b6116d780620008306000396000f3fe6080604052600436106101bb5760003560e01c806373bc5a36116100ec578063a8aa1b311161008a578063dd62ed3e11610064578063dd62ed3e146104e3578063f0f4426014610503578063f2fde38b14610523578063f928364c1461054357600080fd5b8063a8aa1b311461048e578063a9059cbb146104ae578063c9567bf9146104ce57600080fd5b80638da5cb5b116100c65780638da5cb5b1461041c57806395d89b411461043a578063a457c2d71461044f578063a4d66daf1461046f57600080fd5b806373bc5a36146103ad5780637b16cea0146103c3578063864b3167146103fc57600080fd5b8063395093511161015957806368f58b031161013357806368f58b03146103375780636ac5eeee1461034d57806370a0823114610362578063715018a61461039857600080fd5b806339509351146102bf5780634626402b146102df5780634fe47f701461031757600080fd5b806318160ddd1161019557806318160ddd1461024457806323b872dd146102635780632e5bb6ff14610283578063313ce567146102a357600080fd5b806306fdde03146101c7578063095ea7b3146101f257806316697fc51461022257600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b506101dc610558565b6040516101e991906113d2565b60405180910390f35b3480156101fe57600080fd5b5061021261020d366004611436565b6105ea565b60405190151581526020016101e9565b34801561022e57600080fd5b5061024261023d366004611462565b610604565b005b34801561025057600080fd5b506003545b6040519081526020016101e9565b34801561026f57600080fd5b5061021261027e3660046114a0565b610637565b34801561028f57600080fd5b5061024261029e3660046114e1565b61065b565b3480156102af57600080fd5b50604051601281526020016101e9565b3480156102cb57600080fd5b506102126102da366004611436565b6106cd565b3480156102eb57600080fd5b506007546102ff906001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b34801561032357600080fd5b506102426103323660046114e1565b6106ef565b34801561034357600080fd5b5061025560095481565b34801561035957600080fd5b50610242610760565b34801561036e57600080fd5b5061025561037d3660046114fa565b6001600160a01b031660009081526001602052604090205490565b3480156103a457600080fd5b506102426109ce565b3480156103b957600080fd5b5061025560125481565b3480156103cf57600080fd5b506102126103de3660046114fa565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561040857600080fd5b506102426104173660046114e1565b6109e2565b34801561042857600080fd5b506000546001600160a01b03166102ff565b34801561044657600080fd5b506101dc610a9c565b34801561045b57600080fd5b5061021261046a366004611436565b610aab565b34801561047b57600080fd5b5060115461021290610100900460ff1681565b34801561049a57600080fd5b506008546102ff906001600160a01b031681565b3480156104ba57600080fd5b506102126104c9366004611436565b610b26565b3480156104da57600080fd5b50610242610b34565b3480156104ef57600080fd5b506102556104fe36600461151e565b610b74565b34801561050f57600080fd5b5061024261051e3660046114fa565b610b9f565b34801561052f57600080fd5b5061024261053e3660046114fa565b610bf5565b34801561054f57600080fd5b50610242610c6e565b6060600480546105679061154c565b80601f01602080910402602001604051908101604052809291908181526020018280546105939061154c565b80156105e05780601f106105b5576101008083540402835291602001916105e0565b820191906000526020600020905b8154815290600101906020018083116105c357829003601f168201915b5050505050905090565b6000336105f8818585610d07565b60019150505b92915050565b61060c610e2b565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b600033610645858285610e85565b610650858585610eff565b506001949350505050565b610663610e2b565b60148111156106c85760405162461bcd60e51b815260206004820152602660248201527f56616c7565206d757374206265206c657373207468616e206f7220657175616c604482015265020746f2031360d41b60648201526084015b60405180910390fd5b600955565b6000336105f88185856106e08383610b74565b6106ea919061159c565b610d07565b6106f7610e2b565b6103e8600e5461070791906115af565b8110156107565760405162461bcd60e51b815260206004820152601f60248201527f56616c7565206d7573742062652067726561746572207468616e20302e31250060448201526064016106bf565b600f819055601055565b6014805460ff1916600117905560408051600280825260608201835260009260208301908036833701905050905030816000815181106107a2576107a26115d1565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156107fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081f91906115e7565b81600181518110610832576108326115d1565b6001600160a01b03928316602091820292909201015260065460125461085b9230921690610d07565b60065460125460405163791ac94760e01b81526001600160a01b039092169163791ac9479161089591600090869030904290600401611604565b600060405180830381600087803b1580156108af57600080fd5b505af11580156108c3573d6000803e3d6000fd5b504792505081159050610985576007546040516000916001600160a01b03169083908381818185875af1925050503d806000811461091d576040519150601f19603f3d011682016040523d82523d6000602084013e610922565b606091505b50509050806109835760405162461bcd60e51b815260206004820152602760248201527f4661696c656420746f2073656e6420457468657220746f207472656173757279604482015266081dd85b1b195d60ca1b60648201526084016106bf565b505b7fd851aeb8e2074b285cc12da5e2fbf79e642e38f62ef8e59590790c157491ee056012546040516109b891815260200190565b60405180910390a150506014805460ff19169055565b6109d6610e2b565b6109e060006111d7565b565b6109ea610e2b565b6032600e546109f991906115af565b811115610a605760405162461bcd60e51b815260206004820152602f60248201527f56616c7565206d757374206265206c657373207468616e206f7220657175616c60448201526e020746f20535550504c59202f20353608c1b60648201526084016106bf565b60128190556040518181527f4cba14fd4026630e64b03f8c6a0130ca310c15a5376cf7f6735c66880bb7bceb906020015b60405180910390a150565b6060600580546105679061154c565b60003381610ab98286610b74565b905083811015610b195760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106bf565b6106508286868403610d07565b6000336105f8818585610eff565b610b3c610e2b565b6011805460ff191660011790556040517f51cd7cc33235a1c89f708fecec535bf7cca0f94ed05216751befb052ca83e67990600090a1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610ba7610e2b565b600780546001600160a01b0319166001600160a01b0383169081179091556040519081527fbd5aa8e04dbf8cd0c0a2cf0d7f15cab9d94d85af3f5d347dc8359b9194610f0290602001610a91565b610bfd610e2b565b6001600160a01b038116610c625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106bf565b610c6b816111d7565b50565b610c76610e2b565b601154610100900460ff16610cc65760405162461bcd60e51b8152602060048201526016602482015275131a5b5a5d1cc8185b1c9958591e481c995b5bdd995960521b60448201526064016106bf565b6011805461ff0019169055600e546010819055600f556040517fe9070d302280cd857033f56893647494c1410643fe239daabee29e9292199b3d90600090a1565b6001600160a01b038316610d695760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106bf565b6001600160a01b038216610dca5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106bf565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b031633146109e05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106bf565b6000610e918484610b74565b90506000198114610ef95781811015610eec5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106bf565b610ef98484848403610d07565b50505050565b6001600160a01b03831660009081526013602052604090205460ff1680610f3e57506001600160a01b03821660009081526013602052604090205460ff165b80610f7057506008546001600160a01b03838116911614801590610f7057506008546001600160a01b03848116911614155b80610f7d575060145460ff165b15610f9257610f8d838383611227565b505050565b60115460ff16610fda5760405162461bcd60e51b81526020600482015260136024820152722a3930b234b7339034b9903737ba1037b832b760691b60448201526064016106bf565b601154610100900460ff16156110a4576008546001600160a01b038481169116148061101357506008546001600160a01b038381169116145b80156110205750600f5481115b1561103e5760405163801bc44b60e01b815260040160405180910390fd5b6008546001600160a01b0383811691161480159061108657506010548161107a846001600160a01b031660009081526001602052604090205490565b611084919061159c565b115b156110a45760405163a9a44dff60e01b815260040160405180910390fd5b60006064600954836110b69190611677565b6110c091906115af565b6008549091506001600160a01b039081169084160361114e576001600d60008282546110ec919061159c565b9091555050600b54606490611103906002906115af565b600d541161111357600a54611117565b6009545b6111219084611677565b61112b91906115af565b601254306000908152600160205260409020549192501161114e5761114e610760565b6008546001600160a01b03908116908516036111ae576001600c6000828254611177919061159c565b925050819055506064600b54600c541161119357600a54611197565b6009545b6111a19084611677565b6111ab91906115af565b90505b80156111cc576111bf843083611227565b6111c9818361168e565b91505b610ef9848484611227565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03831661128b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106bf565b6001600160a01b0382166112ed5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106bf565b6001600160a01b038316600090815260016020526040902054818110156113655760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106bf565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113c59086815260200190565b60405180910390a3610ef9565b60006020808352835180602085015260005b81811015611400578581018301518582016040015282016113e4565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c6b57600080fd5b6000806040838503121561144957600080fd5b823561145481611421565b946020939093013593505050565b6000806040838503121561147557600080fd5b823561148081611421565b91506020830135801515811461149557600080fd5b809150509250929050565b6000806000606084860312156114b557600080fd5b83356114c081611421565b925060208401356114d081611421565b929592945050506040919091013590565b6000602082840312156114f357600080fd5b5035919050565b60006020828403121561150c57600080fd5b813561151781611421565b9392505050565b6000806040838503121561153157600080fd5b823561153c81611421565b9150602083013561149581611421565b600181811c9082168061156057607f821691505b60208210810361158057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105fe576105fe611586565b6000826115cc57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156115f957600080fd5b815161151781611421565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156116565784516001600160a01b031683529383019391830191600101611631565b50506001600160a01b03969096166060850152505050608001529392505050565b80820281158282048414176105fe576105fe611586565b818103818111156105fe576105fe61158656fea264697066735822122029d30e64e2a21343422a820b9c4ad2076ffe999f36cc1205a75cb247057ecdab64736f6c634300081700330000000000000000000000007c36ae64b55ec0fe99447d96fd852ffc4d257a640000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000082f111254831380767321c0d20b78189b2102382
Deployed Bytecode
0x6080604052600436106101bb5760003560e01c806373bc5a36116100ec578063a8aa1b311161008a578063dd62ed3e11610064578063dd62ed3e146104e3578063f0f4426014610503578063f2fde38b14610523578063f928364c1461054357600080fd5b8063a8aa1b311461048e578063a9059cbb146104ae578063c9567bf9146104ce57600080fd5b80638da5cb5b116100c65780638da5cb5b1461041c57806395d89b411461043a578063a457c2d71461044f578063a4d66daf1461046f57600080fd5b806373bc5a36146103ad5780637b16cea0146103c3578063864b3167146103fc57600080fd5b8063395093511161015957806368f58b031161013357806368f58b03146103375780636ac5eeee1461034d57806370a0823114610362578063715018a61461039857600080fd5b806339509351146102bf5780634626402b146102df5780634fe47f701461031757600080fd5b806318160ddd1161019557806318160ddd1461024457806323b872dd146102635780632e5bb6ff14610283578063313ce567146102a357600080fd5b806306fdde03146101c7578063095ea7b3146101f257806316697fc51461022257600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b506101dc610558565b6040516101e991906113d2565b60405180910390f35b3480156101fe57600080fd5b5061021261020d366004611436565b6105ea565b60405190151581526020016101e9565b34801561022e57600080fd5b5061024261023d366004611462565b610604565b005b34801561025057600080fd5b506003545b6040519081526020016101e9565b34801561026f57600080fd5b5061021261027e3660046114a0565b610637565b34801561028f57600080fd5b5061024261029e3660046114e1565b61065b565b3480156102af57600080fd5b50604051601281526020016101e9565b3480156102cb57600080fd5b506102126102da366004611436565b6106cd565b3480156102eb57600080fd5b506007546102ff906001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b34801561032357600080fd5b506102426103323660046114e1565b6106ef565b34801561034357600080fd5b5061025560095481565b34801561035957600080fd5b50610242610760565b34801561036e57600080fd5b5061025561037d3660046114fa565b6001600160a01b031660009081526001602052604090205490565b3480156103a457600080fd5b506102426109ce565b3480156103b957600080fd5b5061025560125481565b3480156103cf57600080fd5b506102126103de3660046114fa565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561040857600080fd5b506102426104173660046114e1565b6109e2565b34801561042857600080fd5b506000546001600160a01b03166102ff565b34801561044657600080fd5b506101dc610a9c565b34801561045b57600080fd5b5061021261046a366004611436565b610aab565b34801561047b57600080fd5b5060115461021290610100900460ff1681565b34801561049a57600080fd5b506008546102ff906001600160a01b031681565b3480156104ba57600080fd5b506102126104c9366004611436565b610b26565b3480156104da57600080fd5b50610242610b34565b3480156104ef57600080fd5b506102556104fe36600461151e565b610b74565b34801561050f57600080fd5b5061024261051e3660046114fa565b610b9f565b34801561052f57600080fd5b5061024261053e3660046114fa565b610bf5565b34801561054f57600080fd5b50610242610c6e565b6060600480546105679061154c565b80601f01602080910402602001604051908101604052809291908181526020018280546105939061154c565b80156105e05780601f106105b5576101008083540402835291602001916105e0565b820191906000526020600020905b8154815290600101906020018083116105c357829003601f168201915b5050505050905090565b6000336105f8818585610d07565b60019150505b92915050565b61060c610e2b565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b600033610645858285610e85565b610650858585610eff565b506001949350505050565b610663610e2b565b60148111156106c85760405162461bcd60e51b815260206004820152602660248201527f56616c7565206d757374206265206c657373207468616e206f7220657175616c604482015265020746f2031360d41b60648201526084015b60405180910390fd5b600955565b6000336105f88185856106e08383610b74565b6106ea919061159c565b610d07565b6106f7610e2b565b6103e8600e5461070791906115af565b8110156107565760405162461bcd60e51b815260206004820152601f60248201527f56616c7565206d7573742062652067726561746572207468616e20302e31250060448201526064016106bf565b600f819055601055565b6014805460ff1916600117905560408051600280825260608201835260009260208301908036833701905050905030816000815181106107a2576107a26115d1565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156107fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081f91906115e7565b81600181518110610832576108326115d1565b6001600160a01b03928316602091820292909201015260065460125461085b9230921690610d07565b60065460125460405163791ac94760e01b81526001600160a01b039092169163791ac9479161089591600090869030904290600401611604565b600060405180830381600087803b1580156108af57600080fd5b505af11580156108c3573d6000803e3d6000fd5b504792505081159050610985576007546040516000916001600160a01b03169083908381818185875af1925050503d806000811461091d576040519150601f19603f3d011682016040523d82523d6000602084013e610922565b606091505b50509050806109835760405162461bcd60e51b815260206004820152602760248201527f4661696c656420746f2073656e6420457468657220746f207472656173757279604482015266081dd85b1b195d60ca1b60648201526084016106bf565b505b7fd851aeb8e2074b285cc12da5e2fbf79e642e38f62ef8e59590790c157491ee056012546040516109b891815260200190565b60405180910390a150506014805460ff19169055565b6109d6610e2b565b6109e060006111d7565b565b6109ea610e2b565b6032600e546109f991906115af565b811115610a605760405162461bcd60e51b815260206004820152602f60248201527f56616c7565206d757374206265206c657373207468616e206f7220657175616c60448201526e020746f20535550504c59202f20353608c1b60648201526084016106bf565b60128190556040518181527f4cba14fd4026630e64b03f8c6a0130ca310c15a5376cf7f6735c66880bb7bceb906020015b60405180910390a150565b6060600580546105679061154c565b60003381610ab98286610b74565b905083811015610b195760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106bf565b6106508286868403610d07565b6000336105f8818585610eff565b610b3c610e2b565b6011805460ff191660011790556040517f51cd7cc33235a1c89f708fecec535bf7cca0f94ed05216751befb052ca83e67990600090a1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610ba7610e2b565b600780546001600160a01b0319166001600160a01b0383169081179091556040519081527fbd5aa8e04dbf8cd0c0a2cf0d7f15cab9d94d85af3f5d347dc8359b9194610f0290602001610a91565b610bfd610e2b565b6001600160a01b038116610c625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106bf565b610c6b816111d7565b50565b610c76610e2b565b601154610100900460ff16610cc65760405162461bcd60e51b8152602060048201526016602482015275131a5b5a5d1cc8185b1c9958591e481c995b5bdd995960521b60448201526064016106bf565b6011805461ff0019169055600e546010819055600f556040517fe9070d302280cd857033f56893647494c1410643fe239daabee29e9292199b3d90600090a1565b6001600160a01b038316610d695760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106bf565b6001600160a01b038216610dca5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106bf565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b031633146109e05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106bf565b6000610e918484610b74565b90506000198114610ef95781811015610eec5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106bf565b610ef98484848403610d07565b50505050565b6001600160a01b03831660009081526013602052604090205460ff1680610f3e57506001600160a01b03821660009081526013602052604090205460ff165b80610f7057506008546001600160a01b03838116911614801590610f7057506008546001600160a01b03848116911614155b80610f7d575060145460ff165b15610f9257610f8d838383611227565b505050565b60115460ff16610fda5760405162461bcd60e51b81526020600482015260136024820152722a3930b234b7339034b9903737ba1037b832b760691b60448201526064016106bf565b601154610100900460ff16156110a4576008546001600160a01b038481169116148061101357506008546001600160a01b038381169116145b80156110205750600f5481115b1561103e5760405163801bc44b60e01b815260040160405180910390fd5b6008546001600160a01b0383811691161480159061108657506010548161107a846001600160a01b031660009081526001602052604090205490565b611084919061159c565b115b156110a45760405163a9a44dff60e01b815260040160405180910390fd5b60006064600954836110b69190611677565b6110c091906115af565b6008549091506001600160a01b039081169084160361114e576001600d60008282546110ec919061159c565b9091555050600b54606490611103906002906115af565b600d541161111357600a54611117565b6009545b6111219084611677565b61112b91906115af565b601254306000908152600160205260409020549192501161114e5761114e610760565b6008546001600160a01b03908116908516036111ae576001600c6000828254611177919061159c565b925050819055506064600b54600c541161119357600a54611197565b6009545b6111a19084611677565b6111ab91906115af565b90505b80156111cc576111bf843083611227565b6111c9818361168e565b91505b610ef9848484611227565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03831661128b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106bf565b6001600160a01b0382166112ed5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106bf565b6001600160a01b038316600090815260016020526040902054818110156113655760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106bf565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113c59086815260200190565b60405180910390a3610ef9565b60006020808352835180602085015260005b81811015611400578581018301518582016040015282016113e4565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c6b57600080fd5b6000806040838503121561144957600080fd5b823561145481611421565b946020939093013593505050565b6000806040838503121561147557600080fd5b823561148081611421565b91506020830135801515811461149557600080fd5b809150509250929050565b6000806000606084860312156114b557600080fd5b83356114c081611421565b925060208401356114d081611421565b929592945050506040919091013590565b6000602082840312156114f357600080fd5b5035919050565b60006020828403121561150c57600080fd5b813561151781611421565b9392505050565b6000806040838503121561153157600080fd5b823561153c81611421565b9150602083013561149581611421565b600181811c9082168061156057607f821691505b60208210810361158057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105fe576105fe611586565b6000826115cc57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156115f957600080fd5b815161151781611421565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156116565784516001600160a01b031683529383019391830191600101611631565b50506001600160a01b03969096166060850152505050608001529392505050565b80820281158282048414176105fe576105fe611586565b818103818111156105fe576105fe61158656fea264697066735822122029d30e64e2a21343422a820b9c4ad2076ffe999f36cc1205a75cb247057ecdab64736f6c63430008170033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007c36ae64b55ec0fe99447d96fd852ffc4d257a640000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000082f111254831380767321c0d20b78189b2102382
-----Decoded View---------------
Arg [0] : _treasury (address): 0x7c36AE64B55Ec0FE99447d96fd852Ffc4d257A64
Arg [1] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [2] : _fees (address): 0x82F111254831380767321c0D20b78189b2102382
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007c36ae64b55ec0fe99447d96fd852ffc4d257a64
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [2] : 00000000000000000000000082f111254831380767321c0d20b78189b2102382
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.