Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000,915,249.016817210342426713 CRYPT
Holders
643
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000000022059 CRYPTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Cryptensor
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.20; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {IUniswapV2Factory} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract Cryptensor is ERC20, Ownable { uint public constant minimumTokenToSwap = 10e18; uint public constant maximumTokenToSwap = 10000e18; uint public constant maxWalletSize = 25000e18; uint private buyCount; uint private contractLatestBlock; bool public isTradingOpen; bool public transferLimits = true; bool private contractSellLimit = true; bool private isSwapping; bool private swapEnabled = true; address private immutable WETH; IUniswapV2Router02 private constant uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address private uniswapV2Pair; address public taxAddress; mapping(address => bool) public isFeeExcluded; mapping(address => bool) public isStacker; mapping(address => uint256) private lastTransferTimestamp; constructor() ERC20("Cryptensor", "CRYPT") Ownable(msg.sender) { isFeeExcluded[address(this)] = true; isFeeExcluded[msg.sender] = true; WETH = uniswapV2Router.WETH(); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), WETH ); taxAddress = msg.sender; _mint(msg.sender, 800_000e18); } modifier LockSwapping() { isSwapping = true; _; isSwapping = false; } modifier OnlyStacker() { require(isStacker[msg.sender]); _; } function activateTrading() external onlyOwner { require(!isTradingOpen); isTradingOpen = true; } function setSwapEnabled(bool _isEnabled) external onlyOwner { swapEnabled = _isEnabled; } function allowUnclog() external onlyOwner { require(contractSellLimit); contractSellLimit = false; } function removeLimits() external onlyOwner { require(transferLimits); transferLimits = false; } function setStackerContract( address _address, bool _isStacker ) external onlyOwner { isStacker[_address] = _isStacker; } function setFeesExcluded( address _address, bool _isExcluded ) external onlyOwner { isFeeExcluded[_address] = _isExcluded; } function setTaxAddress(address _address) external { require(taxAddress == msg.sender); taxAddress = _address; } // allow taxAddress to claim token fees that couldn't be sold function claimLostTokens() external { require(taxAddress == msg.sender); transfer(taxAddress, balanceOf(address(this))); } function sellContractFees(uint _percentage) external { require(taxAddress == msg.sender); _swapTokensForEth((balanceOf(address(this)) * _percentage) / 100); } function mintRewards(address _address, uint _amount) external OnlyStacker { _mint(_address, _amount); } function burnTokens(address _address, uint _amount) external OnlyStacker { _update(_address, address(0), _amount); } function getFees() public view returns (uint) { // 19% fees for the first 35 buys if (buyCount <= 35) return 19; return 5; } function _swapTokensForEth(uint _amount) private LockSwapping { address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; _approve( address(this), address(uniswapV2Router), type(uint).max, false ); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( _amount, 0, path, address(this), block.timestamp ); contractLatestBlock = block.number; (bool result, ) = payable(taxAddress).call{ value: address(this).balance }(""); require(result); } function _update( address from, address to, uint256 amount ) internal override { if (isSwapping || isFeeExcluded[from] || isFeeExcluded[to]) { super._update(from, to, amount); return; } // limits require(isTradingOpen); if ( transferLimits && to != address(uniswapV2Router) && to != uniswapV2Pair ) { require( lastTransferTimestamp[tx.origin] < block.number, "Limits : One transfer per block." ); lastTransferTimestamp[tx.origin] = block.number; } // fees uint feesCharged = from == uniswapV2Pair || to == uniswapV2Pair ? (getFees() * amount) / 100 : 0; if (feesCharged > 0) super._update(from, address(this), feesCharged); // increase buy amount if ( from == uniswapV2Pair && to != address(uniswapV2Router) && !isFeeExcluded[to] ) { if (transferLimits) require( balanceOf(to) + amount <= maxWalletSize, "Limits : Exceeds the max wallet size." ); buyCount++; } // sell contract fees if ( from != uniswapV2Pair && balanceOf(address(this)) >= minimumTokenToSwap && swapEnabled && buyCount >= 25 ) { if (contractSellLimit && contractLatestBlock < block.number) _swapTokensForEth( min(balanceOf(address(this)), maximumTokenToSwap) ); else if (!contractSellLimit) _swapTokensForEth(balanceOf(address(this))); } return super._update(from, to, amount - feesCharged); } function min(uint a, uint b) private pure returns (uint) { return (a > b) ? b : a; } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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 v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}. * * 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. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => 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 returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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 `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` 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 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); 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 `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` 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. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ 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 v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair( address tokenA, address tokenB ) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair( address tokenA, address tokenB ) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "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"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"activateTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowUnclog","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimLostTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isFeeExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isStacker","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maximumTokenToSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTokenToSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintRewards","outputs":[],"stateMutability":"nonpayable","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":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percentage","type":"uint256"}],"name":"sellContractFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"setFeesExcluded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isStacker","type":"bool"}],"name":"setStackerContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isEnabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setTaxAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040526008805464ff00ffff0019166401000101001790553480156200002657600080fd5b50336040518060400160405280600a81526020016921b93cb83a32b739b7b960b11b8152506040518060400160405280600581526020016410d496541560da1b81525081600390816200007a919062000bdf565b50600462000089828262000bdf565b5050506001600160a01b038116620000bc57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000c781620002ba565b50306000908152600a602090815260408083208054600160ff1991821681179092553385529382902080549094161790925581516315ab88c960e31b81529151600080516020620023c28339815191529263ad5c46489260048083019391928290030181865afa15801562000140573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000166919062000cab565b6001600160a01b03166080526040805163c45a015560e01b81529051600080516020620023c28339815191529163c45a01559160048083019260209291908290030181865afa158015620001be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e4919062000cab565b6080516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af115801562000236573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025c919062000cab565b600880546001600160a01b03929092166501000000000002600160281b600160c81b0319909216919091179055600980546001600160a01b03191633908117909155620002b49069a968163f0a57b40000006200030c565b62000e01565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003385760405163ec442f0560e01b815260006004820152602401620000b3565b62000346600083836200034a565b5050565b6008546301000000900460ff16806200037b57506001600160a01b0383166000908152600a602052604090205460ff165b806200039f57506001600160a01b0382166000908152600a602052604090205460ff165b15620003b757620003b283838362000752565b505050565b60085460ff16620003c757600080fd5b600854610100900460ff168015620003f757506001600160a01b038216600080516020620023c283398151915214155b80156200041b57506008546001600160a01b03838116650100000000009092041614155b156200049457326000908152600c60205260409020544311620004815760405162461bcd60e51b815260206004820181905260248201527f4c696d697473203a204f6e65207472616e736665722070657220626c6f636b2e6044820152606401620000b3565b326000908152600c602052604090204390555b6008546000906001600160a01b0385811665010000000000909204161480620004d357506008546001600160a01b038481166501000000000090920416145b620004e057600062000505565b606482620004ed62000885565b620004f9919062000cf3565b62000505919062000d0d565b905080156200051b576200051b84308362000752565b6008546001600160a01b0385811665010000000000909204161480156200055a57506001600160a01b038316600080516020620023c283398151915214155b80156200058057506001600160a01b0383166000908152600a602052604090205460ff16155b156200064557600854610100900460ff16156200062d5769054b40b1f852bda0000082620005c3856001600160a01b031660009081526020819052604090205490565b620005cf919062000d30565b11156200062d5760405162461bcd60e51b815260206004820152602560248201527f4c696d697473203a204578636565647320746865206d61782077616c6c65742060448201526439b4bd329760d91b6064820152608401620000b3565b600680549060006200063f8362000d46565b91905055505b6008546001600160a01b0385811665010000000000909204161480159062000684575030600090815260208190526040902054678ac7230489e8000011155b80156200069b5750600854640100000000900460ff165b8015620006ab5750601960065410155b15620007345760085462010000900460ff168015620006cb575043600754105b156200070857306000908152602081905260409020546200070290620006fc9069021e19e0c9bab24000006200089e565b620008ba565b62000734565b60085462010000900460ff166200073457306000908152602081905260409020546200073490620008ba565b6200074c848462000746848662000d62565b62000752565b50505050565b6001600160a01b0383166200078157806002600082825462000775919062000d30565b90915550620007f59050565b6001600160a01b03831660009081526020819052604090205481811015620007d65760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000b3565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620008135760028054829003905562000832565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200087891815260200190565b60405180910390a3505050565b6000602360065411620008985750601390565b50600590565b6000818311620008af5782620008b1565b815b90505b92915050565b6008805463ff00000019166301000000179055604080516002808252606082018352600092602083019080368337019050509050308160008151811062000905576200090562000d78565b60200260200101906001600160a01b031690816001600160a01b031681525050608051816001815181106200093e576200093e62000d78565b6001600160a01b03909216602092830291909101909101526200097630600080516020620023c2833981519152600019600062000a60565b60405163791ac94760e01b8152600080516020620023c28339815191529063791ac94790620009b390859060009086903090429060040162000d8e565b600060405180830381600087803b158015620009ce57600080fd5b505af1158015620009e3573d6000803e3d6000fd5b50504360075550506009546040516000916001600160a01b03169047908381818185875af1925050503d806000811462000a3a576040519150601f19603f3d011682016040523d82523d6000602084013e62000a3f565b606091505b505090508062000a4e57600080fd5b50506008805463ff0000001916905550565b6001600160a01b03841662000a8c5760405163e602df0560e01b815260006004820152602401620000b3565b6001600160a01b03831662000ab857604051634a1406b160e11b815260006004820152602401620000b3565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156200074c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405162000b2d91815260200190565b60405180910390a350505050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000b6657607f821691505b60208210810362000b8757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003b257600081815260208120601f850160051c8101602086101562000bb65750805b601f850160051c820191505b8181101562000bd75782815560010162000bc2565b505050505050565b81516001600160401b0381111562000bfb5762000bfb62000b3b565b62000c138162000c0c845462000b51565b8462000b8d565b602080601f83116001811462000c4b576000841562000c325750858301515b600019600386901b1c1916600185901b17855562000bd7565b600085815260208120601f198616915b8281101562000c7c5788860151825594840194600190910190840162000c5b565b508582101562000c9b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000cbe57600080fd5b81516001600160a01b038116811462000cd657600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620008b457620008b462000cdd565b60008262000d2b57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620008b457620008b462000cdd565b60006001820162000d5b5762000d5b62000cdd565b5060010190565b81810381811115620008b457620008b462000cdd565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101562000de05784516001600160a01b03168352938301939183019160010162000db9565b50506001600160a01b03969096166060850152505050608001529392505050565b6080516115a562000e1d60003960006109eb01526115a56000f3fe6080604052600436106101e75760003560e01c8063715018a611610102578063b7bda68f11610095578063dd62ed3e11610064578063dd62ed3e14610561578063e01af92c146105a7578063f2fde38b146105c7578063f4448ed6146105e757600080fd5b8063b7bda68f146104e7578063bca238aa14610507578063d492030b14610537578063db8d55f11461054c57600080fd5b80638f3fa860116100d15780638f3fa8601461047457806395d89b4114610492578063a1883d26146104a7578063a9059cbb146104c757600080fd5b8063715018a6146103fc578063751039fc14610411578063846f8a33146104265780638da5cb5b1461044257600080fd5b806318160ddd1161017a5780634a53ef65116101495780634a53ef651461038d57806356a060a2146103a25780636a20de92146103bc57806370a08231146103dc57600080fd5b806318160ddd1461031d57806323b872dd146103325780632fde61bc14610352578063313ce5671461037157600080fd5b80630b980cd4116101b65780630b980cd41461029c5780630bd05b69146102bc5780630d1118ce146102d15780630fd8a11e146102f157600080fd5b8063069ee25f146101f357806306fdde0314610238578063090a4ab81461025a578063095ea7b31461027c57600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061022361020e3660046112b0565b600b6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561024457600080fd5b5061024d610607565b60405161022f91906112cb565b34801561026657600080fd5b5061027a610275366004611319565b610699565b005b34801561028857600080fd5b50610223610297366004611332565b6106db565b3480156102a857600080fd5b5061027a6102b736600461136c565b6106f5565b3480156102c857600080fd5b5061027a610728565b3480156102dd57600080fd5b5061027a6102ec366004611332565b61074f565b3480156102fd57600080fd5b5061030f69021e19e0c9bab240000081565b60405190815260200161022f565b34801561032957600080fd5b5060025461030f565b34801561033e57600080fd5b5061022361034d36600461139f565b61077b565b34801561035e57600080fd5b5060085461022390610100900460ff1681565b34801561037d57600080fd5b506040516012815260200161022f565b34801561039957600080fd5b5061027a61079f565b3480156103ae57600080fd5b506008546102239060ff1681565b3480156103c857600080fd5b5061027a6103d7366004611332565b6107ca565b3480156103e857600080fd5b5061030f6103f73660046112b0565b6107f0565b34801561040857600080fd5b5061027a61080b565b34801561041d57600080fd5b5061027a61081f565b34801561043257600080fd5b5061030f678ac7230489e8000081565b34801561044e57600080fd5b506005546001600160a01b03165b6040516001600160a01b03909116815260200161022f565b34801561048057600080fd5b5061030f69054b40b1f852bda0000081565b34801561049e57600080fd5b5061024d610848565b3480156104b357600080fd5b5061027a6104c23660046112b0565b610857565b3480156104d357600080fd5b506102236104e2366004611332565b610890565b3480156104f357600080fd5b5060095461045c906001600160a01b031681565b34801561051357600080fd5b506102236105223660046112b0565b600a6020526000908152604090205460ff1681565b34801561054357600080fd5b5061027a61089e565b34801561055857600080fd5b5061030f6108ce565b34801561056d57600080fd5b5061030f61057c3660046113db565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105b357600080fd5b5061027a6105c2366004611405565b6108e6565b3480156105d357600080fd5b5061027a6105e23660046112b0565b61090e565b3480156105f357600080fd5b5061027a61060236600461136c565b61094e565b60606003805461061690611420565b80601f016020809104026020016040519081016040528092919081815260200182805461064290611420565b801561068f5780601f106106645761010080835404028352916020019161068f565b820191906000526020600020905b81548152906001019060200180831161067257829003601f168201915b5050505050905090565b6009546001600160a01b031633146106b057600080fd5b6106d86064826106bf306107f0565b6106c99190611470565b6106d39190611487565b610981565b50565b6000336106e9818585610b48565b60019150505b92915050565b6106fd610b5a565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b610730610b5a565b60085460ff161561074057600080fd5b6008805460ff19166001179055565b336000908152600b602052604090205460ff1661076b57600080fd5b61077782600083610b87565b5050565b600033610789858285610f1e565b610794858585610f96565b506001949350505050565b6107a7610b5a565b60085462010000900460ff166107bc57600080fd5b6008805462ff000019169055565b336000908152600b602052604090205460ff166107e657600080fd5b6107778282610ff5565b6001600160a01b031660009081526020819052604090205490565b610813610b5a565b61081d600061102b565b565b610827610b5a565b600854610100900460ff1661083b57600080fd5b6008805461ff0019169055565b60606004805461061690611420565b6009546001600160a01b0316331461086e57600080fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000336106e9818585610f96565b6009546001600160a01b031633146108b557600080fd5b6009546106d8906001600160a01b03166104e2306107f0565b60006023600654116108e05750601390565b50600590565b6108ee610b5a565b600880549115156401000000000264ff0000000019909216919091179055565b610916610b5a565b6001600160a01b03811661094557604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6106d88161102b565b610956610b5a565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6008805463ff0000001916630100000017905560408051600280825260608201835260009260208301908036833701905050905030816000815181106109c9576109c96114a9565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110610a1d57610a1d6114a9565b60200260200101906001600160a01b031690816001600160a01b031681525050610a6030737a250d5630b4cf539739df2c5dacb4c659f2488d600019600061107d565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790610aa09085906000908690309042906004016114bf565b600060405180830381600087803b158015610aba57600080fd5b505af1158015610ace573d6000803e3d6000fd5b50504360075550506009546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610b23576040519150601f19603f3d011682016040523d82523d6000602084013e610b28565b606091505b5050905080610b3657600080fd5b50506008805463ff0000001916905550565b610b55838383600161107d565b505050565b6005546001600160a01b0316331461081d5760405163118cdaa760e01b815233600482015260240161093c565b6008546301000000900460ff1680610bb757506001600160a01b0383166000908152600a602052604090205460ff165b80610bda57506001600160a01b0382166000908152600a602052604090205460ff165b15610bea57610b55838383611152565b60085460ff16610bf957600080fd5b600854610100900460ff168015610c2d57506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d14155b8015610c4e57506008546001600160a01b03838116600160281b9092041614155b15610cc457326000908152600c60205260409020544311610cb15760405162461bcd60e51b815260206004820181905260248201527f4c696d697473203a204f6e65207472616e736665722070657220626c6f636b2e604482015260640161093c565b326000908152600c602052604090204390555b6008546000906001600160a01b03858116600160281b909204161480610cfe57506008546001600160a01b03848116600160281b90920416145b610d09576000610d28565b606482610d146108ce565b610d1e9190611470565b610d289190611487565b90508015610d3b57610d3b843083611152565b6008546001600160a01b03858116600160281b90920416148015610d7c57506001600160a01b038316737a250d5630b4cf539739df2c5dacb4c659f2488d14155b8015610da157506001600160a01b0383166000908152600a602052604090205460ff16155b15610e4757600854610100900460ff1615610e315769054b40b1f852bda0000082610dcb856107f0565b610dd59190611530565b1115610e315760405162461bcd60e51b815260206004820152602560248201527f4c696d697473203a204578636565647320746865206d61782077616c6c65742060448201526439b4bd329760d91b606482015260840161093c565b60068054906000610e4183611543565b91905055505b6008546001600160a01b03858116600160281b9092041614801590610e7c5750678ac7230489e80000610e79306107f0565b10155b8015610e925750600854640100000000900460ff165b8015610ea15750601960065410155b15610f045760085462010000900460ff168015610ebf575043600754105b15610ee857610ee36106d3610ed3306107f0565b69021e19e0c9bab240000061127c565b610f04565b60085462010000900460ff16610f0457610f046106d3306107f0565b610f188484610f13848661155c565b611152565b50505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610f185781811015610f8757604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161093c565b610f188484848403600061107d565b6001600160a01b038316610fc057604051634b637e8f60e11b81526000600482015260240161093c565b6001600160a01b038216610fea5760405163ec442f0560e01b81526000600482015260240161093c565b610b55838383610b87565b6001600160a01b03821661101f5760405163ec442f0560e01b81526000600482015260240161093c565b61077760008383610b87565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166110a75760405163e602df0560e01b81526000600482015260240161093c565b6001600160a01b0383166110d157604051634a1406b160e11b81526000600482015260240161093c565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610f1857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161114491815260200190565b60405180910390a350505050565b6001600160a01b03831661117d5780600260008282546111729190611530565b909155506111ef9050565b6001600160a01b038316600090815260208190526040902054818110156111d05760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161093c565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661120b5760028054829003905561122a565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161126f91815260200190565b60405180910390a3505050565b600081831161128b578261128d565b815b9392505050565b80356001600160a01b03811681146112ab57600080fd5b919050565b6000602082840312156112c257600080fd5b61128d82611294565b600060208083528351808285015260005b818110156112f8578581018301518582016040015282016112dc565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561132b57600080fd5b5035919050565b6000806040838503121561134557600080fd5b61134e83611294565b946020939093013593505050565b803580151581146112ab57600080fd5b6000806040838503121561137f57600080fd5b61138883611294565b91506113966020840161135c565b90509250929050565b6000806000606084860312156113b457600080fd5b6113bd84611294565b92506113cb60208501611294565b9150604084013590509250925092565b600080604083850312156113ee57600080fd5b6113f783611294565b915061139660208401611294565b60006020828403121561141757600080fd5b61128d8261135c565b600181811c9082168061143457607f821691505b60208210810361145457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176106ef576106ef61145a565b6000826114a457634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561150f5784516001600160a01b0316835293830193918301916001016114ea565b50506001600160a01b03969096166060850152505050608001529392505050565b808201808211156106ef576106ef61145a565b6000600182016115555761155561145a565b5060010190565b818103818111156106ef576106ef61145a56fea26469706673582212206dad152eca0b201980eb14d50e2216427bd797e4e64b0340412f44e2b29e2ced64736f6c634300081400330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x6080604052600436106101e75760003560e01c8063715018a611610102578063b7bda68f11610095578063dd62ed3e11610064578063dd62ed3e14610561578063e01af92c146105a7578063f2fde38b146105c7578063f4448ed6146105e757600080fd5b8063b7bda68f146104e7578063bca238aa14610507578063d492030b14610537578063db8d55f11461054c57600080fd5b80638f3fa860116100d15780638f3fa8601461047457806395d89b4114610492578063a1883d26146104a7578063a9059cbb146104c757600080fd5b8063715018a6146103fc578063751039fc14610411578063846f8a33146104265780638da5cb5b1461044257600080fd5b806318160ddd1161017a5780634a53ef65116101495780634a53ef651461038d57806356a060a2146103a25780636a20de92146103bc57806370a08231146103dc57600080fd5b806318160ddd1461031d57806323b872dd146103325780632fde61bc14610352578063313ce5671461037157600080fd5b80630b980cd4116101b65780630b980cd41461029c5780630bd05b69146102bc5780630d1118ce146102d15780630fd8a11e146102f157600080fd5b8063069ee25f146101f357806306fdde0314610238578063090a4ab81461025a578063095ea7b31461027c57600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061022361020e3660046112b0565b600b6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561024457600080fd5b5061024d610607565b60405161022f91906112cb565b34801561026657600080fd5b5061027a610275366004611319565b610699565b005b34801561028857600080fd5b50610223610297366004611332565b6106db565b3480156102a857600080fd5b5061027a6102b736600461136c565b6106f5565b3480156102c857600080fd5b5061027a610728565b3480156102dd57600080fd5b5061027a6102ec366004611332565b61074f565b3480156102fd57600080fd5b5061030f69021e19e0c9bab240000081565b60405190815260200161022f565b34801561032957600080fd5b5060025461030f565b34801561033e57600080fd5b5061022361034d36600461139f565b61077b565b34801561035e57600080fd5b5060085461022390610100900460ff1681565b34801561037d57600080fd5b506040516012815260200161022f565b34801561039957600080fd5b5061027a61079f565b3480156103ae57600080fd5b506008546102239060ff1681565b3480156103c857600080fd5b5061027a6103d7366004611332565b6107ca565b3480156103e857600080fd5b5061030f6103f73660046112b0565b6107f0565b34801561040857600080fd5b5061027a61080b565b34801561041d57600080fd5b5061027a61081f565b34801561043257600080fd5b5061030f678ac7230489e8000081565b34801561044e57600080fd5b506005546001600160a01b03165b6040516001600160a01b03909116815260200161022f565b34801561048057600080fd5b5061030f69054b40b1f852bda0000081565b34801561049e57600080fd5b5061024d610848565b3480156104b357600080fd5b5061027a6104c23660046112b0565b610857565b3480156104d357600080fd5b506102236104e2366004611332565b610890565b3480156104f357600080fd5b5060095461045c906001600160a01b031681565b34801561051357600080fd5b506102236105223660046112b0565b600a6020526000908152604090205460ff1681565b34801561054357600080fd5b5061027a61089e565b34801561055857600080fd5b5061030f6108ce565b34801561056d57600080fd5b5061030f61057c3660046113db565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105b357600080fd5b5061027a6105c2366004611405565b6108e6565b3480156105d357600080fd5b5061027a6105e23660046112b0565b61090e565b3480156105f357600080fd5b5061027a61060236600461136c565b61094e565b60606003805461061690611420565b80601f016020809104026020016040519081016040528092919081815260200182805461064290611420565b801561068f5780601f106106645761010080835404028352916020019161068f565b820191906000526020600020905b81548152906001019060200180831161067257829003601f168201915b5050505050905090565b6009546001600160a01b031633146106b057600080fd5b6106d86064826106bf306107f0565b6106c99190611470565b6106d39190611487565b610981565b50565b6000336106e9818585610b48565b60019150505b92915050565b6106fd610b5a565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b610730610b5a565b60085460ff161561074057600080fd5b6008805460ff19166001179055565b336000908152600b602052604090205460ff1661076b57600080fd5b61077782600083610b87565b5050565b600033610789858285610f1e565b610794858585610f96565b506001949350505050565b6107a7610b5a565b60085462010000900460ff166107bc57600080fd5b6008805462ff000019169055565b336000908152600b602052604090205460ff166107e657600080fd5b6107778282610ff5565b6001600160a01b031660009081526020819052604090205490565b610813610b5a565b61081d600061102b565b565b610827610b5a565b600854610100900460ff1661083b57600080fd5b6008805461ff0019169055565b60606004805461061690611420565b6009546001600160a01b0316331461086e57600080fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000336106e9818585610f96565b6009546001600160a01b031633146108b557600080fd5b6009546106d8906001600160a01b03166104e2306107f0565b60006023600654116108e05750601390565b50600590565b6108ee610b5a565b600880549115156401000000000264ff0000000019909216919091179055565b610916610b5a565b6001600160a01b03811661094557604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6106d88161102b565b610956610b5a565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6008805463ff0000001916630100000017905560408051600280825260608201835260009260208301908036833701905050905030816000815181106109c9576109c96114a9565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110610a1d57610a1d6114a9565b60200260200101906001600160a01b031690816001600160a01b031681525050610a6030737a250d5630b4cf539739df2c5dacb4c659f2488d600019600061107d565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790610aa09085906000908690309042906004016114bf565b600060405180830381600087803b158015610aba57600080fd5b505af1158015610ace573d6000803e3d6000fd5b50504360075550506009546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610b23576040519150601f19603f3d011682016040523d82523d6000602084013e610b28565b606091505b5050905080610b3657600080fd5b50506008805463ff0000001916905550565b610b55838383600161107d565b505050565b6005546001600160a01b0316331461081d5760405163118cdaa760e01b815233600482015260240161093c565b6008546301000000900460ff1680610bb757506001600160a01b0383166000908152600a602052604090205460ff165b80610bda57506001600160a01b0382166000908152600a602052604090205460ff165b15610bea57610b55838383611152565b60085460ff16610bf957600080fd5b600854610100900460ff168015610c2d57506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d14155b8015610c4e57506008546001600160a01b03838116600160281b9092041614155b15610cc457326000908152600c60205260409020544311610cb15760405162461bcd60e51b815260206004820181905260248201527f4c696d697473203a204f6e65207472616e736665722070657220626c6f636b2e604482015260640161093c565b326000908152600c602052604090204390555b6008546000906001600160a01b03858116600160281b909204161480610cfe57506008546001600160a01b03848116600160281b90920416145b610d09576000610d28565b606482610d146108ce565b610d1e9190611470565b610d289190611487565b90508015610d3b57610d3b843083611152565b6008546001600160a01b03858116600160281b90920416148015610d7c57506001600160a01b038316737a250d5630b4cf539739df2c5dacb4c659f2488d14155b8015610da157506001600160a01b0383166000908152600a602052604090205460ff16155b15610e4757600854610100900460ff1615610e315769054b40b1f852bda0000082610dcb856107f0565b610dd59190611530565b1115610e315760405162461bcd60e51b815260206004820152602560248201527f4c696d697473203a204578636565647320746865206d61782077616c6c65742060448201526439b4bd329760d91b606482015260840161093c565b60068054906000610e4183611543565b91905055505b6008546001600160a01b03858116600160281b9092041614801590610e7c5750678ac7230489e80000610e79306107f0565b10155b8015610e925750600854640100000000900460ff165b8015610ea15750601960065410155b15610f045760085462010000900460ff168015610ebf575043600754105b15610ee857610ee36106d3610ed3306107f0565b69021e19e0c9bab240000061127c565b610f04565b60085462010000900460ff16610f0457610f046106d3306107f0565b610f188484610f13848661155c565b611152565b50505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610f185781811015610f8757604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161093c565b610f188484848403600061107d565b6001600160a01b038316610fc057604051634b637e8f60e11b81526000600482015260240161093c565b6001600160a01b038216610fea5760405163ec442f0560e01b81526000600482015260240161093c565b610b55838383610b87565b6001600160a01b03821661101f5760405163ec442f0560e01b81526000600482015260240161093c565b61077760008383610b87565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166110a75760405163e602df0560e01b81526000600482015260240161093c565b6001600160a01b0383166110d157604051634a1406b160e11b81526000600482015260240161093c565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610f1857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161114491815260200190565b60405180910390a350505050565b6001600160a01b03831661117d5780600260008282546111729190611530565b909155506111ef9050565b6001600160a01b038316600090815260208190526040902054818110156111d05760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161093c565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661120b5760028054829003905561122a565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161126f91815260200190565b60405180910390a3505050565b600081831161128b578261128d565b815b9392505050565b80356001600160a01b03811681146112ab57600080fd5b919050565b6000602082840312156112c257600080fd5b61128d82611294565b600060208083528351808285015260005b818110156112f8578581018301518582016040015282016112dc565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561132b57600080fd5b5035919050565b6000806040838503121561134557600080fd5b61134e83611294565b946020939093013593505050565b803580151581146112ab57600080fd5b6000806040838503121561137f57600080fd5b61138883611294565b91506113966020840161135c565b90509250929050565b6000806000606084860312156113b457600080fd5b6113bd84611294565b92506113cb60208501611294565b9150604084013590509250925092565b600080604083850312156113ee57600080fd5b6113f783611294565b915061139660208401611294565b60006020828403121561141757600080fd5b61128d8261135c565b600181811c9082168061143457607f821691505b60208210810361145457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176106ef576106ef61145a565b6000826114a457634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561150f5784516001600160a01b0316835293830193918301916001016114ea565b50506001600160a01b03969096166060850152505050608001529392505050565b808201808211156106ef576106ef61145a565b6000600182016115555761155561145a565b5060010190565b818103818111156106ef576106ef61145a56fea26469706673582212206dad152eca0b201980eb14d50e2216427bd797e4e64b0340412f44e2b29e2ced64736f6c63430008140033
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.