ERC-20
DeFi
Overview
Max Total Supply
10,000,000 RUDES
Holders
355 (0.00%)
Market
Price
$0.01 @ 0.000004 ETH
Onchain Market Cap
$100,201.20
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
69.316991429494416382 RUDESValue
$0.69 ( ~0.000242401929927783 Eth) [0.0007%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RUNodE
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)
// X (Twitter): https://x.com/RUNodE_ai // Telegram: https://t.me/RUNodE_ai // Discord: https://discord.gg/W2Q5jdCE // Medium: https://runodeai.medium.com/ // Weibo : https://weibo.com/u/7909380923 // Website: https://runode.ai/ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IUniswapV2Router02.sol"; import "./IUniswapV2Factory.sol"; import "./IUniswapV2Pair.sol"; contract RUNodE is Ownable, ERC20 { using SafeMath for uint256; uint256 public MAX_SUPPLY = 10000000 * 10 ** 18; IUniswapV2Router02 public uniswapV2Router; address public pair; address public taxAddress; address public RUDEStake; struct Taxes { uint256 rewardStake; uint256 tax; } Taxes public buyTaxes = Taxes(15, 35); Taxes public sellTaxes = Taxes(15, 35); uint256 public totalBuyFee = 50;//per10 uint256 public totalSellFee = 50;//per10 bool inSwap = false; mapping(address => bool) public isExcludedFromFee; mapping(address => bool) private _isExcludedFromMaxWallet; uint256 public swapAtAmount = 7500 * 10 ** 18; uint256 public maxWallet = MAX_SUPPLY; uint256 public maxWalletTime; uint256 public tradingTime; uint256 private _maxBuy; bool public tradingEnabled; bool private swapAndLiquifyEnabled = true; constructor() ERC20("RUNodE", "RUDES") { _mint(_msgSender(), MAX_SUPPLY); tradingEnabled = false; taxAddress = address(0x525a1C0710a2fd9f844F8B1EDB5Fe3B7BD8aF55b); RUDEStake = address(0xEF6DAaB6ac75e3AbC70969663858af90934D9341); IUniswapV2Router02 _router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address _pair = IUniswapV2Factory(_router.factory()).createPair( address(this), _router.WETH() ); uniswapV2Router = _router; pair = _pair; isExcludedFromFee[_msgSender()] = true; isExcludedFromFee[taxAddress] = true; isExcludedFromFee[RUDEStake] = true; isExcludedFromFee[address(this)] = true; excludeFromMaxWallet(address(pair), true); excludeFromMaxWallet(address(this), true); excludeFromMaxWallet(address(uniswapV2Router), true); } function burn(uint256 amount) public { _burn(_msgSender(), amount); } function enableTrading() external onlyOwner { require(!tradingEnabled, "Trading already enabled."); tradingEnabled = true; maxWallet = 120000 ether; maxWalletTime = block.timestamp + 2 minutes; tradingTime = block.timestamp; _maxBuy = 30000 ether; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual override { uint256 taxFee; if ( !isExcludedFromFee[sender] && !isExcludedFromFee[recipient] && !inSwap ) { require(tradingEnabled, "Trading not yet enabled!"); if (!_isExcludedFromMaxWallet[recipient] && block.timestamp <= maxWalletTime) { require( amount + balanceOf(recipient) <= maxWallet, "Unable to exceed Max Wallet" ); } if(pair == sender && block.timestamp <= tradingTime + 30 seconds) { require(amount <= _maxBuy, "Unable to exceed Max Buy"); } } if (inSwap) { super._transfer(sender, recipient, amount); return; } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapAtAmount && !(sender ==pair); if ( canSwap && !inSwap && swapAndLiquifyEnabled ) { inSwap = true; swapTokensForETH(swapAtAmount); inSwap = false; } if (!isExcludedFromFee[sender] && pair == recipient) { taxFee = totalSellFee; } else if (!isExcludedFromFee[recipient] && pair ==sender) { taxFee = totalBuyFee; } if (taxFee > 0 && sender != address(this) && recipient != address(this)) { uint256 _fee = amount.mul(taxFee).div(1000); super._transfer(sender, address(this), _fee); amount = amount.sub(_fee); } 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.swapExactTokensForETH(tokenAmount, 0, path, address(this), block.timestamp); uint currentETH = address(this).balance; uint taxValue = currentETH.mul(sellTaxes.tax).div(totalSellFee); uint stakingValue = currentETH.sub(taxValue); payable(taxAddress).call{value: taxValue}(""); payable(RUDEStake).call{value: stakingValue}(""); } 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 changeSwapAtAmount(uint256 _swapAtAmount) external onlyOwner { require(_swapAtAmount != 0, "_swapAtAmount !=0"); swapAtAmount = _swapAtAmount; } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; } function excludeFromFees(address account, bool excluded) public onlyOwner { require( isExcludedFromFee[account] != excluded, "Account is already the value of 'excluded'" ); isExcludedFromFee[account] = excluded; } function excludeFromMaxWallet(address account, bool excluded) public onlyOwner { _isExcludedFromMaxWallet[account] = excluded; } // 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 (last updated v4.9.4) (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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// 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: 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":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RUDEStake","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyTaxes","outputs":[{"internalType":"uint256","name":"rewardStake","type":"uint256"},{"internalType":"uint256","name":"tax","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapAtAmount","type":"uint256"}],"name":"changeSwapAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTaxes","outputs":[{"internalType":"uint256","name":"rewardStake","type":"uint256"},{"internalType":"uint256","name":"tax","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":"swapAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"tradingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6a084595161401484a0000006006819055600f6080819052602360a0819052600b829055600c819055610100604081905260c083905260e0829052600d839055600e919091556032918290556010919091556011805460ff191690556901969368974c05b000006014556015919091556019805461ff00191690911790553480156200008a57600080fd5b506040518060400160405280600681526020016552554e6f644560d01b81525060405180604001604052806005815260200164525544455360d81b815250620000e2620000dc620003c060201b60201c565b620003c4565b6004620000f0838262000619565b506005620000ff828262000619565b5050506200011f62000116620003c060201b60201c565b60065462000414565b6019805460ff19169055600980546001600160a01b031990811673525a1c0710a2fd9f844f8b1edb5fe3b7bd8af55b17909155600a805490911673ef6daab6ac75e3abc70969663858af90934d93411790556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d91600091839163c45a01559160048083019260209291908290030181865afa158015620001c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ed9190620006e5565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002619190620006e5565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d59190620006e5565b600780546001600160a01b038086166001600160a01b03199283161790925560088054928416929091169190911790559050600160126000620003153390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055600954821681526012909352818320805485166001908117909155600a5482168452828420805486168217905530845291909220805490931681179092556008546200039292911690620004dd565b6200039f306001620004dd565b600754620003b8906001600160a01b03166001620004dd565b50506200073e565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620004705760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b806003600082825462000484919062000717565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b620004e762000517565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b505050565b6000546001600160a01b03163314620005735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000467565b565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005a057607f821691505b602082108103620005c157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200051257600081815260208120601f850160051c81016020861015620005f05750805b601f850160051c820191505b818110156200061157828155600101620005fc565b505050505050565b81516001600160401b0381111562000635576200063562000575565b6200064d816200064684546200058b565b84620005c7565b602080601f8311600181146200068557600084156200066c5750858301515b600019600386901b1c1916600185901b17855562000611565b600085815260208120601f198616915b82811015620006b65788860151825594840194600190910190840162000695565b5085821015620006d55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620006f857600080fd5b81516001600160a01b03811681146200071057600080fd5b9392505050565b600082198211156200073957634e487b7160e01b600052601160045260246000fd5b500190565b611a9d806200074e6000396000f3fe6080604052600436106102125760003560e01c80638a8c523c11610118578063b8158d60116100a0578063d2fcc0011161006f578063d2fcc001146105fb578063dd62ed3e1461061b578063f2fde38b1461063b578063f66895a31461065b578063f8b45b051461067657600080fd5b8063b8158d601461058f578063bc17b30c146105a5578063c0246668146105bb578063c49b9a80146105db57600080fd5b8063a457c2d7116100e7578063a457c2d7146104ef578063a8aa1b311461050f578063a9059cbb1461052f578063af9549e01461054f578063b7bda68f1461056f57600080fd5b80638a8c523c146104915780638da5cb5b146104a657806395d89b41146104c45780639d9241ec146104d957600080fd5b806342966c681161019b578063684521a61161016a578063684521a6146103e057806370a0823114610400578063715018a614610436578063864701a51461044b578063869175241461047b57600080fd5b806342966c681461035e5780634ada218b146103805780635342acb41461039a57806359b107b9146103ca57600080fd5b806318160ddd116101e257806318160ddd146102cd57806323b872dd146102ec578063313ce5671461030c57806332cb6b0c14610328578063395093511461033e57600080fd5b80621638261461021e57806306fdde031461025b578063095ea7b31461027d5780631694505e146102ad57600080fd5b3661021957005b600080fd5b34801561022a57600080fd5b50600a5461023e906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561026757600080fd5b5061027061068c565b6040516102529190611684565b34801561028957600080fd5b5061029d6102983660046116ee565b61071e565b6040519015158152602001610252565b3480156102b957600080fd5b5060075461023e906001600160a01b031681565b3480156102d957600080fd5b506003545b604051908152602001610252565b3480156102f857600080fd5b5061029d61030736600461171a565b610736565b34801561031857600080fd5b5060405160128152602001610252565b34801561033457600080fd5b506102de60065481565b34801561034a57600080fd5b5061029d6103593660046116ee565b61075a565b34801561036a57600080fd5b5061037e61037936600461175b565b61077c565b005b34801561038c57600080fd5b5060195461029d9060ff1681565b3480156103a657600080fd5b5061029d6103b5366004611774565b60126020526000908152604090205460ff1681565b3480156103d657600080fd5b506102de600f5481565b3480156103ec57600080fd5b5061037e6103fb36600461175b565b610789565b34801561040c57600080fd5b506102de61041b366004611774565b6001600160a01b031660009081526001602052604090205490565b34801561044257600080fd5b5061037e6107df565b34801561045757600080fd5b50600b54600c54610466919082565b60408051928352602083019190915201610252565b34801561048757600080fd5b506102de60145481565b34801561049d57600080fd5b5061037e6107f3565b3480156104b257600080fd5b506000546001600160a01b031661023e565b3480156104d057600080fd5b5061027061088b565b3480156104e557600080fd5b506102de60105481565b3480156104fb57600080fd5b5061029d61050a3660046116ee565b61089a565b34801561051b57600080fd5b5060085461023e906001600160a01b031681565b34801561053b57600080fd5b5061029d61054a3660046116ee565b610915565b34801561055b57600080fd5b5061037e61056a3660046117a6565b610923565b34801561057b57600080fd5b5060095461023e906001600160a01b031681565b34801561059b57600080fd5b506102de60175481565b3480156105b157600080fd5b506102de60165481565b3480156105c757600080fd5b5061037e6105d63660046117a6565b610a0d565b3480156105e757600080fd5b5061037e6105f63660046117db565b610a98565b34801561060757600080fd5b5061037e6106163660046117a6565b610aba565b34801561062757600080fd5b506102de6106363660046117f6565b610aed565b34801561064757600080fd5b5061037e610656366004611774565b610b18565b34801561066757600080fd5b50600d54600e54610466919082565b34801561068257600080fd5b506102de60155481565b60606004805461069b9061182f565b80601f01602080910402602001604051908101604052809291908181526020018280546106c79061182f565b80156107145780601f106106e957610100808354040283529160200191610714565b820191906000526020600020905b8154815290600101906020018083116106f757829003601f168201915b5050505050905090565b60003361072c818585610b8e565b5060019392505050565b600033610744858285610cb3565b61074f858585610d2d565b506001949350505050565b60003361072c81858561076d8383610aed565b610777919061187f565b610b8e565b6107863382611091565b50565b6107916111bd565b806000036107da5760405162461bcd60e51b815260206004820152601160248201527005f737761704174416d6f756e7420213d3607c1b60448201526064015b60405180910390fd5b601455565b6107e76111bd565b6107f16000611217565b565b6107fb6111bd565b60195460ff161561084e5760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e000000000000000060448201526064016107d1565b6019805460ff19166001179055691969368974c05b00000060155561087442607861187f565b6016554260175569065a4da25d3016c00000601855565b60606005805461069b9061182f565b600033816108a88286610aed565b9050838110156109085760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107d1565b61074f8286868403610b8e565b60003361072c818585610d2d565b61092b6111bd565b6001600160a01b0382166109815760405162461bcd60e51b815260206004820152601760248201527f3078206973206e6f74206163636570746564206865726500000000000000000060448201526064016107d1565b6001600160a01b03821660009081526012602052604090205481151560ff9091161515036109e25760405162461bcd60e51b815260206004820152600e60248201526d14dd185d1d5cc81dd85cc81cd95d60921b60448201526064016107d1565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b610a156111bd565b6001600160a01b03821660009081526012602052604090205481151560ff9091161515036109e25760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b60648201526084016107d1565b610aa06111bd565b601980549115156101000261ff0019909216919091179055565b610ac26111bd565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610b206111bd565b6001600160a01b038116610b855760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d1565b61078681611217565b6001600160a01b038316610bf05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107d1565b6001600160a01b038216610c515760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107d1565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610cbf8484610aed565b90506000198114610d275781811015610d1a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107d1565b610d278484848403610b8e565b50505050565b6001600160a01b03831660009081526012602052604081205460ff16158015610d6f57506001600160a01b03831660009081526012602052604090205460ff16155b8015610d7e575060115460ff16155b15610efa5760195460ff16610dd55760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c656421000000000000000060448201526064016107d1565b6001600160a01b03831660009081526013602052604090205460ff16158015610e0057506016544211155b15610e79576015546001600160a01b038416600090815260016020526040902054610e2b908461187f565b1115610e795760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c6574000000000060448201526064016107d1565b6008546001600160a01b038581169116148015610ea35750601754610e9f90601e61187f565b4211155b15610efa57601854821115610efa5760405162461bcd60e51b815260206004820152601860248201527f556e61626c6520746f20657863656564204d617820427579000000000000000060448201526064016107d1565b60115460ff1615610f1057610d27848484611267565b30600090815260016020526040812054905060006014548210158015610f4457506008546001600160a01b03878116911614155b9050808015610f56575060115460ff16155b8015610f695750601954610100900460ff165b15610f92576011805460ff19166001179055601454610f8790611412565b6011805460ff191690555b6001600160a01b03861660009081526012602052604090205460ff16158015610fc857506008546001600160a01b038681169116145b15610fd7576010549250611018565b6001600160a01b03851660009081526012602052604090205460ff1615801561100d57506008546001600160a01b038781169116145b1561101857600f5492505b60008311801561103157506001600160a01b0386163014155b801561104657506001600160a01b0385163014155b1561107e5760006110636103e861105d8787611659565b9061166c565b9050611070873083611267565b61107a8582611678565b9450505b611089868686611267565b505050505050565b6001600160a01b0382166110f15760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107d1565b6001600160a01b038216600090815260016020526040902054818110156111655760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107d1565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610ca6565b6000546001600160a01b031633146107f15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0383166112cb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107d1565b6001600160a01b03821661132d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107d1565b6001600160a01b038316600090815260016020526040902054818110156113a55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107d1565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906114059086815260200190565b60405180910390a3610d27565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611447576114476118ad565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156114a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c491906118c3565b816001815181106114d7576114d76118ad565b6001600160a01b0392831660209182029290920101526007546114fd9130911684610b8e565b6007546040516318cbafe560e01b81526001600160a01b03909116906318cbafe5906115369085906000908690309042906004016118e0565b6000604051808303816000875af1158015611555573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261157d9190810190611951565b50601054600e544791600091611599919061105d908590611659565b905060006115a78383611678565b6009546040519192506001600160a01b0316908390600081818185875af1925050503d80600081146115f5576040519150601f19603f3d011682016040523d82523d6000602084013e6115fa565b606091505b5050600a546040516001600160a01b0390911691508290600081818185875af1925050503d806000811461164a576040519150601f19603f3d011682016040523d82523d6000602084013e61164f565b606091505b5050505050505050565b60006116658284611a0f565b9392505050565b60006116658284611a2e565b60006116658284611a50565b600060208083528351808285015260005b818110156116b157858101830151858201604001528201611695565b818111156116c3576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461078657600080fd5b6000806040838503121561170157600080fd5b823561170c816116d9565b946020939093013593505050565b60008060006060848603121561172f57600080fd5b833561173a816116d9565b9250602084013561174a816116d9565b929592945050506040919091013590565b60006020828403121561176d57600080fd5b5035919050565b60006020828403121561178657600080fd5b8135611665816116d9565b803580151581146117a157600080fd5b919050565b600080604083850312156117b957600080fd5b82356117c4816116d9565b91506117d260208401611791565b90509250929050565b6000602082840312156117ed57600080fd5b61166582611791565b6000806040838503121561180957600080fd5b8235611814816116d9565b91506020830135611824816116d9565b809150509250929050565b600181811c9082168061184357607f821691505b60208210810361186357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561189257611892611869565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156118d557600080fd5b8151611665816116d9565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156119305784516001600160a01b03168352938301939183019160010161190b565b50506001600160a01b03969096166060850152505050608001529392505050565b6000602080838503121561196457600080fd5b825167ffffffffffffffff8082111561197c57600080fd5b818501915085601f83011261199057600080fd5b8151818111156119a2576119a2611897565b8060051b604051601f19603f830116810181811085821117156119c7576119c7611897565b6040529182528482019250838101850191888311156119e557600080fd5b938501935b82851015611a03578451845293850193928501926119ea565b98975050505050505050565b6000816000190483118215151615611a2957611a29611869565b500290565b600082611a4b57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611a6257611a62611869565b50039056fea2646970667358221220107b68c8198568f546735ed0dbb6f67b229d9dd425589b5d6fcb769c52079b7664736f6c634300080f0033
Deployed Bytecode
0x6080604052600436106102125760003560e01c80638a8c523c11610118578063b8158d60116100a0578063d2fcc0011161006f578063d2fcc001146105fb578063dd62ed3e1461061b578063f2fde38b1461063b578063f66895a31461065b578063f8b45b051461067657600080fd5b8063b8158d601461058f578063bc17b30c146105a5578063c0246668146105bb578063c49b9a80146105db57600080fd5b8063a457c2d7116100e7578063a457c2d7146104ef578063a8aa1b311461050f578063a9059cbb1461052f578063af9549e01461054f578063b7bda68f1461056f57600080fd5b80638a8c523c146104915780638da5cb5b146104a657806395d89b41146104c45780639d9241ec146104d957600080fd5b806342966c681161019b578063684521a61161016a578063684521a6146103e057806370a0823114610400578063715018a614610436578063864701a51461044b578063869175241461047b57600080fd5b806342966c681461035e5780634ada218b146103805780635342acb41461039a57806359b107b9146103ca57600080fd5b806318160ddd116101e257806318160ddd146102cd57806323b872dd146102ec578063313ce5671461030c57806332cb6b0c14610328578063395093511461033e57600080fd5b80621638261461021e57806306fdde031461025b578063095ea7b31461027d5780631694505e146102ad57600080fd5b3661021957005b600080fd5b34801561022a57600080fd5b50600a5461023e906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561026757600080fd5b5061027061068c565b6040516102529190611684565b34801561028957600080fd5b5061029d6102983660046116ee565b61071e565b6040519015158152602001610252565b3480156102b957600080fd5b5060075461023e906001600160a01b031681565b3480156102d957600080fd5b506003545b604051908152602001610252565b3480156102f857600080fd5b5061029d61030736600461171a565b610736565b34801561031857600080fd5b5060405160128152602001610252565b34801561033457600080fd5b506102de60065481565b34801561034a57600080fd5b5061029d6103593660046116ee565b61075a565b34801561036a57600080fd5b5061037e61037936600461175b565b61077c565b005b34801561038c57600080fd5b5060195461029d9060ff1681565b3480156103a657600080fd5b5061029d6103b5366004611774565b60126020526000908152604090205460ff1681565b3480156103d657600080fd5b506102de600f5481565b3480156103ec57600080fd5b5061037e6103fb36600461175b565b610789565b34801561040c57600080fd5b506102de61041b366004611774565b6001600160a01b031660009081526001602052604090205490565b34801561044257600080fd5b5061037e6107df565b34801561045757600080fd5b50600b54600c54610466919082565b60408051928352602083019190915201610252565b34801561048757600080fd5b506102de60145481565b34801561049d57600080fd5b5061037e6107f3565b3480156104b257600080fd5b506000546001600160a01b031661023e565b3480156104d057600080fd5b5061027061088b565b3480156104e557600080fd5b506102de60105481565b3480156104fb57600080fd5b5061029d61050a3660046116ee565b61089a565b34801561051b57600080fd5b5060085461023e906001600160a01b031681565b34801561053b57600080fd5b5061029d61054a3660046116ee565b610915565b34801561055b57600080fd5b5061037e61056a3660046117a6565b610923565b34801561057b57600080fd5b5060095461023e906001600160a01b031681565b34801561059b57600080fd5b506102de60175481565b3480156105b157600080fd5b506102de60165481565b3480156105c757600080fd5b5061037e6105d63660046117a6565b610a0d565b3480156105e757600080fd5b5061037e6105f63660046117db565b610a98565b34801561060757600080fd5b5061037e6106163660046117a6565b610aba565b34801561062757600080fd5b506102de6106363660046117f6565b610aed565b34801561064757600080fd5b5061037e610656366004611774565b610b18565b34801561066757600080fd5b50600d54600e54610466919082565b34801561068257600080fd5b506102de60155481565b60606004805461069b9061182f565b80601f01602080910402602001604051908101604052809291908181526020018280546106c79061182f565b80156107145780601f106106e957610100808354040283529160200191610714565b820191906000526020600020905b8154815290600101906020018083116106f757829003601f168201915b5050505050905090565b60003361072c818585610b8e565b5060019392505050565b600033610744858285610cb3565b61074f858585610d2d565b506001949350505050565b60003361072c81858561076d8383610aed565b610777919061187f565b610b8e565b6107863382611091565b50565b6107916111bd565b806000036107da5760405162461bcd60e51b815260206004820152601160248201527005f737761704174416d6f756e7420213d3607c1b60448201526064015b60405180910390fd5b601455565b6107e76111bd565b6107f16000611217565b565b6107fb6111bd565b60195460ff161561084e5760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e000000000000000060448201526064016107d1565b6019805460ff19166001179055691969368974c05b00000060155561087442607861187f565b6016554260175569065a4da25d3016c00000601855565b60606005805461069b9061182f565b600033816108a88286610aed565b9050838110156109085760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107d1565b61074f8286868403610b8e565b60003361072c818585610d2d565b61092b6111bd565b6001600160a01b0382166109815760405162461bcd60e51b815260206004820152601760248201527f3078206973206e6f74206163636570746564206865726500000000000000000060448201526064016107d1565b6001600160a01b03821660009081526012602052604090205481151560ff9091161515036109e25760405162461bcd60e51b815260206004820152600e60248201526d14dd185d1d5cc81dd85cc81cd95d60921b60448201526064016107d1565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b610a156111bd565b6001600160a01b03821660009081526012602052604090205481151560ff9091161515036109e25760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b60648201526084016107d1565b610aa06111bd565b601980549115156101000261ff0019909216919091179055565b610ac26111bd565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610b206111bd565b6001600160a01b038116610b855760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d1565b61078681611217565b6001600160a01b038316610bf05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107d1565b6001600160a01b038216610c515760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107d1565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610cbf8484610aed565b90506000198114610d275781811015610d1a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107d1565b610d278484848403610b8e565b50505050565b6001600160a01b03831660009081526012602052604081205460ff16158015610d6f57506001600160a01b03831660009081526012602052604090205460ff16155b8015610d7e575060115460ff16155b15610efa5760195460ff16610dd55760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c656421000000000000000060448201526064016107d1565b6001600160a01b03831660009081526013602052604090205460ff16158015610e0057506016544211155b15610e79576015546001600160a01b038416600090815260016020526040902054610e2b908461187f565b1115610e795760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c6574000000000060448201526064016107d1565b6008546001600160a01b038581169116148015610ea35750601754610e9f90601e61187f565b4211155b15610efa57601854821115610efa5760405162461bcd60e51b815260206004820152601860248201527f556e61626c6520746f20657863656564204d617820427579000000000000000060448201526064016107d1565b60115460ff1615610f1057610d27848484611267565b30600090815260016020526040812054905060006014548210158015610f4457506008546001600160a01b03878116911614155b9050808015610f56575060115460ff16155b8015610f695750601954610100900460ff165b15610f92576011805460ff19166001179055601454610f8790611412565b6011805460ff191690555b6001600160a01b03861660009081526012602052604090205460ff16158015610fc857506008546001600160a01b038681169116145b15610fd7576010549250611018565b6001600160a01b03851660009081526012602052604090205460ff1615801561100d57506008546001600160a01b038781169116145b1561101857600f5492505b60008311801561103157506001600160a01b0386163014155b801561104657506001600160a01b0385163014155b1561107e5760006110636103e861105d8787611659565b9061166c565b9050611070873083611267565b61107a8582611678565b9450505b611089868686611267565b505050505050565b6001600160a01b0382166110f15760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107d1565b6001600160a01b038216600090815260016020526040902054818110156111655760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107d1565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610ca6565b6000546001600160a01b031633146107f15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0383166112cb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107d1565b6001600160a01b03821661132d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107d1565b6001600160a01b038316600090815260016020526040902054818110156113a55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107d1565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906114059086815260200190565b60405180910390a3610d27565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611447576114476118ad565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156114a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c491906118c3565b816001815181106114d7576114d76118ad565b6001600160a01b0392831660209182029290920101526007546114fd9130911684610b8e565b6007546040516318cbafe560e01b81526001600160a01b03909116906318cbafe5906115369085906000908690309042906004016118e0565b6000604051808303816000875af1158015611555573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261157d9190810190611951565b50601054600e544791600091611599919061105d908590611659565b905060006115a78383611678565b6009546040519192506001600160a01b0316908390600081818185875af1925050503d80600081146115f5576040519150601f19603f3d011682016040523d82523d6000602084013e6115fa565b606091505b5050600a546040516001600160a01b0390911691508290600081818185875af1925050503d806000811461164a576040519150601f19603f3d011682016040523d82523d6000602084013e61164f565b606091505b5050505050505050565b60006116658284611a0f565b9392505050565b60006116658284611a2e565b60006116658284611a50565b600060208083528351808285015260005b818110156116b157858101830151858201604001528201611695565b818111156116c3576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461078657600080fd5b6000806040838503121561170157600080fd5b823561170c816116d9565b946020939093013593505050565b60008060006060848603121561172f57600080fd5b833561173a816116d9565b9250602084013561174a816116d9565b929592945050506040919091013590565b60006020828403121561176d57600080fd5b5035919050565b60006020828403121561178657600080fd5b8135611665816116d9565b803580151581146117a157600080fd5b919050565b600080604083850312156117b957600080fd5b82356117c4816116d9565b91506117d260208401611791565b90509250929050565b6000602082840312156117ed57600080fd5b61166582611791565b6000806040838503121561180957600080fd5b8235611814816116d9565b91506020830135611824816116d9565b809150509250929050565b600181811c9082168061184357607f821691505b60208210810361186357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561189257611892611869565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156118d557600080fd5b8151611665816116d9565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156119305784516001600160a01b03168352938301939183019160010161190b565b50506001600160a01b03969096166060850152505050608001529392505050565b6000602080838503121561196457600080fd5b825167ffffffffffffffff8082111561197c57600080fd5b818501915085601f83011261199057600080fd5b8151818111156119a2576119a2611897565b8060051b604051601f19603f830116810181811085821117156119c7576119c7611897565b6040529182528482019250838101850191888311156119e557600080fd5b938501935b82851015611a03578451845293850193928501926119ea565b98975050505050505050565b6000816000190483118215151615611a2957611a29611869565b500290565b600082611a4b57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611a6257611a62611869565b50039056fea2646970667358221220107b68c8198568f546735ed0dbb6f67b229d9dd425589b5d6fcb769c52079b7664736f6c634300080f0033
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.