ERC-20
Overview
Max Total Supply
69,420,000,000 $HIT
Holders
300
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
29,328,115.63213313555211217 $HITValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HITCOIN
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; interface IRouter { function WETH() external view returns (address); function factory() external view returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } interface IFactory { function createPair(address tokenA, address tokenB) external returns (address pair); function getPair(address tokenA, address tokenB) external view returns (address pair); } contract Locker { uint256 unlockAt; IERC20 token; address receiver; bool public isUnlocked = false; IRouter router; constructor(IERC20 token_, IRouter router_, address receiver_) { unlockAt = block.timestamp + (14 days); token = token_; router = router_; receiver = receiver_; } function canUnlock() public view returns (bool) { return block.timestamp > unlockAt && !isUnlocked; } function unlock() public { require(canUnlock() && msg.sender == address(token), "can not unlock"); uint256 amount = token.balanceOf(address(this)); token.transfer(receiver, amount); IERC20 pair = IERC20(IFactory(router.factory()).getPair(address(token), router.WETH())); uint256 liquidity = pair.balanceOf(address(this)); if (liquidity > 0) { pair.transfer(receiver, liquidity); } isUnlocked = true; } } contract HITCOIN is ERC20, Ownable { using SafeMath for uint256; IRouter public immutable router; address public constant zeroAddr = address(0); address public constant deadAddr = address(0xdead); bool swapping; address public teamWallet; uint256 supply = 69420 * 1e6 * 1e18; uint256 maxWallet = supply * 1 / 100; // 1% uint256 maxSell = supply * 5 / 1000; // 0.5% uint256 constant fee = 2; uint256 constant liquidity = 1; // 1% uint256 constant burn = 1; // 1% uint256 transferFeeAt = supply * 5 / 10000; // 0.05 mapping(address=>uint256) _sellAmount; mapping(address=>uint256) _firstSell; uint256 constant limitSellPeriod = 6 hours; // 6 hours uint256 constant init = 10; // 10% uint256 constant team = 25; // 1/4 to team uint256 constant lock = 75; // 3/4 lock in 90 days Locker public locker; mapping(address => bool) public isExcludedFromFee; mapping(address => bool) public swapPairs; constructor(IRouter router_, address team_) ERC20("HIT COIN", "$HIT") { router = router_; address swapPair = IFactory(router.factory()).createPair(address(this), router.WETH()); swapPairs[swapPair] = true; teamWallet = team_; locker = new Locker(IERC20(this), router, teamWallet); excludeFromFee(teamWallet, true); excludeFromFee(address(locker), true); excludeFromFee(owner(), true); excludeFromFee(address(this), true); excludeFromFee(deadAddr, true); _approve(address(this), address(router), ~uint256(0)); uint256 initAmount = supply.mul(init).div(100); uint256 teamAmount = initAmount.mul(team).div(team+lock); _mint(teamWallet, teamAmount); _mint(address(locker), initAmount.sub(teamAmount)); _mint(owner(), supply.sub(initAmount)); } receive() external payable {} function unlock() public { require(locker.canUnlock(), "can not unlock"); swapping = true; locker.unlock(); swapping = false; } function excludeFromFee(address account, bool isExcluded) public onlyOwner { isExcludedFromFee[account] = isExcluded; } function setPair(address addr, bool isSwapPair) public { require(msg.sender == owner() || msg.sender == teamWallet, "not right caller"); swapPairs[addr] = isSwapPair; } function _transfer(address from, address to, uint256 amount) internal override { require(from != zeroAddr, "ERC20: transfer from the zero address"); require(to != zeroAddr, "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } uint256 feeInContract = balanceOf(address(this)); bool canSwap = feeInContract >= transferFeeAt; if ( canSwap && !swapPairs[from] && !swapping && !isExcludedFromFee[from] && !isExcludedFromFee[to] ) { swapping = true; _swapAndTransferFee(feeInContract); swapping = false; } bool takeFee = !swapping; if (isExcludedFromFee[from] || isExcludedFromFee[to]) { takeFee = false; } if (takeFee) { uint256 feeAmount = 0; if (swapPairs[to]) { require(_antiDump(amount, from), "can not sell"); } if (swapPairs[to] || swapPairs[from]) { feeAmount = amount.mul(fee).div(100); } if (feeAmount > 0) { super._transfer(from, address(this), feeAmount); amount = amount.sub(feeAmount); } } if (!swapping && locker.canUnlock()) { unlock(); } _checkMaxWallet(from, to, amount); super._transfer(from, to, amount); } function _checkMaxWallet(address from, address to, uint256 amount) private view { if(!isExcludedFromFee[from] && !isExcludedFromFee[to] && !swapPairs[to] && to != deadAddr){ require(balanceOf(to).add(amount) <= maxWallet, "max wallet"); } } function _antiDump(uint256 amount, address seller) private returns (bool) { uint256 firstSell = _firstSell[seller]; if (block.timestamp >= firstSell.add(limitSellPeriod)) { _firstSell[seller] = block.timestamp; _sellAmount[seller] = amount; } else { uint256 sellAmount = _sellAmount[seller]; if (sellAmount.add(amount) > maxSell) { return false; } _sellAmount[seller] = _sellAmount[seller].add(amount); } return true; } function _swapAndTransferFee(uint256 feeAmount) private { uint256 liquidityAmount = feeAmount.mul(liquidity).div(liquidity+burn); uint256 burnAmount = feeAmount.sub(liquidityAmount); super._transfer(address(this), deadAddr, burnAmount); _swapAndAddLiquidity(liquidityAmount); } function _swapAndAddLiquidity(uint256 amount) private { uint256 swapAmount = amount.div(2); _swapForETH(swapAmount); _addLiquidity(amount.sub(swapAmount), address(this).balance); } function _swapForETH(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp); } function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, locker.isUnlocked() ? teamWallet:address(locker), block.timestamp); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing 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.8.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]. * * 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}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 value {ERC20} uses, unless this function is * 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.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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; } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IRouter","name":"router_","type":"address"},{"internalType":"address","name":"team_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddr","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"locker","outputs":[{"internalType":"contract Locker","name":"","type":"address"}],"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":"router","outputs":[{"internalType":"contract IRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isSwapPair","type":"bool"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"swapPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","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":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zeroAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040526be04ee0ccb27ac646ac00000060075560646007546001620000279190620007d2565b620000339190620007ec565b6008556103e860075460056200004a9190620007d2565b620000569190620007ec565b60095561271060075460056200006d9190620007d2565b620000799190620007ec565b600a553480156200008957600080fd5b50604051620028e6380380620028e6833981016040819052620000ac9162000828565b604051806040016040528060088152602001672424aa1021a7a4a760c11b815250604051806040016040528060048152602001630912125560e21b8152508160039081620000fb91906200090b565b5060046200010a82826200090b565b50505062000127620001216200049e60201b60201c565b620004a2565b6001600160a01b03821660808190526040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa15801562000175573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200019b9190620009d7565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001eb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002119190620009d7565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200025f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002859190620009d7565b6001600160a01b038082166000908152600f602052604090819020805460ff19166001179055600680549286166001600160a01b03199093168317905560805190519293503092909190620002da90620007ae565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f08015801562000317573d6000803e3d6000fd5b50600d80546001600160a01b0319166001600160a01b039283161790556006546200034591166001620004f4565b600d546200035e906001600160a01b03166001620004f4565b6200037d620003756005546001600160a01b031690565b6001620004f4565b6200038a306001620004f4565b6200039961dead6001620004f4565b608051620003ac90309060001962000529565b6000620003e56064620003d1600a6007546200065560201b620008d81790919060201c565b6200066c60201b620008eb1790919060201c565b9050600062000416620003fb604b6019620009fe565b620003d16019856200065560201b620008d81790919060201c565b60065490915062000431906001600160a01b0316826200067a565b600d5462000460906001600160a01b03166200045a84846200073d602090811b620008f717901c565b6200067a565b62000493620004776005546001600160a01b031690565b6200045a846007546200073d60201b620008f71790919060201c565b505050505062000a2a565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620004fe6200074b565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b6001600160a01b038316620005915760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620005f45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000588565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000620006638284620007d2565b90505b92915050565b6000620006638284620007ec565b6001600160a01b038216620006d25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000588565b8060026000828254620006e69190620009fe565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600062000663828462000a14565b6005546001600160a01b03163314620007a75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000588565b565b505050565b61061280620022d483390190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620006665762000666620007bc565b6000826200080a57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03811681146200082557600080fd5b50565b600080604083850312156200083c57600080fd5b825162000849816200080f565b60208401519092506200085c816200080f565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200089257607f821691505b602082108103620008b357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007a957600081815260208120601f850160051c81016020861015620008e25750805b601f850160051c820191505b818110156200090357828155600101620008ee565b505050505050565b81516001600160401b0381111562000927576200092762000867565b6200093f816200093884546200087d565b84620008b9565b602080601f8311600181146200097757600084156200095e5750858301515b600019600386901b1c1916600185901b17855562000903565b600085815260208120601f198616915b82811015620009a85788860151825594840194600190910190840162000987565b5085821015620009c75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620009ea57600080fd5b8151620009f7816200080f565b9392505050565b80820180821115620006665762000666620007bc565b81810381811115620006665762000666620007bc565b60805161187962000a5b6000396000818161047b01528181611233015281816112eb015261135b01526118796000f3fe60806040526004361061014f5760003560e01c80638da5cb5b116100b6578063a9059cbb1161006f578063a9059cbb146103c9578063d7b96d4e146103e9578063dd62ed3e14610409578063df8408fe14610429578063f2fde38b14610449578063f887ea401461046957600080fd5b80638da5cb5b1461033657806395d89b4114610354578063a457c2d714610369578063a596252414610389578063a69df4b51461039f578063a86f42cb146103b457600080fd5b80634666670d116101085780634666670d146102315780635342acb414610261578063599270441461029157806370a08231146102c9578063715018a6146102ff57806386a22eff1461031657600080fd5b806306fdde031461015b578063095ea7b31461018657806318160ddd146101b657806323b872dd146101d5578063313ce567146101f5578063395093511461021157600080fd5b3661015657005b600080fd5b34801561016757600080fd5b5061017061049d565b60405161017d91906114bb565b60405180910390f35b34801561019257600080fd5b506101a66101a136600461151e565b61052f565b604051901515815260200161017d565b3480156101c257600080fd5b506002545b60405190815260200161017d565b3480156101e157600080fd5b506101a66101f036600461154a565b610549565b34801561020157600080fd5b506040516012815260200161017d565b34801561021d57600080fd5b506101a661022c36600461151e565b61056d565b34801561023d57600080fd5b506101a661024c36600461158b565b600f6020526000908152604090205460ff1681565b34801561026d57600080fd5b506101a661027c36600461158b565b600e6020526000908152604090205460ff1681565b34801561029d57600080fd5b506006546102b1906001600160a01b031681565b6040516001600160a01b03909116815260200161017d565b3480156102d557600080fd5b506101c76102e436600461158b565b6001600160a01b031660009081526020819052604090205490565b34801561030b57600080fd5b5061031461058f565b005b34801561032257600080fd5b506103146103313660046115b6565b6105a3565b34801561034257600080fd5b506005546001600160a01b03166102b1565b34801561036057600080fd5b50610170610635565b34801561037557600080fd5b506101a661038436600461151e565b610644565b34801561039557600080fd5b506102b161dead81565b3480156103ab57600080fd5b506103146106bf565b3480156103c057600080fd5b506102b1600081565b3480156103d557600080fd5b506101a66103e436600461151e565b6107f3565b3480156103f557600080fd5b50600d546102b1906001600160a01b031681565b34801561041557600080fd5b506101c76104243660046115ef565b610801565b34801561043557600080fd5b506103146104443660046115b6565b61082c565b34801561045557600080fd5b5061031461046436600461158b565b61085f565b34801561047557600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b6060600380546104ac9061161d565b80601f01602080910402602001604051908101604052809291908181526020018280546104d89061161d565b80156105255780601f106104fa57610100808354040283529160200191610525565b820191906000526020600020905b81548152906001019060200180831161050857829003601f168201915b5050505050905090565b60003361053d818585610903565b60019150505b92915050565b600033610557858285610a27565b610562858585610aa1565b506001949350505050565b60003361053d8185856105808383610801565b61058a919061166d565b610903565b610597610dc9565b6105a16000610e23565b565b6005546001600160a01b03163314806105c657506006546001600160a01b031633145b61060a5760405162461bcd60e51b815260206004820152601060248201526f3737ba103934b3b43a1031b0b63632b960811b60448201526064015b60405180910390fd5b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b6060600480546104ac9061161d565b600033816106528286610801565b9050838110156106b25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610601565b6105628286868403610903565b600d60009054906101000a90046001600160a01b03166001600160a01b031663c1586ad36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610712573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107369190611680565b6107735760405162461bcd60e51b815260206004820152600e60248201526d63616e206e6f7420756e6c6f636b60901b6044820152606401610601565b6005805460ff60a01b1916600160a01b179055600d546040805163a69df4b560e01b815290516001600160a01b039092169163a69df4b59160048082019260009290919082900301818387803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b50506005805460ff60a01b191690555050565b60003361053d818585610aa1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610834610dc9565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b610867610dc9565b6001600160a01b0381166108cc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610601565b6108d581610e23565b50565b60006108e4828461169d565b9392505050565b60006108e482846116b4565b60006108e482846116d6565b6001600160a01b0383166109655760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610601565b6001600160a01b0382166109c65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610601565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a338484610801565b90506000198114610a9b5781811015610a8e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610601565b610a9b8484848403610903565b50505050565b6001600160a01b038316610ac75760405162461bcd60e51b8152600401610601906116e9565b6001600160a01b038216610aed5760405162461bcd60e51b81526004016106019061172e565b80600003610b0657610b0183836000610e75565b505050565b30600090815260208190526040902054600a5481108015908190610b4357506001600160a01b0385166000908152600f602052604090205460ff16155b8015610b595750600554600160a01b900460ff16155b8015610b7e57506001600160a01b0385166000908152600e602052604090205460ff16155b8015610ba357506001600160a01b0384166000908152600e602052604090205460ff16155b15610bd2576005805460ff60a01b1916600160a01b179055610bc482610f9f565b6005805460ff60a01b191690555b6005546001600160a01b0386166000908152600e602052604090205460ff600160a01b909204821615911680610c2057506001600160a01b0385166000908152600e602052604090205460ff165b15610c29575060005b8015610d12576001600160a01b0385166000908152600f602052604081205460ff1615610c9557610c5a8588610fe0565b610c955760405162461bcd60e51b815260206004820152600c60248201526b18d85b881b9bdd081cd95b1b60a21b6044820152606401610601565b6001600160a01b0386166000908152600f602052604090205460ff1680610cd457506001600160a01b0387166000908152600f602052604090205460ff165b15610cf257610cef6064610ce98760026108d8565b906108eb565b90505b8015610d1057610d03873083610e75565b610d0d85826108f7565b94505b505b600554600160a01b900460ff16158015610d9e5750600d60009054906101000a90046001600160a01b03166001600160a01b031663c1586ad36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9e9190611680565b15610dab57610dab6106bf565b610db68686866110b7565b610dc1868686610e75565b505050505050565b6005546001600160a01b031633146105a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610601565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610e9b5760405162461bcd60e51b8152600401610601906116e9565b6001600160a01b038216610ec15760405162461bcd60e51b81526004016106019061172e565b6001600160a01b03831660009081526020819052604090205481811015610f395760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610601565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610a9b565b6000610fba610faf60018061166d565b610ce98460016108d8565b90506000610fc883836108f7565b9050610fd73061dead83610e75565b610b01826111a1565b6001600160a01b0381166000908152600c6020526040812054611005816154606111d0565b4210611038576001600160a01b0383166000908152600c60209081526040808320429055600b909152902084905561053d565b6001600160a01b0383166000908152600b602052604090205460095461105e82876111d0565b111561106f57600092505050610543565b6001600160a01b0384166000908152600b602052604090205461109290866111d0565b6001600160a01b0385166000908152600b602052604090205550600191505092915050565b6001600160a01b0383166000908152600e602052604090205460ff161580156110f957506001600160a01b0382166000908152600e602052604090205460ff16155b801561111e57506001600160a01b0382166000908152600f602052604090205460ff16155b801561113557506001600160a01b03821661dead14155b15610b015760085461116682611160856001600160a01b031660009081526020819052604090205490565b906111d0565b1115610b015760405162461bcd60e51b815260206004820152600a6024820152691b585e081dd85b1b195d60b21b6044820152606401610601565b60006111ae8260026108eb565b90506111b9816111dc565b6111cc6111c683836108f7565b47611359565b5050565b60006108e4828461166d565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061121157611211611771565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561128f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b39190611787565b816001815181106112c6576112c6611771565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac9479061132b9085906000908690309042906004016117a4565b600060405180830381600087803b15801561134557600080fd5b505af1158015610dc1573d6000803e3d6000fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d719823085600080600d60009054906101000a90046001600160a01b03166001600160a01b0316638380edb76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114059190611680565b61141a57600d546001600160a01b0316611427565b6006546001600160a01b03165b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561148f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906114b49190611815565b5050505050565b600060208083528351808285015260005b818110156114e8578581018301518582016040015282016114cc565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108d557600080fd5b6000806040838503121561153157600080fd5b823561153c81611509565b946020939093013593505050565b60008060006060848603121561155f57600080fd5b833561156a81611509565b9250602084013561157a81611509565b929592945050506040919091013590565b60006020828403121561159d57600080fd5b81356108e481611509565b80151581146108d557600080fd5b600080604083850312156115c957600080fd5b82356115d481611509565b915060208301356115e4816115a8565b809150509250929050565b6000806040838503121561160257600080fd5b823561160d81611509565b915060208301356115e481611509565b600181811c9082168061163157607f821691505b60208210810361165157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561054357610543611657565b60006020828403121561169257600080fd5b81516108e4816115a8565b808202811582820484141761054357610543611657565b6000826116d157634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561054357610543611657565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561179957600080fd5b81516108e481611509565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117f45784516001600160a01b0316835293830193918301916001016117cf565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561182a57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220e72e836a4cdae818e919dbbe60f07fdc7c83001c3ea139c0ae75a007aad63d3464736f6c6343000812003360806040526002805460ff60a01b1916905534801561001d57600080fd5b5060405161061238038061061283398101604081905261003c916100a6565b61004942621275006100f3565b600055600180546001600160a01b039485166001600160a01b03199182161790915560038054938516938216939093179092556002805491909316911617905561011a565b6001600160a01b03811681146100a357600080fd5b50565b6000806000606084860312156100bb57600080fd5b83516100c68161008e565b60208501519093506100d78161008e565b60408501519092506100e88161008e565b809150509250925092565b8082018082111561011457634e487b7160e01b600052601160045260246000fd5b92915050565b6104e9806101296000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80638380edb714610046578063a69df4b51461006e578063c1586ad314610078575b600080fd5b60025461005a90600160a01b900460ff1681565b604051901515815260200160405180910390f35b610076610080565b005b61005a610427565b610088610427565b801561009e57506001546001600160a01b031633145b6100df5760405162461bcd60e51b815260206004820152600e60248201526d63616e206e6f7420756e6c6f636b60901b604482015260640160405180910390fd5b6001546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014c9190610448565b60015460025460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052929350169063a9059cbb906044016020604051808303816000875af11580156101a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c79190610461565b506003546040805163c45a015560e01b815290516000926001600160a01b03169163c45a01559160048083019260209291908290030181865afa158015610212573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610236919061048a565b600154600354604080516315ab88c960e31b815290516001600160a01b039485169463e6a4390594811693169163ad5c46489160048083019260209291908290030181865afa15801561028d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b1919061048a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa1580156102fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610320919061048a565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561036a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038e9190610448565b9050801561040f5760025460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af11580156103e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040d9190610461565b505b50506002805460ff60a01b1916600160a01b17905550565b60008054421180156104435750600254600160a01b900460ff16155b905090565b60006020828403121561045a57600080fd5b5051919050565b60006020828403121561047357600080fd5b8151801515811461048357600080fd5b9392505050565b60006020828403121561049c57600080fd5b81516001600160a01b038116811461048357600080fdfea26469706673582212208fa45198f2f20d7522433eda52df91569a7d7d48d2fed15d840ddf42301f490c64736f6c634300081200330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c6c8e921870ab78fd5cb1bafe115d1da24e932eb
Deployed Bytecode
0x60806040526004361061014f5760003560e01c80638da5cb5b116100b6578063a9059cbb1161006f578063a9059cbb146103c9578063d7b96d4e146103e9578063dd62ed3e14610409578063df8408fe14610429578063f2fde38b14610449578063f887ea401461046957600080fd5b80638da5cb5b1461033657806395d89b4114610354578063a457c2d714610369578063a596252414610389578063a69df4b51461039f578063a86f42cb146103b457600080fd5b80634666670d116101085780634666670d146102315780635342acb414610261578063599270441461029157806370a08231146102c9578063715018a6146102ff57806386a22eff1461031657600080fd5b806306fdde031461015b578063095ea7b31461018657806318160ddd146101b657806323b872dd146101d5578063313ce567146101f5578063395093511461021157600080fd5b3661015657005b600080fd5b34801561016757600080fd5b5061017061049d565b60405161017d91906114bb565b60405180910390f35b34801561019257600080fd5b506101a66101a136600461151e565b61052f565b604051901515815260200161017d565b3480156101c257600080fd5b506002545b60405190815260200161017d565b3480156101e157600080fd5b506101a66101f036600461154a565b610549565b34801561020157600080fd5b506040516012815260200161017d565b34801561021d57600080fd5b506101a661022c36600461151e565b61056d565b34801561023d57600080fd5b506101a661024c36600461158b565b600f6020526000908152604090205460ff1681565b34801561026d57600080fd5b506101a661027c36600461158b565b600e6020526000908152604090205460ff1681565b34801561029d57600080fd5b506006546102b1906001600160a01b031681565b6040516001600160a01b03909116815260200161017d565b3480156102d557600080fd5b506101c76102e436600461158b565b6001600160a01b031660009081526020819052604090205490565b34801561030b57600080fd5b5061031461058f565b005b34801561032257600080fd5b506103146103313660046115b6565b6105a3565b34801561034257600080fd5b506005546001600160a01b03166102b1565b34801561036057600080fd5b50610170610635565b34801561037557600080fd5b506101a661038436600461151e565b610644565b34801561039557600080fd5b506102b161dead81565b3480156103ab57600080fd5b506103146106bf565b3480156103c057600080fd5b506102b1600081565b3480156103d557600080fd5b506101a66103e436600461151e565b6107f3565b3480156103f557600080fd5b50600d546102b1906001600160a01b031681565b34801561041557600080fd5b506101c76104243660046115ef565b610801565b34801561043557600080fd5b506103146104443660046115b6565b61082c565b34801561045557600080fd5b5061031461046436600461158b565b61085f565b34801561047557600080fd5b506102b17f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6060600380546104ac9061161d565b80601f01602080910402602001604051908101604052809291908181526020018280546104d89061161d565b80156105255780601f106104fa57610100808354040283529160200191610525565b820191906000526020600020905b81548152906001019060200180831161050857829003601f168201915b5050505050905090565b60003361053d818585610903565b60019150505b92915050565b600033610557858285610a27565b610562858585610aa1565b506001949350505050565b60003361053d8185856105808383610801565b61058a919061166d565b610903565b610597610dc9565b6105a16000610e23565b565b6005546001600160a01b03163314806105c657506006546001600160a01b031633145b61060a5760405162461bcd60e51b815260206004820152601060248201526f3737ba103934b3b43a1031b0b63632b960811b60448201526064015b60405180910390fd5b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b6060600480546104ac9061161d565b600033816106528286610801565b9050838110156106b25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610601565b6105628286868403610903565b600d60009054906101000a90046001600160a01b03166001600160a01b031663c1586ad36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610712573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107369190611680565b6107735760405162461bcd60e51b815260206004820152600e60248201526d63616e206e6f7420756e6c6f636b60901b6044820152606401610601565b6005805460ff60a01b1916600160a01b179055600d546040805163a69df4b560e01b815290516001600160a01b039092169163a69df4b59160048082019260009290919082900301818387803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b50506005805460ff60a01b191690555050565b60003361053d818585610aa1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610834610dc9565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b610867610dc9565b6001600160a01b0381166108cc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610601565b6108d581610e23565b50565b60006108e4828461169d565b9392505050565b60006108e482846116b4565b60006108e482846116d6565b6001600160a01b0383166109655760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610601565b6001600160a01b0382166109c65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610601565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a338484610801565b90506000198114610a9b5781811015610a8e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610601565b610a9b8484848403610903565b50505050565b6001600160a01b038316610ac75760405162461bcd60e51b8152600401610601906116e9565b6001600160a01b038216610aed5760405162461bcd60e51b81526004016106019061172e565b80600003610b0657610b0183836000610e75565b505050565b30600090815260208190526040902054600a5481108015908190610b4357506001600160a01b0385166000908152600f602052604090205460ff16155b8015610b595750600554600160a01b900460ff16155b8015610b7e57506001600160a01b0385166000908152600e602052604090205460ff16155b8015610ba357506001600160a01b0384166000908152600e602052604090205460ff16155b15610bd2576005805460ff60a01b1916600160a01b179055610bc482610f9f565b6005805460ff60a01b191690555b6005546001600160a01b0386166000908152600e602052604090205460ff600160a01b909204821615911680610c2057506001600160a01b0385166000908152600e602052604090205460ff165b15610c29575060005b8015610d12576001600160a01b0385166000908152600f602052604081205460ff1615610c9557610c5a8588610fe0565b610c955760405162461bcd60e51b815260206004820152600c60248201526b18d85b881b9bdd081cd95b1b60a21b6044820152606401610601565b6001600160a01b0386166000908152600f602052604090205460ff1680610cd457506001600160a01b0387166000908152600f602052604090205460ff165b15610cf257610cef6064610ce98760026108d8565b906108eb565b90505b8015610d1057610d03873083610e75565b610d0d85826108f7565b94505b505b600554600160a01b900460ff16158015610d9e5750600d60009054906101000a90046001600160a01b03166001600160a01b031663c1586ad36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9e9190611680565b15610dab57610dab6106bf565b610db68686866110b7565b610dc1868686610e75565b505050505050565b6005546001600160a01b031633146105a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610601565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610e9b5760405162461bcd60e51b8152600401610601906116e9565b6001600160a01b038216610ec15760405162461bcd60e51b81526004016106019061172e565b6001600160a01b03831660009081526020819052604090205481811015610f395760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610601565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610a9b565b6000610fba610faf60018061166d565b610ce98460016108d8565b90506000610fc883836108f7565b9050610fd73061dead83610e75565b610b01826111a1565b6001600160a01b0381166000908152600c6020526040812054611005816154606111d0565b4210611038576001600160a01b0383166000908152600c60209081526040808320429055600b909152902084905561053d565b6001600160a01b0383166000908152600b602052604090205460095461105e82876111d0565b111561106f57600092505050610543565b6001600160a01b0384166000908152600b602052604090205461109290866111d0565b6001600160a01b0385166000908152600b602052604090205550600191505092915050565b6001600160a01b0383166000908152600e602052604090205460ff161580156110f957506001600160a01b0382166000908152600e602052604090205460ff16155b801561111e57506001600160a01b0382166000908152600f602052604090205460ff16155b801561113557506001600160a01b03821661dead14155b15610b015760085461116682611160856001600160a01b031660009081526020819052604090205490565b906111d0565b1115610b015760405162461bcd60e51b815260206004820152600a6024820152691b585e081dd85b1b195d60b21b6044820152606401610601565b60006111ae8260026108eb565b90506111b9816111dc565b6111cc6111c683836108f7565b47611359565b5050565b60006108e4828461166d565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061121157611211611771565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561128f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b39190611787565b816001815181106112c6576112c6611771565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac9479061132b9085906000908690309042906004016117a4565b600060405180830381600087803b15801561134557600080fd5b505af1158015610dc1573d6000803e3d6000fd5b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d719823085600080600d60009054906101000a90046001600160a01b03166001600160a01b0316638380edb76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114059190611680565b61141a57600d546001600160a01b0316611427565b6006546001600160a01b03165b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561148f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906114b49190611815565b5050505050565b600060208083528351808285015260005b818110156114e8578581018301518582016040015282016114cc565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108d557600080fd5b6000806040838503121561153157600080fd5b823561153c81611509565b946020939093013593505050565b60008060006060848603121561155f57600080fd5b833561156a81611509565b9250602084013561157a81611509565b929592945050506040919091013590565b60006020828403121561159d57600080fd5b81356108e481611509565b80151581146108d557600080fd5b600080604083850312156115c957600080fd5b82356115d481611509565b915060208301356115e4816115a8565b809150509250929050565b6000806040838503121561160257600080fd5b823561160d81611509565b915060208301356115e481611509565b600181811c9082168061163157607f821691505b60208210810361165157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561054357610543611657565b60006020828403121561169257600080fd5b81516108e4816115a8565b808202811582820484141761054357610543611657565b6000826116d157634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561054357610543611657565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561179957600080fd5b81516108e481611509565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117f45784516001600160a01b0316835293830193918301916001016117cf565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561182a57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220e72e836a4cdae818e919dbbe60f07fdc7c83001c3ea139c0ae75a007aad63d3464736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c6c8e921870ab78fd5cb1bafe115d1da24e932eb
-----Decoded View---------------
Arg [0] : router_ (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : team_ (address): 0xc6C8e921870AB78Fd5CB1bAfe115D1Da24e932Eb
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000c6c8e921870ab78fd5cb1bafe115d1da24e932eb
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.