ERC-20
Overview
Max Total Supply
100,000,000 FLASH
Holders
191
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
426,353.798534209251789793 FLASHValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Flashtools
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.19; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./SafeMathUint.sol"; import "./SafeMathInt.sol"; import "./IUniswapV2Router.sol"; library SafeERC20 { function safeTransfer(address token, address to, uint256 value) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: INTERNAL TRANSFER_FAILED'); } } contract Flashtools is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); mapping (address => bool) internal authorizations; bool private swapping; address public marketingWallet; address public devWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; bool public sellForFees = true; uint256 public buyTotalFees; uint256 public marketingFee = 3; // this is in % uint256 public devFee = 2; uint256 public sellTotalFees; mapping (address => bool) private _isExcludedFromFees; mapping (address => bool) public automatedMarketMakerPairs; event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event marketingWalletUpdated(address indexed newWallet, address indexed oldWallet); event devWalletUpdated(address indexed newWallet, address indexed oldWallet); constructor() ERC20("Flashtools", "FLASH") { authorizations[_msgSender()] = true; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 totalSupply = 1 * 1e8 * 1e18; maxTransactionAmount = totalSupply * 5 / 1000; // 0.5% maxTransactionAmountTxn swapTokensAtAmount = totalSupply * 5 / 1000; // 0.5% swap wallet buyTotalFees = marketingFee + devFee; sellTotalFees = buyTotalFees; marketingWallet = 0x87b3D84923B7AE809eE91D6064e9BAD69143bD45; devWallet = 0x8C354aB778A26797FfA7c975A3E5575D13126E90; excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(deadAddress, true); excludeFromFees(marketingWallet, true); excludeFromFees(devWallet, true); _mint(msg.sender, totalSupply); } receive() external payable { } /** * Function modifier to require caller to be authorized. */ modifier authorized() { require(isAuthorized(msg.sender), "!AUTHORIZED"); _; } /** * Authorize address. Owner only */ function authorize(address adr) external onlyOwner { authorizations[adr] = true; } /** * Remove address' authorization. Owner only. */ function unauthorize(address adr) external onlyOwner { authorizations[adr] = false; } /** * Return address' authorization status. */ function isAuthorized(address adr) public view returns (bool) { return authorizations[adr]; } function updateSwapTokensAtAmount(uint256 newAmount) external authorized returns (bool){ require(newAmount >= totalSupply() * 1 / 100000, "Swap amount cannot be lower than 0.001% of the total supply."); require(newAmount <= totalSupply() * 5 / 1000, "Swap amount cannot be higher than 0.5% of the total supply."); swapTokensAtAmount = newAmount; return true; } function updateMaxTxnAmount(uint256 newNum) external authorized { require(newNum >= (totalSupply() * 1 / 1000)/1e18, "Cannot set maxTransactionAmount lower than 0.1%"); maxTransactionAmount = newNum * (10**18); } function updateSellForFees(bool enabled) external authorized(){ sellForFees = enabled; } function updateFees(uint256 _marketingFee, uint256 _devFee) external authorized { marketingFee = _marketingFee; devFee = _devFee; buyTotalFees = marketingFee + devFee; sellTotalFees = buyTotalFees; require(buyTotalFees <= 10, "Must keep fees at 10% or less."); require(sellTotalFees <= 10, "Must keep fees at 10% or less."); } function excludeFromFees(address account, bool excluded) public authorized { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) public authorized { require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs."); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateMarketingWallet(address newMarketingWallet) external onlyOwner { require(newMarketingWallet != address(0), "ERC20: Marketing address can not be zero address."); emit marketingWalletUpdated(newMarketingWallet, marketingWallet); marketingWallet = newMarketingWallet; excludeFromFees(marketingWallet, true); } function updateDevWallet(address newWallet) external onlyOwner { require(newWallet != address(0), "ERC20: Dev address can not be zero address."); emit devWalletUpdated(newWallet, devWallet); devWallet = newWallet; excludeFromFees(devWallet, true); } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address."); require(to != address(0), "ERC20: transfer to the zero address."); require(amount > 0,'Transfer amount must be greater than zero.'); uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if (contractTokenBalance >= maxTransactionAmount) { contractTokenBalance = maxTransactionAmount; } if( canSwap && sellForFees && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapAndSendToFees(contractTokenBalance); swapping = false; } bool takeFee = !swapping; if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if(takeFee){ // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0){ fees = amount.mul(sellTotalFees).div(100); } // on buy else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); } if(fees > 0){ super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, 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, // accept any amount of ETH path, address(this), block.timestamp ); } function swapAndSendToFees(uint256 tokens) private { bool success; uint256 initialBalance = address(this).balance; swapTokensForEth(tokens); uint256 newBalance = address(this).balance.sub(initialBalance); uint256 ethForMarketing = newBalance.mul(marketingFee).div(marketingFee + devFee); uint256 ethForDev = newBalance.mul(devFee).div(marketingFee + devFee); (success,) = address(devWallet).call{value: ethForDev}(""); (success,) = address(marketingWallet).call{value: ethForMarketing}(""); } function withdrawStuckToken(address token, address to) external onlyOwner { uint256 _contractBalance = IERC20(token).balanceOf(address(this)); if(!(_contractBalance > 0)){ return; } SafeERC20.safeTransfer(token, to, _contractBalance); } function sweep(address to) external onlyOwner { bool success; (success,) = address(to).call{value: address(this).balance}(""); } }
// 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.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// 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; } } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; 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); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; /** * @title SafeMathInt * @dev Math operations for int256 with overflow safety checks. */ library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; /** * @title SafeMathUint * @dev Math operations with safety checks that revert on error */ library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"devWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"authorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","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":[],"name":"devFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"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":"adr","type":"address"}],"name":"isAuthorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellForFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"sweep","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":[{"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":[{"internalType":"address","name":"adr","type":"address"}],"name":"unauthorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSellForFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600b805460ff191660011790556003600d556002600e553480156200002857600080fd5b506040518060400160405280600a815260200169466c617368746f6f6c7360b01b8152506040518060400160405280600581526020016408c9882a6960db1b81525081600390816200007b919062000642565b5060046200008a828262000642565b505050620000a7620000a16200037a60201b60201c565b6200037e565b33600090815260066020908152604091829020805460ff19166001179055737a250d5630b4cf539739df2c5dacb4c659f2488d6080819052825163c45a015560e01b815292519092839263c45a0155926004808401938290030181865afa15801562000117573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013d91906200070e565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200018b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b191906200070e565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200022591906200070e565b6001600160a01b031660a081905262000240906001620003d0565b6a52b7d2dcc80cd2e40000006103e86200025c82600562000756565b62000268919062000776565b6009556103e86200027b82600562000756565b62000287919062000776565b600a55600e54600d546200029c919062000799565b600c819055600f55600780547487b3d84923b7ae809ee91d6064e9bad69143bd4500610100600160a81b0319909116179055600880546001600160a01b031916738c354ab778a26797ffa7c975a3e5575d13126e90179055620003136200030b6005546001600160a01b031690565b600162000424565b6200032030600162000424565b6200032f61dead600162000424565b6007546200034d9061010090046001600160a01b0316600162000424565b60085462000366906001600160a01b0316600162000424565b620003723382620004d6565b5050620007af565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b3360009081526006602052604090205460ff16620004775760405162461bcd60e51b815260206004820152600b60248201526a085055551213d49256915160aa1b60448201526064015b60405180910390fd5b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200052e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200046e565b806002600082825462000542919062000799565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005c957607f821691505b602082108103620005ea57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200059957600081815260208120601f850160051c81016020861015620006195750805b601f850160051c820191505b818110156200063a5782815560010162000625565b505050505050565b81516001600160401b038111156200065e576200065e6200059e565b62000676816200066f8454620005b4565b84620005f0565b602080601f831160018114620006ae5760008415620006955750858301515b600019600386901b1c1916600185901b1785556200063a565b600085815260208120601f198616915b82811015620006df57888601518255948401946001909101908401620006be565b5085821015620006fe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200072157600080fd5b81516001600160a01b03811681146200073957600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000770576200077062000740565b92915050565b6000826200079457634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000770576200077062000740565b60805160a051612479620007f16000396000818161049c0152610dcc01526000818161036501528181611f4d01528181612006015261205b01526124796000f3fe6080604052600436106102ca5760003560e01c806375f0a87411610179578063b6a5d7de116100d6578063d85ba0631161008a578063f0b37c0411610064578063f0b37c04146107f4578063f2fde38b14610814578063fe9fbb801461083457600080fd5b8063d85ba06314610782578063dd62ed3e14610798578063e2f45605146107de57600080fd5b8063c0246668116100bb578063c02466681461072c578063c8c8ebe41461074c578063d257b34f1461076257600080fd5b8063b6a5d7de146106ec578063bc205ad31461070c57600080fd5b80639a7a23d61161012d578063a9059cbb11610112578063a9059cbb1461067c578063aacebbe31461069c578063b62496f5146106bc57600080fd5b80639a7a23d61461063c578063a457c2d71461065c57600080fd5b80638da5cb5b1161015e5780638da5cb5b146105e95780638ea5220f1461060757806395d89b411461062757600080fd5b806375f0a874146105a45780638165e5f1146105c957600080fd5b806332774e7c116102275780636a486a8e116101db5780636db79437116101c05780636db794371461053957806370a0823114610559578063715018a61461058f57600080fd5b80636a486a8e1461050d5780636b67c4df1461052357600080fd5b806349bd5a5e1161020c57806349bd5a5e1461048a5780634fbee193146104be5780636827e764146104f757600080fd5b806332774e7c14610450578063395093511461046a57600080fd5b80631816467f1161027e57806323b872dd1161026357806323b872dd146103fe57806327c8f8351461041e578063313ce5671461043457600080fd5b80631816467f146103be578063203e727e146103de57600080fd5b8063095ea7b3116102af578063095ea7b3146103235780631694505e1461035357806318160ddd1461039f57600080fd5b806301681a62146102d657806306fdde03146102f857600080fd5b366102d157005b600080fd5b3480156102e257600080fd5b506102f66102f13660046120f0565b61086d565b005b34801561030457600080fd5b5061030d6108ce565b60405161031a9190612131565b60405180910390f35b34801561032f57600080fd5b5061034361033e366004612164565b610960565b604051901515815260200161031a565b34801561035f57600080fd5b506103877f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161031a565b3480156103ab57600080fd5b506002545b60405190815260200161031a565b3480156103ca57600080fd5b506102f66103d93660046120f0565b61097a565b3480156103ea57600080fd5b506102f66103f9366004612190565b610a77565b34801561040a57600080fd5b506103436104193660046121a9565b610b85565b34801561042a57600080fd5b5061038761dead81565b34801561044057600080fd5b506040516012815260200161031a565b34801561045c57600080fd5b50600b546103439060ff1681565b34801561047657600080fd5b50610343610485366004612164565b610ba9565b34801561049657600080fd5b506103877f000000000000000000000000000000000000000000000000000000000000000081565b3480156104ca57600080fd5b506103436104d93660046120f0565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561050357600080fd5b506103b0600e5481565b34801561051957600080fd5b506103b0600f5481565b34801561052f57600080fd5b506103b0600d5481565b34801561054557600080fd5b506102f66105543660046121ea565b610be8565b34801561056557600080fd5b506103b06105743660046120f0565b6001600160a01b031660009081526020819052604090205490565b34801561059b57600080fd5b506102f6610cfa565b3480156105b057600080fd5b506007546103879061010090046001600160a01b031681565b3480156105d557600080fd5b506102f66105e436600461221a565b610d0e565b3480156105f557600080fd5b506005546001600160a01b0316610387565b34801561061357600080fd5b50600854610387906001600160a01b031681565b34801561063357600080fd5b5061030d610d6e565b34801561064857600080fd5b506102f6610657366004612237565b610d7d565b34801561066857600080fd5b50610343610677366004612164565b610e7b565b34801561068857600080fd5b50610343610697366004612164565b610f25565b3480156106a857600080fd5b506102f66106b73660046120f0565b610f33565b3480156106c857600080fd5b506103436106d73660046120f0565b60116020526000908152604090205460ff1681565b3480156106f857600080fd5b506102f66107073660046120f0565b611042565b34801561071857600080fd5b506102f6610727366004612270565b61106e565b34801561073857600080fd5b506102f6610747366004612237565b611119565b34801561075857600080fd5b506103b060095481565b34801561076e57600080fd5b5061034361077d366004612190565b6111c5565b34801561078e57600080fd5b506103b0600c5481565b3480156107a457600080fd5b506103b06107b3366004612270565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107ea57600080fd5b506103b0600a5481565b34801561080057600080fd5b506102f661080f3660046120f0565b611348565b34801561082057600080fd5b506102f661082f3660046120f0565b611371565b34801561084057600080fd5b5061034361084f3660046120f0565b6001600160a01b031660009081526006602052604090205460ff1690565b6108756113fe565b6000816001600160a01b03164760405160006040518083038185875af1925050503d80600081146108c2576040519150601f19603f3d011682016040523d82523d6000602084013e6108c7565b606091505b5050505050565b6060600380546108dd9061229e565b80601f01602080910402602001604051908101604052809291908181526020018280546109099061229e565b80156109565780601f1061092b57610100808354040283529160200191610956565b820191906000526020600020905b81548152906001019060200180831161093957829003601f168201915b5050505050905090565b60003361096e818585611458565b60019150505b92915050565b6109826113fe565b6001600160a01b038116610a035760405162461bcd60e51b815260206004820152602b60248201527f45524332303a2044657620616464726573732063616e206e6f74206265207a6560448201527f726f20616464726573732e00000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6008546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a36008805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316908117909155610a74906001611119565b50565b3360009081526006602052604090205460ff16610ac45760405162461bcd60e51b815260206004820152600b60248201526a085055551213d49256915160aa1b60448201526064016109fa565b670de0b6b3a76400006103e8610ad960025490565b610ae49060016122ee565b610aee9190612305565b610af89190612305565b811015610b6d5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201527f6c6f776572207468616e20302e3125000000000000000000000000000000000060648201526084016109fa565b610b7f81670de0b6b3a76400006122ee565b60095550565b600033610b938582856115b0565b610b9e858585611642565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061096e9082908690610be3908790612327565b611458565b3360009081526006602052604090205460ff16610c355760405162461bcd60e51b815260206004820152600b60248201526a085055551213d49256915160aa1b60448201526064016109fa565b600d829055600e819055610c498183612327565b600c819055600f819055600a1015610ca35760405162461bcd60e51b815260206004820152601e60248201527f4d757374206b656570206665657320617420313025206f72206c6573732e000060448201526064016109fa565b600a600f541115610cf65760405162461bcd60e51b815260206004820152601e60248201527f4d757374206b656570206665657320617420313025206f72206c6573732e000060448201526064016109fa565b5050565b610d026113fe565b610d0c60006119b5565b565b3360009081526006602052604090205460ff16610d5b5760405162461bcd60e51b815260206004820152600b60248201526a085055551213d49256915160aa1b60448201526064016109fa565b600b805460ff1916911515919091179055565b6060600480546108dd9061229e565b3360009081526006602052604090205460ff16610dca5760405162461bcd60e51b815260206004820152600b60248201526a085055551213d49256915160aa1b60448201526064016109fa565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610e715760405162461bcd60e51b815260206004820152603a60248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972732e00000000000060648201526084016109fa565b610cf68282611a14565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610f185760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016109fa565b610b9e8286868403611458565b60003361096e818585611642565b610f3b6113fe565b6001600160a01b038116610fb75760405162461bcd60e51b815260206004820152603160248201527f45524332303a204d61726b6574696e6720616464726573732063616e206e6f7460448201527f206265207a65726f20616464726573732e00000000000000000000000000000060648201526084016109fa565b6007546040516001600160a01b036101009092048216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600780547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101006001600160a01b0384811682029290921792839055610a749204166001611119565b61104a6113fe565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6110766113fe565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156110d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fa919061233a565b90506000811161110957505050565b611114838383611a68565b505050565b3360009081526006602052604090205460ff166111665760405162461bcd60e51b815260206004820152600b60248201526a085055551213d49256915160aa1b60448201526064016109fa565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b3360009081526006602052604081205460ff166112125760405162461bcd60e51b815260206004820152600b60248201526a085055551213d49256915160aa1b60448201526064016109fa565b620186a061121f60025490565b61122a9060016122ee565b6112349190612305565b8210156112a95760405162461bcd60e51b815260206004820152603c60248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e30303125206f662074686520746f74616c20737570706c792e0000000060648201526084016109fa565b6103e86112b560025490565b6112c09060056122ee565b6112ca9190612305565b82111561133f5760405162461bcd60e51b815260206004820152603b60248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527f6e20302e3525206f662074686520746f74616c20737570706c792e000000000060648201526084016109fa565b50600a55600190565b6113506113fe565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6113796113fe565b6001600160a01b0381166113f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109fa565b610a74816119b5565b6005546001600160a01b03163314610d0c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109fa565b6001600160a01b0383166114d35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109fa565b6001600160a01b03821661154f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016109fa565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461163c578181101561162f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109fa565b61163c8484848403611458565b50505050565b6001600160a01b0383166116be5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573732e000000000000000000000000000000000000000000000000000060648201526084016109fa565b6001600160a01b0382166117395760405162461bcd60e51b8152602060048201526024808201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573732e0000000000000000000000000000000000000000000000000000000060648201526084016109fa565b600081116117af5760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f2e0000000000000000000000000000000000000000000060648201526084016109fa565b30600090815260208190526040902054600a54600954908210159082106117d65760095491505b8080156117e55750600b5460ff165b80156117f4575060075460ff16155b801561181957506001600160a01b03851660009081526011602052604090205460ff16155b801561183e57506001600160a01b03851660009081526010602052604090205460ff16155b801561186357506001600160a01b03841660009081526010602052604090205460ff16155b15611889576007805460ff1916600117905561187e82611bd0565b6007805460ff191690555b6007546001600160a01b03861660009081526010602052604090205460ff918216159116806118d057506001600160a01b03851660009081526010602052604090205460ff165b156118d9575060005b600081156119a1576001600160a01b03861660009081526011602052604090205460ff16801561190b57506000600f54115b1561193757611930606461192a600f5488611cea90919063ffffffff16565b90611cfd565b9050611983565b6001600160a01b03871660009081526011602052604090205460ff16801561196157506000600c54115b1561198357611980606461192a600c5488611cea90919063ffffffff16565b90505b801561199457611994873083611d09565b61199e8186612353565b94505b6119ac878787611d09565b50505050505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790529151600092839290871691611af29190612366565b6000604051808303816000865af19150503d8060008114611b2f576040519150601f19603f3d011682016040523d82523d6000602084013e611b34565b606091505b5091509150818015611b5e575080511580611b5e575080806020019051810190611b5e9190612382565b6108c75760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657248656c7065723a20494e5445524e414c205452414e53464560448201527f525f4641494c454400000000000000000000000000000000000000000000000060648201526084016109fa565b600047611bdc83611ef6565b6000611be847836120cf565b90506000611c0d600e54600d54611bff9190612327565b600d5461192a908590611cea565b90506000611c32600e54600d54611c249190612327565b600e5461192a908690611cea565b6008546040519192506001600160a01b0316908290600081818185875af1925050503d8060008114611c80576040519150601f19603f3d011682016040523d82523d6000602084013e611c85565b606091505b505060075460405191965061010090046001600160a01b0316908390600081818185875af1925050503d8060008114611cda576040519150601f19603f3d011682016040523d82523d6000602084013e611cdf565b606091505b505050505050505050565b6000611cf682846122ee565b9392505050565b6000611cf68284612305565b6001600160a01b038316611d855760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016109fa565b6001600160a01b038216611e015760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016109fa565b6001600160a01b03831660009081526020819052604090205481811015611e905760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016109fa565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361163c565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f2b57611f2b61239f565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fcd91906123b5565b81600181518110611fe057611fe061239f565b60200260200101906001600160a01b031690816001600160a01b03168152505061202b307f000000000000000000000000000000000000000000000000000000000000000084611458565b6040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906120999085906000908690309042906004016123d2565b600060405180830381600087803b1580156120b357600080fd5b505af11580156120c7573d6000803e3d6000fd5b505050505050565b6000611cf68284612353565b6001600160a01b0381168114610a7457600080fd5b60006020828403121561210257600080fd5b8135611cf6816120db565b60005b83811015612128578181015183820152602001612110565b50506000910152565b602081526000825180602084015261215081604085016020870161210d565b601f01601f19169190910160400192915050565b6000806040838503121561217757600080fd5b8235612182816120db565b946020939093013593505050565b6000602082840312156121a257600080fd5b5035919050565b6000806000606084860312156121be57600080fd5b83356121c9816120db565b925060208401356121d9816120db565b929592945050506040919091013590565b600080604083850312156121fd57600080fd5b50508035926020909101359150565b8015158114610a7457600080fd5b60006020828403121561222c57600080fd5b8135611cf68161220c565b6000806040838503121561224a57600080fd5b8235612255816120db565b915060208301356122658161220c565b809150509250929050565b6000806040838503121561228357600080fd5b823561228e816120db565b91506020830135612265816120db565b600181811c908216806122b257607f821691505b6020821081036122d257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610974576109746122d8565b60008261232257634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610974576109746122d8565b60006020828403121561234c57600080fd5b5051919050565b81810381811115610974576109746122d8565b6000825161237881846020870161210d565b9190910192915050565b60006020828403121561239457600080fd5b8151611cf68161220c565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156123c757600080fd5b8151611cf6816120db565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124225784516001600160a01b0316835293830193918301916001016123fd565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212207674f24d383f9d8770e0ae001f17d891cd40b8849b502418932a06678d535db664736f6c63430008130033
Deployed Bytecode
0x6080604052600436106102ca5760003560e01c806375f0a87411610179578063b6a5d7de116100d6578063d85ba0631161008a578063f0b37c0411610064578063f0b37c04146107f4578063f2fde38b14610814578063fe9fbb801461083457600080fd5b8063d85ba06314610782578063dd62ed3e14610798578063e2f45605146107de57600080fd5b8063c0246668116100bb578063c02466681461072c578063c8c8ebe41461074c578063d257b34f1461076257600080fd5b8063b6a5d7de146106ec578063bc205ad31461070c57600080fd5b80639a7a23d61161012d578063a9059cbb11610112578063a9059cbb1461067c578063aacebbe31461069c578063b62496f5146106bc57600080fd5b80639a7a23d61461063c578063a457c2d71461065c57600080fd5b80638da5cb5b1161015e5780638da5cb5b146105e95780638ea5220f1461060757806395d89b411461062757600080fd5b806375f0a874146105a45780638165e5f1146105c957600080fd5b806332774e7c116102275780636a486a8e116101db5780636db79437116101c05780636db794371461053957806370a0823114610559578063715018a61461058f57600080fd5b80636a486a8e1461050d5780636b67c4df1461052357600080fd5b806349bd5a5e1161020c57806349bd5a5e1461048a5780634fbee193146104be5780636827e764146104f757600080fd5b806332774e7c14610450578063395093511461046a57600080fd5b80631816467f1161027e57806323b872dd1161026357806323b872dd146103fe57806327c8f8351461041e578063313ce5671461043457600080fd5b80631816467f146103be578063203e727e146103de57600080fd5b8063095ea7b3116102af578063095ea7b3146103235780631694505e1461035357806318160ddd1461039f57600080fd5b806301681a62146102d657806306fdde03146102f857600080fd5b366102d157005b600080fd5b3480156102e257600080fd5b506102f66102f13660046120f0565b61086d565b005b34801561030457600080fd5b5061030d6108ce565b60405161031a9190612131565b60405180910390f35b34801561032f57600080fd5b5061034361033e366004612164565b610960565b604051901515815260200161031a565b34801561035f57600080fd5b506103877f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161031a565b3480156103ab57600080fd5b506002545b60405190815260200161031a565b3480156103ca57600080fd5b506102f66103d93660046120f0565b61097a565b3480156103ea57600080fd5b506102f66103f9366004612190565b610a77565b34801561040a57600080fd5b506103436104193660046121a9565b610b85565b34801561042a57600080fd5b5061038761dead81565b34801561044057600080fd5b506040516012815260200161031a565b34801561045c57600080fd5b50600b546103439060ff1681565b34801561047657600080fd5b50610343610485366004612164565b610ba9565b34801561049657600080fd5b506103877f000000000000000000000000a84c1fc24c93a01e86a97eaeff7ffddcb0bd478281565b3480156104ca57600080fd5b506103436104d93660046120f0565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561050357600080fd5b506103b0600e5481565b34801561051957600080fd5b506103b0600f5481565b34801561052f57600080fd5b506103b0600d5481565b34801561054557600080fd5b506102f66105543660046121ea565b610be8565b34801561056557600080fd5b506103b06105743660046120f0565b6001600160a01b031660009081526020819052604090205490565b34801561059b57600080fd5b506102f6610cfa565b3480156105b057600080fd5b506007546103879061010090046001600160a01b031681565b3480156105d557600080fd5b506102f66105e436600461221a565b610d0e565b3480156105f557600080fd5b506005546001600160a01b0316610387565b34801561061357600080fd5b50600854610387906001600160a01b031681565b34801561063357600080fd5b5061030d610d6e565b34801561064857600080fd5b506102f6610657366004612237565b610d7d565b34801561066857600080fd5b50610343610677366004612164565b610e7b565b34801561068857600080fd5b50610343610697366004612164565b610f25565b3480156106a857600080fd5b506102f66106b73660046120f0565b610f33565b3480156106c857600080fd5b506103436106d73660046120f0565b60116020526000908152604090205460ff1681565b3480156106f857600080fd5b506102f66107073660046120f0565b611042565b34801561071857600080fd5b506102f6610727366004612270565b61106e565b34801561073857600080fd5b506102f6610747366004612237565b611119565b34801561075857600080fd5b506103b060095481565b34801561076e57600080fd5b5061034361077d366004612190565b6111c5565b34801561078e57600080fd5b506103b0600c5481565b3480156107a457600080fd5b506103b06107b3366004612270565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107ea57600080fd5b506103b0600a5481565b34801561080057600080fd5b506102f661080f3660046120f0565b611348565b34801561082057600080fd5b506102f661082f3660046120f0565b611371565b34801561084057600080fd5b5061034361084f3660046120f0565b6001600160a01b031660009081526006602052604090205460ff1690565b6108756113fe565b6000816001600160a01b03164760405160006040518083038185875af1925050503d80600081146108c2576040519150601f19603f3d011682016040523d82523d6000602084013e6108c7565b606091505b5050505050565b6060600380546108dd9061229e565b80601f01602080910402602001604051908101604052809291908181526020018280546109099061229e565b80156109565780601f1061092b57610100808354040283529160200191610956565b820191906000526020600020905b81548152906001019060200180831161093957829003601f168201915b5050505050905090565b60003361096e818585611458565b60019150505b92915050565b6109826113fe565b6001600160a01b038116610a035760405162461bcd60e51b815260206004820152602b60248201527f45524332303a2044657620616464726573732063616e206e6f74206265207a6560448201527f726f20616464726573732e00000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6008546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a36008805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316908117909155610a74906001611119565b50565b3360009081526006602052604090205460ff16610ac45760405162461bcd60e51b815260206004820152600b60248201526a085055551213d49256915160aa1b60448201526064016109fa565b670de0b6b3a76400006103e8610ad960025490565b610ae49060016122ee565b610aee9190612305565b610af89190612305565b811015610b6d5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201527f6c6f776572207468616e20302e3125000000000000000000000000000000000060648201526084016109fa565b610b7f81670de0b6b3a76400006122ee565b60095550565b600033610b938582856115b0565b610b9e858585611642565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061096e9082908690610be3908790612327565b611458565b3360009081526006602052604090205460ff16610c355760405162461bcd60e51b815260206004820152600b60248201526a085055551213d49256915160aa1b60448201526064016109fa565b600d829055600e819055610c498183612327565b600c819055600f819055600a1015610ca35760405162461bcd60e51b815260206004820152601e60248201527f4d757374206b656570206665657320617420313025206f72206c6573732e000060448201526064016109fa565b600a600f541115610cf65760405162461bcd60e51b815260206004820152601e60248201527f4d757374206b656570206665657320617420313025206f72206c6573732e000060448201526064016109fa565b5050565b610d026113fe565b610d0c60006119b5565b565b3360009081526006602052604090205460ff16610d5b5760405162461bcd60e51b815260206004820152600b60248201526a085055551213d49256915160aa1b60448201526064016109fa565b600b805460ff1916911515919091179055565b6060600480546108dd9061229e565b3360009081526006602052604090205460ff16610dca5760405162461bcd60e51b815260206004820152600b60248201526a085055551213d49256915160aa1b60448201526064016109fa565b7f000000000000000000000000a84c1fc24c93a01e86a97eaeff7ffddcb0bd47826001600160a01b0316826001600160a01b031603610e715760405162461bcd60e51b815260206004820152603a60248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972732e00000000000060648201526084016109fa565b610cf68282611a14565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610f185760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016109fa565b610b9e8286868403611458565b60003361096e818585611642565b610f3b6113fe565b6001600160a01b038116610fb75760405162461bcd60e51b815260206004820152603160248201527f45524332303a204d61726b6574696e6720616464726573732063616e206e6f7460448201527f206265207a65726f20616464726573732e00000000000000000000000000000060648201526084016109fa565b6007546040516001600160a01b036101009092048216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600780547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101006001600160a01b0384811682029290921792839055610a749204166001611119565b61104a6113fe565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6110766113fe565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156110d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fa919061233a565b90506000811161110957505050565b611114838383611a68565b505050565b3360009081526006602052604090205460ff166111665760405162461bcd60e51b815260206004820152600b60248201526a085055551213d49256915160aa1b60448201526064016109fa565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b3360009081526006602052604081205460ff166112125760405162461bcd60e51b815260206004820152600b60248201526a085055551213d49256915160aa1b60448201526064016109fa565b620186a061121f60025490565b61122a9060016122ee565b6112349190612305565b8210156112a95760405162461bcd60e51b815260206004820152603c60248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e30303125206f662074686520746f74616c20737570706c792e0000000060648201526084016109fa565b6103e86112b560025490565b6112c09060056122ee565b6112ca9190612305565b82111561133f5760405162461bcd60e51b815260206004820152603b60248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527f6e20302e3525206f662074686520746f74616c20737570706c792e000000000060648201526084016109fa565b50600a55600190565b6113506113fe565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6113796113fe565b6001600160a01b0381166113f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109fa565b610a74816119b5565b6005546001600160a01b03163314610d0c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109fa565b6001600160a01b0383166114d35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109fa565b6001600160a01b03821661154f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016109fa565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461163c578181101561162f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109fa565b61163c8484848403611458565b50505050565b6001600160a01b0383166116be5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573732e000000000000000000000000000000000000000000000000000060648201526084016109fa565b6001600160a01b0382166117395760405162461bcd60e51b8152602060048201526024808201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573732e0000000000000000000000000000000000000000000000000000000060648201526084016109fa565b600081116117af5760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f2e0000000000000000000000000000000000000000000060648201526084016109fa565b30600090815260208190526040902054600a54600954908210159082106117d65760095491505b8080156117e55750600b5460ff165b80156117f4575060075460ff16155b801561181957506001600160a01b03851660009081526011602052604090205460ff16155b801561183e57506001600160a01b03851660009081526010602052604090205460ff16155b801561186357506001600160a01b03841660009081526010602052604090205460ff16155b15611889576007805460ff1916600117905561187e82611bd0565b6007805460ff191690555b6007546001600160a01b03861660009081526010602052604090205460ff918216159116806118d057506001600160a01b03851660009081526010602052604090205460ff165b156118d9575060005b600081156119a1576001600160a01b03861660009081526011602052604090205460ff16801561190b57506000600f54115b1561193757611930606461192a600f5488611cea90919063ffffffff16565b90611cfd565b9050611983565b6001600160a01b03871660009081526011602052604090205460ff16801561196157506000600c54115b1561198357611980606461192a600c5488611cea90919063ffffffff16565b90505b801561199457611994873083611d09565b61199e8186612353565b94505b6119ac878787611d09565b50505050505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790529151600092839290871691611af29190612366565b6000604051808303816000865af19150503d8060008114611b2f576040519150601f19603f3d011682016040523d82523d6000602084013e611b34565b606091505b5091509150818015611b5e575080511580611b5e575080806020019051810190611b5e9190612382565b6108c75760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657248656c7065723a20494e5445524e414c205452414e53464560448201527f525f4641494c454400000000000000000000000000000000000000000000000060648201526084016109fa565b600047611bdc83611ef6565b6000611be847836120cf565b90506000611c0d600e54600d54611bff9190612327565b600d5461192a908590611cea565b90506000611c32600e54600d54611c249190612327565b600e5461192a908690611cea565b6008546040519192506001600160a01b0316908290600081818185875af1925050503d8060008114611c80576040519150601f19603f3d011682016040523d82523d6000602084013e611c85565b606091505b505060075460405191965061010090046001600160a01b0316908390600081818185875af1925050503d8060008114611cda576040519150601f19603f3d011682016040523d82523d6000602084013e611cdf565b606091505b505050505050505050565b6000611cf682846122ee565b9392505050565b6000611cf68284612305565b6001600160a01b038316611d855760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016109fa565b6001600160a01b038216611e015760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016109fa565b6001600160a01b03831660009081526020819052604090205481811015611e905760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016109fa565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361163c565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f2b57611f2b61239f565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fcd91906123b5565b81600181518110611fe057611fe061239f565b60200260200101906001600160a01b031690816001600160a01b03168152505061202b307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611458565b6040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906120999085906000908690309042906004016123d2565b600060405180830381600087803b1580156120b357600080fd5b505af11580156120c7573d6000803e3d6000fd5b505050505050565b6000611cf68284612353565b6001600160a01b0381168114610a7457600080fd5b60006020828403121561210257600080fd5b8135611cf6816120db565b60005b83811015612128578181015183820152602001612110565b50506000910152565b602081526000825180602084015261215081604085016020870161210d565b601f01601f19169190910160400192915050565b6000806040838503121561217757600080fd5b8235612182816120db565b946020939093013593505050565b6000602082840312156121a257600080fd5b5035919050565b6000806000606084860312156121be57600080fd5b83356121c9816120db565b925060208401356121d9816120db565b929592945050506040919091013590565b600080604083850312156121fd57600080fd5b50508035926020909101359150565b8015158114610a7457600080fd5b60006020828403121561222c57600080fd5b8135611cf68161220c565b6000806040838503121561224a57600080fd5b8235612255816120db565b915060208301356122658161220c565b809150509250929050565b6000806040838503121561228357600080fd5b823561228e816120db565b91506020830135612265816120db565b600181811c908216806122b257607f821691505b6020821081036122d257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610974576109746122d8565b60008261232257634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610974576109746122d8565b60006020828403121561234c57600080fd5b5051919050565b81810381811115610974576109746122d8565b6000825161237881846020870161210d565b9190910192915050565b60006020828403121561239457600080fd5b8151611cf68161220c565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156123c757600080fd5b8151611cf6816120db565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124225784516001600160a01b0316835293830193918301916001016123fd565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212207674f24d383f9d8770e0ae001f17d891cd40b8849b502418932a06678d535db664736f6c63430008130033
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.