ERC-20
Overview
Max Total Supply
10,000,000 DMAX
Holders
108
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.722003395298553336 DMAXValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DeMatrix
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IUniswapV2Router02.sol"; import "./IUniswapV2Factory.sol"; import "./IUniswapV2Pair.sol"; import "./IDNode.sol"; contract DeMatrix is Ownable, ERC20 { using SafeMath for uint256; using EnumerableSet for EnumerableSet.AddressSet; uint256 public initToken = 10_000_000 * 10 ** 18; IUniswapV2Router02 public uniswapV2Router; IUniswapV2Factory public factory; EnumerableSet.AddressSet private _listPairs; IDNode public dNode; uint256 public buyFee = 50; //per 10 ~ 5% uint256 public sellFee = 50; //per 10 ~ 5% uint[3] private referFee = [25, 15, 10]; bool inSwap = false; address[3] public defaultReferAddress; mapping(address => uint) public referBalance; mapping(address => bool) public isExcludedFromFee; uint256 public antiBotAmount = 350_000 * 10 ** 18; uint256 public numTokensAutoswap = 50_000 * 10 ** 18; uint256 public antiBotInterval = 30; uint256 public antiBotEndTime; bool public tradingEnabled; bool private swapAndLiquifyEnabled = true; event ClaimReferral(address to, uint256 value); constructor(address _router, address _dNode) ERC20("DeMatrix", "DMAX") { _mint(_msgSender(), initToken); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(_router); uniswapV2Router = _uniswapV2Router; factory = IUniswapV2Factory(_uniswapV2Router.factory()); defaultReferAddress[0] = address( 0x1aE563655dAca916EBa7AdBC6E5e7263101e78b0 ); defaultReferAddress[1] = address( 0x23A5a2ec03F95039994E2cD52c8157237dd0CCe5 ); defaultReferAddress[2] = address( 0x9FAF5E6C92317F9DeaE885f952C575Eaf669bff9 ); isExcludedFromFee[_msgSender()] = true; tradingEnabled = false; address _pair = factory.createPair( uniswapV2Router.WETH(), address(this) ); dNode = IDNode(_dNode); _listPairs.add(_pair); } modifier lockTheSwap() { inSwap = true; _; inSwap = false; } function burn(uint256 amount) public { _burn(_msgSender(), amount); } function enableTrading() external onlyOwner { require(!tradingEnabled, "Trading already enabled."); tradingEnabled = true; antiBotEndTime = block.timestamp + antiBotInterval; } function claimReferral() external { uint refAmount = referBalance[_msgSender()]; require( refAmount > 0 && balanceOf(_msgSender()) >= 20_000 ether, "Referral amount must greater than 0 and hold minium 20_000 token." ); referBalance[_msgSender()] = 0; super._transfer(address(this), _msgSender(), refAmount); emit ClaimReferral(_msgSender(), refAmount); } function _transfer( address sender, address recipient, uint256 amount ) internal virtual override { uint256 taxFee; require( tradingEnabled || isExcludedFromFee[sender] || isExcludedFromFee[recipient], "Trading not yet enabled!" ); if (inSwap) { super._transfer(sender, recipient, amount); return; } if (!isExcludedFromFee[sender] && isPair(recipient)) { taxFee = sellFee; } else if (!isExcludedFromFee[recipient] && isPair(sender)) { taxFee = buyFee; } if ( antiBotEndTime > block.timestamp && amount > antiBotAmount && sender != address(this) && recipient != address(this) && isPair(sender) ) { taxFee = 850; } if ( taxFee > 0 && sender != address(this) && recipient != address(this) ) { uint256 _fee = amount.mul(taxFee).div(1000); super._transfer(sender, address(this), _fee); address childAddress; if (isPair(recipient)) { childAddress = sender; } else { childAddress = recipient; } (, address[] memory _parents) = dNode.getRelations(childAddress); for (uint256 i = 0; i < 3; i++) { address refAddress = defaultReferAddress[i]; if (_parents.length > i) refAddress = _parents[i]; uint256 refAmount = (_fee * referFee[i]) / sellFee; referBalance[refAddress] += refAmount; } amount = amount.sub(_fee); } else { for (uint256 i = 0; i < 3; i++) { if ( referBalance[defaultReferAddress[i]] > numTokensAutoswap && swapAndLiquifyEnabled ) { uint amountSwap = referBalance[defaultReferAddress[i]]; referBalance[defaultReferAddress[i]] = 0; swapTokensForETH(amountSwap); (bool success, ) = payable(defaultReferAddress[i]).call{ value: address(this).balance }(""); require(success, "Failed to send ETH to dev wallet"); } } } super._transfer(sender, recipient, amount); } function swapTokensForETH(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function setExcludeFromFee( address _address, bool _status ) external onlyOwner { require(_address != address(0), "0x is not accepted here"); require(isExcludedFromFee[_address] != _status, "Status was set"); isExcludedFromFee[_address] = _status; } function changeNumTokensSellToAddToETH( uint256 _numTokensSellToAddToETH ) external onlyOwner { require(_numTokensSellToAddToETH != 0, "_numTokensSellToAddToETH !=0"); numTokensAutoswap = _numTokensSellToAddToETH; } function isPair(address account) public view returns (bool) { return _listPairs.contains(account); } function addPair(address _pair) public onlyOwner returns (bool) { require(_pair != address(0), "TOKEN: pair is the zero address"); return _listPairs.add(_pair); } function delPair(address _pair) public onlyOwner returns (bool) { require(_pair != address(0), "TOKEN: pair is the zero address"); return _listPairs.remove(_pair); } function getListPairLength() public view returns (uint256) { return _listPairs.length(); } function getPair(uint256 index) public view returns (address) { require(index <= _listPairs.length() - 1, "TOKEN: index out of bounds"); return _listPairs.at(index); } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; } // receive eth receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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.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 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ```solidity * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; interface IDNode{ function getRelations(address _address) external view returns(uint8 , address[] memory); function setDaoReward(uint256 _amount) external; function mint(address spender, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: UNLICENSED 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; }
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: UNLICENSED 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); }
// SPDX-License-Identifier: UNLICENSED 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" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_dNode","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"ClaimReferral","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":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":"_pair","type":"address"}],"name":"addPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":[],"name":"antiBotAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiBotEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiBotInterval","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":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numTokensSellToAddToETH","type":"uint256"}],"name":"changeNumTokensSellToAddToETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimReferral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dNode","outputs":[{"internalType":"contract IDNode","name":"","type":"address"}],"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":"uint256","name":"","type":"uint256"}],"name":"defaultReferAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"}],"name":"delPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getListPairLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getPair","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"initToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPair","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":"numTokensAutoswap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setExcludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","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":"tradingEnabled","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":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6a084595161401484a0000006006556032600c819055600d5560e060405260196080908152600f60a052600a60c0526200003e90600e9060036200051a565b506011805460ff19169055694a1d89bb94865ec00000601755690a968163f0a57b400000601855601e601955601b805461ff0019166101001790553480156200008657600080fd5b506040516200273638038062002736833981016040819052620000a99162000596565b60405180604001604052806008815260200167088ca9ac2e8e4d2f60c31b815250604051806040016040528060048152602001630889a82b60e31b81525062000101620000fb6200038760201b60201c565b6200038b565b60046200010f838262000672565b5060056200011e828262000672565b5050506200013e620001356200038760201b60201c565b600654620003db565b600780546001600160a01b0319166001600160a01b0384169081179091556040805163c45a015560e01b8152905184929163c45a01559160048083019260209291908290030181865afa1580156200019a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c091906200073e565b600880546001600160a01b039283166001600160a01b0319918216178255601280548216731ae563655daca916eba7adbc6e5e7263101e78b01790556013805482167323a5a2ec03f95039994e2cd52c8157237dd0cce517905560148054909116739faf5e6c92317f9deae885f952c575eaf669bff9179055336000908152601660209081526040808320805460ff19908116600117909155601b80549091169055925460075484516315ab88c960e31b8152945193959182169463c9c6539694919092169263ad5c464892600480820193918290030181865afa158015620002ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d391906200073e565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af115801562000320573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200034691906200073e565b600b80546001600160a01b0319166001600160a01b03861617905590506200037c600982620004a3602090811b62000dd317901c565b505050505062000783565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620004365760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600360008282546200044a91906200075c565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6000620004ba836001600160a01b038416620004c8565b90505b92915050565b505050565b60008181526001830160205260408120546200051157508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620004bd565b506000620004bd565b826003810192821562000550579160200282015b8281111562000550578251829060ff169055916020019190600101906200052e565b506200055e92915062000562565b5090565b5b808211156200055e576000815560010162000563565b80516001600160a01b03811681146200059157600080fd5b919050565b60008060408385031215620005aa57600080fd5b620005b58362000579565b9150620005c56020840162000579565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005f957607f821691505b6020821081036200061a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004c357600081815260208120601f850160051c81016020861015620006495750805b601f850160051c820191505b818110156200066a5782815560010162000655565b505050505050565b81516001600160401b038111156200068e576200068e620005ce565b620006a6816200069f8454620005e4565b8462000620565b602080601f831160018114620006de5760008415620006c55750858301515b600019600386901b1c1916600185901b1785556200066a565b600085815260208120601f198616915b828110156200070f57888601518255948401946001909101908401620006ee565b50858210156200072e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200075157600080fd5b620004ba8262000579565b600082198211156200077e57634e487b7160e01b600052601160045260246000fd5b500190565b611fa380620007936000396000f3fe6080604052600436106102345760003560e01c80638da5cb5b1161012e578063c2b7bbb6116100ab578063e02f1ebd1161006f578063e02f1ebd1461066a578063e5e31b131461067f578063e66738cd1461069f578063f216c7d5146106b5578063f2fde38b146106e257600080fd5b8063c2b7bbb6146105ca578063c45a0155146105ea578063c49b9a801461060a578063d8e29e8e1461062a578063dd62ed3e1461064a57600080fd5b8063a5bc5085116100f2578063a5bc508514610534578063a9059cbb14610554578063af9549e014610574578063b1fa996a14610594578063bdf391cc146105aa57600080fd5b80638da5cb5b146104ab57806395d89b41146104c9578063a39a1450146104de578063a457c2d7146104fe578063a59779641461051e57600080fd5b806339509351116101bc5780634fd2582c116101805780634fd2582c146103fb5780635342acb41461041b57806370a082311461044b578063715018a6146104815780638a8c523c1461049657600080fd5b8063395093511461037457806342966c681461039457806347062402146103b65780634819467c146103cc5780634ada218b146103e157600080fd5b806317574ce01161020357806317574ce0146102f757806318160ddd1461030d57806323b872dd146103225780632b14ca5614610342578063313ce5671461035857600080fd5b806306fdde0314610240578063095ea7b31461026b57806311ad67be1461029b5780631694505e146102bf57600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b50610255610702565b6040516102629190611b31565b60405180910390f35b34801561027757600080fd5b5061028b610286366004611b9b565b610794565b6040519015158152602001610262565b3480156102a757600080fd5b506102b160195481565b604051908152602001610262565b3480156102cb57600080fd5b506007546102df906001600160a01b031681565b6040516001600160a01b039091168152602001610262565b34801561030357600080fd5b506102b160175481565b34801561031957600080fd5b506003546102b1565b34801561032e57600080fd5b5061028b61033d366004611bc7565b6107ae565b34801561034e57600080fd5b506102b1600d5481565b34801561036457600080fd5b5060405160128152602001610262565b34801561038057600080fd5b5061028b61038f366004611b9b565b6107d2565b3480156103a057600080fd5b506103b46103af366004611c08565b6107f4565b005b3480156103c257600080fd5b506102b1600c5481565b3480156103d857600080fd5b506102b1610801565b3480156103ed57600080fd5b50601b5461028b9060ff1681565b34801561040757600080fd5b506102df610416366004611c08565b610812565b34801561042757600080fd5b5061028b610436366004611c21565b60166020526000908152604090205460ff1681565b34801561045757600080fd5b506102b1610466366004611c21565b6001600160a01b031660009081526001602052604090205490565b34801561048d57600080fd5b506103b4610832565b3480156104a257600080fd5b506103b4610846565b3480156104b757600080fd5b506000546001600160a01b03166102df565b3480156104d557600080fd5b506102556108c5565b3480156104ea57600080fd5b506103b46104f9366004611c08565b6108d4565b34801561050a57600080fd5b5061028b610519366004611b9b565b610931565b34801561052a57600080fd5b506102b160185481565b34801561054057600080fd5b5061028b61054f366004611c21565b6109ac565b34801561056057600080fd5b5061028b61056f366004611b9b565b610a1f565b34801561058057600080fd5b506103b461058f366004611c4e565b610a2d565b3480156105a057600080fd5b506102b1601a5481565b3480156105b657600080fd5b506102df6105c5366004611c08565b610b17565b3480156105d657600080fd5b5061028b6105e5366004611c21565b610b89565b3480156105f657600080fd5b506008546102df906001600160a01b031681565b34801561061657600080fd5b506103b4610625366004611c83565b610bf4565b34801561063657600080fd5b50600b546102df906001600160a01b031681565b34801561065657600080fd5b506102b1610665366004611c9e565b610c16565b34801561067657600080fd5b506103b4610c41565b34801561068b57600080fd5b5061028b61069a366004611c21565b610d50565b3480156106ab57600080fd5b506102b160065481565b3480156106c157600080fd5b506102b16106d0366004611c21565b60156020526000908152604090205481565b3480156106ee57600080fd5b506103b46106fd366004611c21565b610d5d565b60606004805461071190611cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461073d90611cd7565b801561078a5780601f1061075f5761010080835404028352916020019161078a565b820191906000526020600020905b81548152906001019060200180831161076d57829003601f168201915b5050505050905090565b6000336107a2818585610def565b60019150505b92915050565b6000336107bc858285610f14565b6107c7858585610f8e565b506001949350505050565b6000336107a28185856107e58383610c16565b6107ef9190611d27565b610def565b6107fe3382611479565b50565b600061080d60096115a5565b905090565b6012816003811061082257600080fd5b01546001600160a01b0316905081565b61083a6115af565b6108446000611609565b565b61084e6115af565b601b5460ff16156108a65760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e000000000000000060448201526064015b60405180910390fd5b601b805460ff191660011790556019546108c09042611d27565b601a55565b60606005805461071190611cd7565b6108dc6115af565b8060000361092c5760405162461bcd60e51b815260206004820152601c60248201527f5f6e756d546f6b656e7353656c6c546f416464546f45544820213d3000000000604482015260640161089d565b601855565b6000338161093f8286610c16565b90508381101561099f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161089d565b6107c78286868403610def565b60006109b66115af565b6001600160a01b038216610a0c5760405162461bcd60e51b815260206004820152601f60248201527f544f4b454e3a207061697220697320746865207a65726f206164647265737300604482015260640161089d565b610a17600983611659565b90505b919050565b6000336107a2818585610f8e565b610a356115af565b6001600160a01b038216610a8b5760405162461bcd60e51b815260206004820152601760248201527f3078206973206e6f742061636365707465642068657265000000000000000000604482015260640161089d565b6001600160a01b03821660009081526016602052604090205481151560ff909116151503610aec5760405162461bcd60e51b815260206004820152600e60248201526d14dd185d1d5cc81dd85cc81cd95d60921b604482015260640161089d565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b60006001610b2560096115a5565b610b2f9190611d3f565b821115610b7e5760405162461bcd60e51b815260206004820152601a60248201527f544f4b454e3a20696e646578206f7574206f6620626f756e6473000000000000604482015260640161089d565b610a1760098361166e565b6000610b936115af565b6001600160a01b038216610be95760405162461bcd60e51b815260206004820152601f60248201527f544f4b454e3a207061697220697320746865207a65726f206164647265737300604482015260640161089d565b610a17600983610dd3565b610bfc6115af565b601b80549115156101000261ff0019909216919091179055565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b336000908152601560205260409020548015801590610c72575069043c33c1937564800000610c6f33610466565b10155b610cee5760405162461bcd60e51b815260206004820152604160248201527f526566657272616c20616d6f756e74206d75737420677265617465722074686160448201527f6e203020616e6420686f6c64206d696e69756d2032305f30303020746f6b656e6064820152601760f91b608482015260a40161089d565b33600081815260156020526040812055610d0a9030908361167a565b7f66eb666f5327b1c47411b5678aee7f232f4aefba6597ef9ebbaf7e60b79fc04633604080516001600160a01b039092168252602082018490520160405180910390a150565b6000610a17600983611825565b610d656115af565b6001600160a01b038116610dca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089d565b6107fe81611609565b6000610de8836001600160a01b038416611847565b9392505050565b6001600160a01b038316610e515760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161089d565b6001600160a01b038216610eb25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161089d565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610f208484610c16565b90506000198114610f885781811015610f7b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161089d565b610f888484848403610def565b50505050565b601b5460009060ff1680610fba57506001600160a01b03841660009081526016602052604090205460ff165b80610fdd57506001600160a01b03831660009081526016602052604090205460ff165b6110295760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c6564210000000000000000604482015260640161089d565b60115460ff161561103f57610f8884848461167a565b6001600160a01b03841660009081526016602052604090205460ff1615801561106c575061106c83610d50565b1561107a5750600d546110b1565b6001600160a01b03831660009081526016602052604090205460ff161580156110a757506110a784610d50565b156110b15750600c545b42601a541180156110c3575060175482115b80156110d857506001600160a01b0384163014155b80156110ed57506001600160a01b0383163014155b80156110fd57506110fd84610d50565b1561110757506103525b60008111801561112057506001600160a01b0384163014155b801561113557506001600160a01b0383163014155b156112d15760006111526103e861114c8585611896565b906118a2565b905061115f85308361167a565b600061116a85610d50565b15611176575084611179565b50835b600b54604051636c5c642560e01b81526001600160a01b0383811660048301526000921690636c5c642590602401600060405180830381865afa1580156111c4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111ec9190810190611d77565b91505060005b60038110156112bc5760006012826003811061121057611210611e59565b015483516001600160a01b0390911691508210156112455782828151811061123a5761123a611e59565b602002602001015190505b6000600d54600e846003811061125d5761125d611e59565b01546112699088611e6f565b6112739190611e8e565b6001600160a01b0383166000908152601560205260408120805492935083929091906112a0908490611d27565b92505081905550505080806112b490611eb0565b9150506111f2565b506112c785846118ae565b945050505061146e565b60005b600381101561146c5760185460156000601284600381106112f7576112f7611e59565b01546001600160a01b031681526020810191909152604001600020541180156113275750601b54610100900460ff165b1561145a576000601560006012846003811061134557611345611e59565b01546001600160a01b03168152602081019190915260400160009081205491506015816012856003811061137b5761137b611e59565b01546001600160a01b031681526020810191909152604001600020556113a0816118ba565b6000601283600381106113b5576113b5611e59565b01546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611401576040519150601f19603f3d011682016040523d82523d6000602084013e611406565b606091505b50509050806114575760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c6574604482015260640161089d565b50505b8061146481611eb0565b9150506112d4565b505b610f8884848461167a565b6001600160a01b0382166114d95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161089d565b6001600160a01b0382166000908152600160205260409020548181101561154d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161089d565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610f07565b6000610a17825490565b6000546001600160a01b031633146108445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161089d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610de8836001600160a01b038416611a14565b6000610de88383611b07565b6001600160a01b0383166116de5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161089d565b6001600160a01b0382166117405760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161089d565b6001600160a01b038316600090815260016020526040902054818110156117b85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161089d565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906118189086815260200190565b60405180910390a3610f88565b6001600160a01b03811660009081526001830160205260408120541515610de8565b600081815260018301602052604081205461188e575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556107a8565b5060006107a8565b6000610de88284611e6f565b6000610de88284611e8e565b6000610de88284611d3f565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106118ef576118ef611e59565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196c9190611ec9565b8160018151811061197f5761197f611e59565b6001600160a01b0392831660209182029290920101526007546119a59130911684610def565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac947906119de908590600090869030904290600401611ee6565b600060405180830381600087803b1580156119f857600080fd5b505af1158015611a0c573d6000803e3d6000fd5b505050505050565b60008181526001830160205260408120548015611afd576000611a38600183611d3f565b8554909150600090611a4c90600190611d3f565b9050818114611ab1576000866000018281548110611a6c57611a6c611e59565b9060005260206000200154905080876000018481548110611a8f57611a8f611e59565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611ac257611ac2611f57565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506107a8565b60009150506107a8565b6000826000018281548110611b1e57611b1e611e59565b9060005260206000200154905092915050565b600060208083528351808285015260005b81811015611b5e57858101830151858201604001528201611b42565b81811115611b70576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146107fe57600080fd5b60008060408385031215611bae57600080fd5b8235611bb981611b86565b946020939093013593505050565b600080600060608486031215611bdc57600080fd5b8335611be781611b86565b92506020840135611bf781611b86565b929592945050506040919091013590565b600060208284031215611c1a57600080fd5b5035919050565b600060208284031215611c3357600080fd5b8135610de881611b86565b80358015158114610a1a57600080fd5b60008060408385031215611c6157600080fd5b8235611c6c81611b86565b9150611c7a60208401611c3e565b90509250929050565b600060208284031215611c9557600080fd5b610de882611c3e565b60008060408385031215611cb157600080fd5b8235611cbc81611b86565b91506020830135611ccc81611b86565b809150509250929050565b600181811c90821680611ceb57607f821691505b602082108103611d0b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611d3a57611d3a611d11565b500190565b600082821015611d5157611d51611d11565b500390565b634e487b7160e01b600052604160045260246000fd5b8051610a1a81611b86565b60008060408385031215611d8a57600080fd5b825160ff81168114611d9b57600080fd5b8092505060208084015167ffffffffffffffff80821115611dbb57600080fd5b818601915086601f830112611dcf57600080fd5b815181811115611de157611de1611d56565b8060051b604051601f19603f83011681018181108582111715611e0657611e06611d56565b604052918252848201925083810185019189831115611e2457600080fd5b938501935b82851015611e4957611e3a85611d6c565b84529385019392850192611e29565b8096505050505050509250929050565b634e487b7160e01b600052603260045260246000fd5b6000816000190483118215151615611e8957611e89611d11565b500290565b600082611eab57634e487b7160e01b600052601260045260246000fd5b500490565b600060018201611ec257611ec2611d11565b5060010190565b600060208284031215611edb57600080fd5b8151610de881611b86565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f365784516001600160a01b031683529383019391830191600101611f11565b50506001600160a01b03969096166060850152505050608001529392505050565b634e487b7160e01b600052603160045260246000fdfea264697066735822122053f7a354d77872b662b935c61d89169aad43703c4ccc8b0d189e3139e2f997b864736f6c634300080f00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000001b0c22233de8d24fca58ac27f228ad7bdef47f47
Deployed Bytecode
0x6080604052600436106102345760003560e01c80638da5cb5b1161012e578063c2b7bbb6116100ab578063e02f1ebd1161006f578063e02f1ebd1461066a578063e5e31b131461067f578063e66738cd1461069f578063f216c7d5146106b5578063f2fde38b146106e257600080fd5b8063c2b7bbb6146105ca578063c45a0155146105ea578063c49b9a801461060a578063d8e29e8e1461062a578063dd62ed3e1461064a57600080fd5b8063a5bc5085116100f2578063a5bc508514610534578063a9059cbb14610554578063af9549e014610574578063b1fa996a14610594578063bdf391cc146105aa57600080fd5b80638da5cb5b146104ab57806395d89b41146104c9578063a39a1450146104de578063a457c2d7146104fe578063a59779641461051e57600080fd5b806339509351116101bc5780634fd2582c116101805780634fd2582c146103fb5780635342acb41461041b57806370a082311461044b578063715018a6146104815780638a8c523c1461049657600080fd5b8063395093511461037457806342966c681461039457806347062402146103b65780634819467c146103cc5780634ada218b146103e157600080fd5b806317574ce01161020357806317574ce0146102f757806318160ddd1461030d57806323b872dd146103225780632b14ca5614610342578063313ce5671461035857600080fd5b806306fdde0314610240578063095ea7b31461026b57806311ad67be1461029b5780631694505e146102bf57600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b50610255610702565b6040516102629190611b31565b60405180910390f35b34801561027757600080fd5b5061028b610286366004611b9b565b610794565b6040519015158152602001610262565b3480156102a757600080fd5b506102b160195481565b604051908152602001610262565b3480156102cb57600080fd5b506007546102df906001600160a01b031681565b6040516001600160a01b039091168152602001610262565b34801561030357600080fd5b506102b160175481565b34801561031957600080fd5b506003546102b1565b34801561032e57600080fd5b5061028b61033d366004611bc7565b6107ae565b34801561034e57600080fd5b506102b1600d5481565b34801561036457600080fd5b5060405160128152602001610262565b34801561038057600080fd5b5061028b61038f366004611b9b565b6107d2565b3480156103a057600080fd5b506103b46103af366004611c08565b6107f4565b005b3480156103c257600080fd5b506102b1600c5481565b3480156103d857600080fd5b506102b1610801565b3480156103ed57600080fd5b50601b5461028b9060ff1681565b34801561040757600080fd5b506102df610416366004611c08565b610812565b34801561042757600080fd5b5061028b610436366004611c21565b60166020526000908152604090205460ff1681565b34801561045757600080fd5b506102b1610466366004611c21565b6001600160a01b031660009081526001602052604090205490565b34801561048d57600080fd5b506103b4610832565b3480156104a257600080fd5b506103b4610846565b3480156104b757600080fd5b506000546001600160a01b03166102df565b3480156104d557600080fd5b506102556108c5565b3480156104ea57600080fd5b506103b46104f9366004611c08565b6108d4565b34801561050a57600080fd5b5061028b610519366004611b9b565b610931565b34801561052a57600080fd5b506102b160185481565b34801561054057600080fd5b5061028b61054f366004611c21565b6109ac565b34801561056057600080fd5b5061028b61056f366004611b9b565b610a1f565b34801561058057600080fd5b506103b461058f366004611c4e565b610a2d565b3480156105a057600080fd5b506102b1601a5481565b3480156105b657600080fd5b506102df6105c5366004611c08565b610b17565b3480156105d657600080fd5b5061028b6105e5366004611c21565b610b89565b3480156105f657600080fd5b506008546102df906001600160a01b031681565b34801561061657600080fd5b506103b4610625366004611c83565b610bf4565b34801561063657600080fd5b50600b546102df906001600160a01b031681565b34801561065657600080fd5b506102b1610665366004611c9e565b610c16565b34801561067657600080fd5b506103b4610c41565b34801561068b57600080fd5b5061028b61069a366004611c21565b610d50565b3480156106ab57600080fd5b506102b160065481565b3480156106c157600080fd5b506102b16106d0366004611c21565b60156020526000908152604090205481565b3480156106ee57600080fd5b506103b46106fd366004611c21565b610d5d565b60606004805461071190611cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461073d90611cd7565b801561078a5780601f1061075f5761010080835404028352916020019161078a565b820191906000526020600020905b81548152906001019060200180831161076d57829003601f168201915b5050505050905090565b6000336107a2818585610def565b60019150505b92915050565b6000336107bc858285610f14565b6107c7858585610f8e565b506001949350505050565b6000336107a28185856107e58383610c16565b6107ef9190611d27565b610def565b6107fe3382611479565b50565b600061080d60096115a5565b905090565b6012816003811061082257600080fd5b01546001600160a01b0316905081565b61083a6115af565b6108446000611609565b565b61084e6115af565b601b5460ff16156108a65760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e000000000000000060448201526064015b60405180910390fd5b601b805460ff191660011790556019546108c09042611d27565b601a55565b60606005805461071190611cd7565b6108dc6115af565b8060000361092c5760405162461bcd60e51b815260206004820152601c60248201527f5f6e756d546f6b656e7353656c6c546f416464546f45544820213d3000000000604482015260640161089d565b601855565b6000338161093f8286610c16565b90508381101561099f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161089d565b6107c78286868403610def565b60006109b66115af565b6001600160a01b038216610a0c5760405162461bcd60e51b815260206004820152601f60248201527f544f4b454e3a207061697220697320746865207a65726f206164647265737300604482015260640161089d565b610a17600983611659565b90505b919050565b6000336107a2818585610f8e565b610a356115af565b6001600160a01b038216610a8b5760405162461bcd60e51b815260206004820152601760248201527f3078206973206e6f742061636365707465642068657265000000000000000000604482015260640161089d565b6001600160a01b03821660009081526016602052604090205481151560ff909116151503610aec5760405162461bcd60e51b815260206004820152600e60248201526d14dd185d1d5cc81dd85cc81cd95d60921b604482015260640161089d565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b60006001610b2560096115a5565b610b2f9190611d3f565b821115610b7e5760405162461bcd60e51b815260206004820152601a60248201527f544f4b454e3a20696e646578206f7574206f6620626f756e6473000000000000604482015260640161089d565b610a1760098361166e565b6000610b936115af565b6001600160a01b038216610be95760405162461bcd60e51b815260206004820152601f60248201527f544f4b454e3a207061697220697320746865207a65726f206164647265737300604482015260640161089d565b610a17600983610dd3565b610bfc6115af565b601b80549115156101000261ff0019909216919091179055565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b336000908152601560205260409020548015801590610c72575069043c33c1937564800000610c6f33610466565b10155b610cee5760405162461bcd60e51b815260206004820152604160248201527f526566657272616c20616d6f756e74206d75737420677265617465722074686160448201527f6e203020616e6420686f6c64206d696e69756d2032305f30303020746f6b656e6064820152601760f91b608482015260a40161089d565b33600081815260156020526040812055610d0a9030908361167a565b7f66eb666f5327b1c47411b5678aee7f232f4aefba6597ef9ebbaf7e60b79fc04633604080516001600160a01b039092168252602082018490520160405180910390a150565b6000610a17600983611825565b610d656115af565b6001600160a01b038116610dca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089d565b6107fe81611609565b6000610de8836001600160a01b038416611847565b9392505050565b6001600160a01b038316610e515760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161089d565b6001600160a01b038216610eb25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161089d565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610f208484610c16565b90506000198114610f885781811015610f7b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161089d565b610f888484848403610def565b50505050565b601b5460009060ff1680610fba57506001600160a01b03841660009081526016602052604090205460ff165b80610fdd57506001600160a01b03831660009081526016602052604090205460ff165b6110295760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c6564210000000000000000604482015260640161089d565b60115460ff161561103f57610f8884848461167a565b6001600160a01b03841660009081526016602052604090205460ff1615801561106c575061106c83610d50565b1561107a5750600d546110b1565b6001600160a01b03831660009081526016602052604090205460ff161580156110a757506110a784610d50565b156110b15750600c545b42601a541180156110c3575060175482115b80156110d857506001600160a01b0384163014155b80156110ed57506001600160a01b0383163014155b80156110fd57506110fd84610d50565b1561110757506103525b60008111801561112057506001600160a01b0384163014155b801561113557506001600160a01b0383163014155b156112d15760006111526103e861114c8585611896565b906118a2565b905061115f85308361167a565b600061116a85610d50565b15611176575084611179565b50835b600b54604051636c5c642560e01b81526001600160a01b0383811660048301526000921690636c5c642590602401600060405180830381865afa1580156111c4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111ec9190810190611d77565b91505060005b60038110156112bc5760006012826003811061121057611210611e59565b015483516001600160a01b0390911691508210156112455782828151811061123a5761123a611e59565b602002602001015190505b6000600d54600e846003811061125d5761125d611e59565b01546112699088611e6f565b6112739190611e8e565b6001600160a01b0383166000908152601560205260408120805492935083929091906112a0908490611d27565b92505081905550505080806112b490611eb0565b9150506111f2565b506112c785846118ae565b945050505061146e565b60005b600381101561146c5760185460156000601284600381106112f7576112f7611e59565b01546001600160a01b031681526020810191909152604001600020541180156113275750601b54610100900460ff165b1561145a576000601560006012846003811061134557611345611e59565b01546001600160a01b03168152602081019190915260400160009081205491506015816012856003811061137b5761137b611e59565b01546001600160a01b031681526020810191909152604001600020556113a0816118ba565b6000601283600381106113b5576113b5611e59565b01546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611401576040519150601f19603f3d011682016040523d82523d6000602084013e611406565b606091505b50509050806114575760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c6574604482015260640161089d565b50505b8061146481611eb0565b9150506112d4565b505b610f8884848461167a565b6001600160a01b0382166114d95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161089d565b6001600160a01b0382166000908152600160205260409020548181101561154d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161089d565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610f07565b6000610a17825490565b6000546001600160a01b031633146108445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161089d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610de8836001600160a01b038416611a14565b6000610de88383611b07565b6001600160a01b0383166116de5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161089d565b6001600160a01b0382166117405760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161089d565b6001600160a01b038316600090815260016020526040902054818110156117b85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161089d565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906118189086815260200190565b60405180910390a3610f88565b6001600160a01b03811660009081526001830160205260408120541515610de8565b600081815260018301602052604081205461188e575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556107a8565b5060006107a8565b6000610de88284611e6f565b6000610de88284611e8e565b6000610de88284611d3f565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106118ef576118ef611e59565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196c9190611ec9565b8160018151811061197f5761197f611e59565b6001600160a01b0392831660209182029290920101526007546119a59130911684610def565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac947906119de908590600090869030904290600401611ee6565b600060405180830381600087803b1580156119f857600080fd5b505af1158015611a0c573d6000803e3d6000fd5b505050505050565b60008181526001830160205260408120548015611afd576000611a38600183611d3f565b8554909150600090611a4c90600190611d3f565b9050818114611ab1576000866000018281548110611a6c57611a6c611e59565b9060005260206000200154905080876000018481548110611a8f57611a8f611e59565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611ac257611ac2611f57565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506107a8565b60009150506107a8565b6000826000018281548110611b1e57611b1e611e59565b9060005260206000200154905092915050565b600060208083528351808285015260005b81811015611b5e57858101830151858201604001528201611b42565b81811115611b70576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146107fe57600080fd5b60008060408385031215611bae57600080fd5b8235611bb981611b86565b946020939093013593505050565b600080600060608486031215611bdc57600080fd5b8335611be781611b86565b92506020840135611bf781611b86565b929592945050506040919091013590565b600060208284031215611c1a57600080fd5b5035919050565b600060208284031215611c3357600080fd5b8135610de881611b86565b80358015158114610a1a57600080fd5b60008060408385031215611c6157600080fd5b8235611c6c81611b86565b9150611c7a60208401611c3e565b90509250929050565b600060208284031215611c9557600080fd5b610de882611c3e565b60008060408385031215611cb157600080fd5b8235611cbc81611b86565b91506020830135611ccc81611b86565b809150509250929050565b600181811c90821680611ceb57607f821691505b602082108103611d0b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611d3a57611d3a611d11565b500190565b600082821015611d5157611d51611d11565b500390565b634e487b7160e01b600052604160045260246000fd5b8051610a1a81611b86565b60008060408385031215611d8a57600080fd5b825160ff81168114611d9b57600080fd5b8092505060208084015167ffffffffffffffff80821115611dbb57600080fd5b818601915086601f830112611dcf57600080fd5b815181811115611de157611de1611d56565b8060051b604051601f19603f83011681018181108582111715611e0657611e06611d56565b604052918252848201925083810185019189831115611e2457600080fd5b938501935b82851015611e4957611e3a85611d6c565b84529385019392850192611e29565b8096505050505050509250929050565b634e487b7160e01b600052603260045260246000fd5b6000816000190483118215151615611e8957611e89611d11565b500290565b600082611eab57634e487b7160e01b600052601260045260246000fd5b500490565b600060018201611ec257611ec2611d11565b5060010190565b600060208284031215611edb57600080fd5b8151610de881611b86565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f365784516001600160a01b031683529383019391830191600101611f11565b50506001600160a01b03969096166060850152505050608001529392505050565b634e487b7160e01b600052603160045260246000fdfea264697066735822122053f7a354d77872b662b935c61d89169aad43703c4ccc8b0d189e3139e2f997b864736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000001b0c22233de8d24fca58ac27f228ad7bdef47f47
-----Decoded View---------------
Arg [0] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _dNode (address): 0x1B0C22233dE8d24FcA58ac27F228AD7bdEF47F47
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 0000000000000000000000001b0c22233de8d24fca58ac27f228ad7bdef47f47
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.