Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 KAZU
Holders
191
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
480,000.000848030183796857 KAZUValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Kazumi
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; pragma experimental ABIEncoderV2; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } 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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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); } } interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @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); } 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); } /** * @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.zeppelin.solutions/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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, 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; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, 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 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 {} } ////// lib/openzeppelin-contracts/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts v4.4.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 substraction 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; } } } interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function factory() external pure returns (address); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract Kazumi is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); address public USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48; bool private swapping; address private treasuryWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; uint256 public buyTotalFees; uint256 public buyTreasuryFee; uint256 public buyLiquidityFee; uint256 public sellTotalFees; uint256 public sellTreasuryFee; uint256 public sellLiquidityFee; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; event ExcludeFromFees(address indexed account, bool isExcluded); event treasuryWalletUpdated( address indexed newWallet, address indexed oldWallet ); constructor() ERC20("KAZUMI", "KAZU") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), USDC); excludeFromMaxTransaction(address(uniswapV2Pair), true); uint256 _buyTreasuryFee = 1; uint256 _buyLiquidityFee = 3; uint256 _sellTreasuryFee = 1; uint256 _sellLiquidityFee = 3; uint256 totalSupply = 1_000_000_000 * 1e18; maxTransactionAmount = totalSupply * 1 / 100; // 1% maxTxn maxWallet = totalSupply * 1 / 100; // 1% initial maxWallet swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05% swap wallet buyTreasuryFee = _buyTreasuryFee; buyLiquidityFee = _buyLiquidityFee; buyTotalFees = buyTreasuryFee + buyLiquidityFee; sellTreasuryFee = _sellTreasuryFee; sellLiquidityFee = _sellLiquidityFee; sellTotalFees = sellTreasuryFee + sellLiquidityFee; // exclude from fees/maxTxn excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); _mint(msg.sender, totalSupply); } receive() external payable {} // once enabled, can never be turned off function enableTrading() external onlyOwner { tradingActive = true; swapEnabled = true; } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply." ); swapTokensAtAmount = newAmount; return true; } function updateMaxTxnAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 1000) / 1e18, "Cannot set maxTransactionAmount lower than 0.1%" ); maxTransactionAmount = newNum * (10**18); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxWallet lower than 0.5%" ); maxWallet = newNum * (10**18); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function updateBuyFees( uint256 _treasuryFee, uint256 _liquidityFee ) external onlyOwner { buyTreasuryFee = _treasuryFee; buyLiquidityFee = _liquidityFee; buyTotalFees = buyTreasuryFee + buyLiquidityFee; require(buyTotalFees <= 10, "Must keep fees at 10% or less"); } function updateSellFees( uint256 _treasuryFee, uint256 _liquidityFee ) external onlyOwner { sellTreasuryFee = _treasuryFee; sellLiquidityFee = _liquidityFee; sellTotalFees = sellTreasuryFee + sellLiquidityFee; require(sellTotalFees <= 10, "Must keep fees at 10% or less"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function updateTreasuryWallet(address newTreasuryWallet) external onlyOwner { emit treasuryWalletUpdated(newTreasuryWallet, treasuryWallet); treasuryWallet = newTreasuryWallet; } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. //when buy if ( from == uniswapV2Pair && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && to == uniswapV2Pair && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; uint256 tokensForLiquidity = 0; uint256 tokensForTreasury = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if (to == uniswapV2Pair && sellTotalFees > 0) { fees = amount.mul(sellTotalFees).div(100); tokensForLiquidity = (fees * sellLiquidityFee) / sellTotalFees; tokensForTreasury = (fees * sellTreasuryFee) / sellTotalFees; } // on buy else if (from == uniswapV2Pair && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); tokensForLiquidity = (fees * buyLiquidityFee) / buyTotalFees; tokensForTreasury = (fees * buyTreasuryFee) / buyTotalFees; } if (fees > 0) { super._transfer(from, address(this), fees); } if (tokensForLiquidity > 0) { super._transfer(address(this), uniswapV2Pair, tokensForLiquidity); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForUSDC(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = USDC; _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of USDC path, treasuryWallet, block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); if (contractBalance == 0) { return; } if (contractBalance > swapTokensAtAmount * 20) { contractBalance = swapTokensAtAmount * 20; } swapTokensForUSDC(contractBalance); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"treasuryWalletUpdated","type":"event"},{"inputs":[],"name":"USDC","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_treasuryFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_treasuryFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTreasuryWallet","type":"address"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600680546001600160a01b03191673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48179055600b805462ffffff191660011790553480156200004657600080fd5b5060408051808201825260068152654b415a554d4960d01b6020808301918252835180850190945260048452634b415a5560e01b908401528151919291620000919160039162000576565b508051620000a790600490602084019062000576565b505050620000c4620000be6200031760201b60201c565b6200031b565b737a250d5630b4cf539739df2c5dacb4c659f2488d620000e68160016200036d565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000131573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015791906200061c565b6006546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015620001a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001cf91906200061c565b6001600160a01b031660a0819052620001ea9060016200036d565b6001600381816b033b2e3c9fd0803ce800000060646200020b828562000664565b62000217919062000686565b60085560646200022982600162000664565b62000235919062000686565b600a556127106200024882600562000664565b62000254919062000686565b600955600d859055600e8490556200026d8486620006a9565b600c5560108390556011829055620002868284620006a9565b600f55620002a8620002a06005546001600160a01b031690565b6001620003e7565b620002b5306001620003e7565b620002c461dead6001620003e7565b620002e3620002db6005546001600160a01b031690565b60016200036d565b620002f03060016200036d565b620002ff61dead60016200036d565b6200030b338262000491565b50505050505062000701565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620003bc5760405162461bcd60e51b815260206004820181905260248201526000805160206200262d83398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314620004325760405162461bcd60e51b815260206004820181905260248201526000805160206200262d8339815191526044820152606401620003b3565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620004e95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620003b3565b8060026000828254620004fd9190620006a9565b90915550506001600160a01b038216600090815260208190526040812080548392906200052c908490620006a9565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200058490620006c4565b90600052602060002090601f016020900481019282620005a85760008555620005f3565b82601f10620005c357805160ff1916838001178555620005f3565b82800160010185558215620005f3579182015b82811115620005f3578251825591602001919060010190620005d6565b506200060192915062000605565b5090565b5b8082111562000601576000815560010162000606565b6000602082840312156200062f57600080fd5b81516001600160a01b03811681146200064757600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156200068157620006816200064e565b500290565b600082620006a457634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115620006bf57620006bf6200064e565b500190565b600181811c90821680620006d957607f821691505b60208210811415620006fb57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051611ed562000758600039600081816103f2015281816112ce015281816114df015281816115ef01528181611698015261175201526000818161031501528181611a330152611a720152611ed56000f3fe60806040526004361061024a5760003560e01c8063751039fc11610139578063c0246668116100b6578063dd62ed3e1161007a578063dd62ed3e146106dc578063e2f4560514610722578063f11a24d314610738578063f2fde38b1461074e578063f63743421461076e578063f8b45b051461078457600080fd5b8063c024666814610650578063c18bc19514610670578063c8c8ebe414610690578063d257b34f146106a6578063d85ba063146106c657600080fd5b80638da5cb5b116100fd5780638da5cb5b146105be578063924de9b7146105dc57806395d89b41146105fc578063a9059cbb14610611578063bbc0c7421461063157600080fd5b8063751039fc146105345780637571336a14610549578063809d458d1461056957806389a30271146105895780638a8c523c146105a957600080fd5b806349bd5a5e116101c75780636a486a8e1161018b5780636a486a8e1461049d5780636b2fb124146104b35780636ddd1713146104c957806370a08231146104e9578063715018a61461051f57600080fd5b806349bd5a5e146103e05780634a62bb65146104145780634fbee1931461042e5780635c068a8c1461046757806366ca9b831461047d57600080fd5b806318160ddd1161020e57806318160ddd1461034f578063203e727e1461036e57806323b872dd1461038e57806327c8f835146103ae578063313ce567146103c457600080fd5b806302dbd8f81461025657806306fdde0314610278578063095ea7b3146102a357806310d5de53146102d35780631694505e1461030357600080fd5b3661025157005b600080fd5b34801561026257600080fd5b50610276610271366004611aea565b61079a565b005b34801561028457600080fd5b5061028d61083a565b60405161029a9190611b0c565b60405180910390f35b3480156102af57600080fd5b506102c36102be366004611b78565b6108cc565b604051901515815260200161029a565b3480156102df57600080fd5b506102c36102ee366004611ba2565b60136020526000908152604090205460ff1681565b34801561030f57600080fd5b506103377f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161029a565b34801561035b57600080fd5b506002545b60405190815260200161029a565b34801561037a57600080fd5b50610276610389366004611bbd565b6108e2565b34801561039a57600080fd5b506102c36103a9366004611bd6565b6109bf565b3480156103ba57600080fd5b5061033761dead81565b3480156103d057600080fd5b506040516012815260200161029a565b3480156103ec57600080fd5b506103377f000000000000000000000000000000000000000000000000000000000000000081565b34801561042057600080fd5b50600b546102c39060ff1681565b34801561043a57600080fd5b506102c3610449366004611ba2565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561047357600080fd5b50610360600d5481565b34801561048957600080fd5b50610276610498366004611aea565b610a69565b3480156104a957600080fd5b50610360600f5481565b3480156104bf57600080fd5b5061036060105481565b3480156104d557600080fd5b50600b546102c39062010000900460ff1681565b3480156104f557600080fd5b50610360610504366004611ba2565b6001600160a01b031660009081526020819052604090205490565b34801561052b57600080fd5b50610276610afc565b34801561054057600080fd5b506102c3610b32565b34801561055557600080fd5b50610276610564366004611c22565b610b6f565b34801561057557600080fd5b50610276610584366004611ba2565b610bc4565b34801561059557600080fd5b50600654610337906001600160a01b031681565b3480156105b557600080fd5b50610276610c4b565b3480156105ca57600080fd5b506005546001600160a01b0316610337565b3480156105e857600080fd5b506102766105f7366004611c55565b610c88565b34801561060857600080fd5b5061028d610cce565b34801561061d57600080fd5b506102c361062c366004611b78565b610cdd565b34801561063d57600080fd5b50600b546102c390610100900460ff1681565b34801561065c57600080fd5b5061027661066b366004611c22565b610cea565b34801561067c57600080fd5b5061027661068b366004611bbd565b610d73565b34801561069c57600080fd5b5061036060085481565b3480156106b257600080fd5b506102c36106c1366004611bbd565b610e44565b3480156106d257600080fd5b50610360600c5481565b3480156106e857600080fd5b506103606106f7366004611c70565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561072e57600080fd5b5061036060095481565b34801561074457600080fd5b50610360600e5481565b34801561075a57600080fd5b50610276610769366004611ba2565b610f9b565b34801561077a57600080fd5b5061036060115481565b34801561079057600080fd5b50610360600a5481565b6005546001600160a01b031633146107cd5760405162461bcd60e51b81526004016107c490611c9a565b60405180910390fd5b601082905560118190556107e18183611ce5565b600f819055600a10156108365760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c65737300000060448201526064016107c4565b5050565b60606003805461084990611cfd565b80601f016020809104026020016040519081016040528092919081815260200182805461087590611cfd565b80156108c25780601f10610897576101008083540402835291602001916108c2565b820191906000526020600020905b8154815290600101906020018083116108a557829003601f168201915b5050505050905090565b60006108d9338484611036565b50600192915050565b6005546001600160a01b0316331461090c5760405162461bcd60e51b81526004016107c490611c9a565b670de0b6b3a76400006103e861092160025490565b61092c906001611d38565b6109369190611d57565b6109409190611d57565b8110156109a75760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b60648201526084016107c4565b6109b981670de0b6b3a7640000611d38565b60085550565b60006109cc84848461115a565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610a515760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016107c4565b610a5e8533858403611036565b506001949350505050565b6005546001600160a01b03163314610a935760405162461bcd60e51b81526004016107c490611c9a565b600d829055600e819055610aa78183611ce5565b600c819055600a10156108365760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c65737300000060448201526064016107c4565b6005546001600160a01b03163314610b265760405162461bcd60e51b81526004016107c490611c9a565b610b30600061179a565b565b6005546000906001600160a01b03163314610b5f5760405162461bcd60e51b81526004016107c490611c9a565b50600b805460ff19169055600190565b6005546001600160a01b03163314610b995760405162461bcd60e51b81526004016107c490611c9a565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610bee5760405162461bcd60e51b81526004016107c490611c9a565b6007546040516001600160a01b03918216918316907f02f8a1483978974a6412ba3a67040b4daa4fc0dfe9439a7295f9a9538394f63590600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610c755760405162461bcd60e51b81526004016107c490611c9a565b600b805462ffff00191662010100179055565b6005546001600160a01b03163314610cb25760405162461bcd60e51b81526004016107c490611c9a565b600b8054911515620100000262ff000019909216919091179055565b60606004805461084990611cfd565b60006108d933848461115a565b6005546001600160a01b03163314610d145760405162461bcd60e51b81526004016107c490611c9a565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314610d9d5760405162461bcd60e51b81526004016107c490611c9a565b670de0b6b3a76400006103e8610db260025490565b610dbd906005611d38565b610dc79190611d57565b610dd19190611d57565b811015610e2c5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b60648201526084016107c4565b610e3e81670de0b6b3a7640000611d38565b600a5550565b6005546000906001600160a01b03163314610e715760405162461bcd60e51b81526004016107c490611c9a565b620186a0610e7e60025490565b610e89906001611d38565b610e939190611d57565b821015610f005760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b60648201526084016107c4565b6103e8610f0c60025490565b610f17906005611d38565b610f219190611d57565b821115610f8d5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b60648201526084016107c4565b50600981905560015b919050565b6005546001600160a01b03163314610fc55760405162461bcd60e51b81526004016107c490611c9a565b6001600160a01b03811661102a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c4565b6110338161179a565b50565b6001600160a01b0383166110985760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107c4565b6001600160a01b0382166110f95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107c4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166111805760405162461bcd60e51b81526004016107c490611d79565b6001600160a01b0382166111a65760405162461bcd60e51b81526004016107c490611dbe565b806111bc576111b7838360006117ec565b505050565b600b5460ff1615611494576005546001600160a01b038481169116148015906111f357506005546001600160a01b03838116911614155b801561120757506001600160a01b03821615155b801561121e57506001600160a01b03821661dead14155b80156112345750600654600160a01b900460ff16155b1561149457600b54610100900460ff166112cc576001600160a01b03831660009081526012602052604090205460ff168061128757506001600160a01b03821660009081526012602052604090205460ff165b6112cc5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016107c4565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614801561132657506001600160a01b03821660009081526013602052604090205460ff16155b1561140a5760085481111561139b5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016107c4565b600a546001600160a01b0383166000908152602081905260409020546113c19083611ce5565b11156114055760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107c4565b611494565b6001600160a01b03821660009081526013602052604090205460ff1661149457600a546001600160a01b0383166000908152602081905260409020546114509083611ce5565b11156114945760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107c4565b30600090815260208190526040902054600954811080159081906114c05750600b5462010000900460ff165b80156114d65750600654600160a01b900460ff16155b801561151357507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316145b801561153857506001600160a01b03851660009081526012602052604090205460ff16155b801561155d57506001600160a01b03841660009081526012602052604090205460ff16155b1561158b576006805460ff60a01b1916600160a01b17905561157d611941565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526012602052604090205460ff600160a01b9092048216159116806115d957506001600160a01b03851660009081526012602052604090205460ff165b156115e2575060005b60008060008315611784577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316886001600160a01b031614801561163057506000600f54115b1561169657611655606461164f600f548a61198890919063ffffffff16565b9061199b565b9250600f54601154846116689190611d38565b6116729190611d57565b9150600f54601054846116859190611d38565b61168f9190611d57565b9050611735565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316896001600160a01b03161480156116d957506000600c54115b15611735576116f8606461164f600c548a61198890919063ffffffff16565b9250600c54600e548461170b9190611d38565b6117159190611d57565b9150600c54600d54846117289190611d38565b6117329190611d57565b90505b8215611746576117468930856117ec565b811561177757611777307f0000000000000000000000000000000000000000000000000000000000000000846117ec565b6117818388611e01565b96505b61178f8989896117ec565b505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166118125760405162461bcd60e51b81526004016107c490611d79565b6001600160a01b0382166118385760405162461bcd60e51b81526004016107c490611dbe565b6001600160a01b038316600090815260208190526040902054818110156118b05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107c4565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906118e7908490611ce5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161193391815260200190565b60405180910390a350505050565b30600090815260208190526040902054806119595750565b600954611967906014611d38565b81111561197f5760095461197c906014611d38565b90505b611033816119a7565b60006119948284611d38565b9392505050565b60006119948284611d57565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106119dc576119dc611e18565b6001600160a01b039283166020918202929092010152600654825191169082906001908110611a0d57611a0d611e18565b60200260200101906001600160a01b031690816001600160a01b031681525050611a58307f000000000000000000000000000000000000000000000000000000000000000084611036565b600754604051635c11d79560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811692635c11d79592611ab4928792600092889291909116904290600401611e2e565b600060405180830381600087803b158015611ace57600080fd5b505af1158015611ae2573d6000803e3d6000fd5b505050505050565b60008060408385031215611afd57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015611b3957858101830151858201604001528201611b1d565b81811115611b4b576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610f9657600080fd5b60008060408385031215611b8b57600080fd5b611b9483611b61565b946020939093013593505050565b600060208284031215611bb457600080fd5b61199482611b61565b600060208284031215611bcf57600080fd5b5035919050565b600080600060608486031215611beb57600080fd5b611bf484611b61565b9250611c0260208501611b61565b9150604084013590509250925092565b80358015158114610f9657600080fd5b60008060408385031215611c3557600080fd5b611c3e83611b61565b9150611c4c60208401611c12565b90509250929050565b600060208284031215611c6757600080fd5b61199482611c12565b60008060408385031215611c8357600080fd5b611c8c83611b61565b9150611c4c60208401611b61565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611cf857611cf8611ccf565b500190565b600181811c90821680611d1157607f821691505b60208210811415611d3257634e487b7160e01b600052602260045260246000fd5b50919050565b6000816000190483118215151615611d5257611d52611ccf565b500290565b600082611d7457634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015611e1357611e13611ccf565b500390565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611e7e5784516001600160a01b031683529383019391830191600101611e59565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220556c0f362a7bfae47cb850816438d8670cc6a659f839aa1372eeac3b91c4a6b964736f6c634300080a00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x60806040526004361061024a5760003560e01c8063751039fc11610139578063c0246668116100b6578063dd62ed3e1161007a578063dd62ed3e146106dc578063e2f4560514610722578063f11a24d314610738578063f2fde38b1461074e578063f63743421461076e578063f8b45b051461078457600080fd5b8063c024666814610650578063c18bc19514610670578063c8c8ebe414610690578063d257b34f146106a6578063d85ba063146106c657600080fd5b80638da5cb5b116100fd5780638da5cb5b146105be578063924de9b7146105dc57806395d89b41146105fc578063a9059cbb14610611578063bbc0c7421461063157600080fd5b8063751039fc146105345780637571336a14610549578063809d458d1461056957806389a30271146105895780638a8c523c146105a957600080fd5b806349bd5a5e116101c75780636a486a8e1161018b5780636a486a8e1461049d5780636b2fb124146104b35780636ddd1713146104c957806370a08231146104e9578063715018a61461051f57600080fd5b806349bd5a5e146103e05780634a62bb65146104145780634fbee1931461042e5780635c068a8c1461046757806366ca9b831461047d57600080fd5b806318160ddd1161020e57806318160ddd1461034f578063203e727e1461036e57806323b872dd1461038e57806327c8f835146103ae578063313ce567146103c457600080fd5b806302dbd8f81461025657806306fdde0314610278578063095ea7b3146102a357806310d5de53146102d35780631694505e1461030357600080fd5b3661025157005b600080fd5b34801561026257600080fd5b50610276610271366004611aea565b61079a565b005b34801561028457600080fd5b5061028d61083a565b60405161029a9190611b0c565b60405180910390f35b3480156102af57600080fd5b506102c36102be366004611b78565b6108cc565b604051901515815260200161029a565b3480156102df57600080fd5b506102c36102ee366004611ba2565b60136020526000908152604090205460ff1681565b34801561030f57600080fd5b506103377f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161029a565b34801561035b57600080fd5b506002545b60405190815260200161029a565b34801561037a57600080fd5b50610276610389366004611bbd565b6108e2565b34801561039a57600080fd5b506102c36103a9366004611bd6565b6109bf565b3480156103ba57600080fd5b5061033761dead81565b3480156103d057600080fd5b506040516012815260200161029a565b3480156103ec57600080fd5b506103377f000000000000000000000000e00f200136c8d3d84e54cef67217ceb9b1db922081565b34801561042057600080fd5b50600b546102c39060ff1681565b34801561043a57600080fd5b506102c3610449366004611ba2565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561047357600080fd5b50610360600d5481565b34801561048957600080fd5b50610276610498366004611aea565b610a69565b3480156104a957600080fd5b50610360600f5481565b3480156104bf57600080fd5b5061036060105481565b3480156104d557600080fd5b50600b546102c39062010000900460ff1681565b3480156104f557600080fd5b50610360610504366004611ba2565b6001600160a01b031660009081526020819052604090205490565b34801561052b57600080fd5b50610276610afc565b34801561054057600080fd5b506102c3610b32565b34801561055557600080fd5b50610276610564366004611c22565b610b6f565b34801561057557600080fd5b50610276610584366004611ba2565b610bc4565b34801561059557600080fd5b50600654610337906001600160a01b031681565b3480156105b557600080fd5b50610276610c4b565b3480156105ca57600080fd5b506005546001600160a01b0316610337565b3480156105e857600080fd5b506102766105f7366004611c55565b610c88565b34801561060857600080fd5b5061028d610cce565b34801561061d57600080fd5b506102c361062c366004611b78565b610cdd565b34801561063d57600080fd5b50600b546102c390610100900460ff1681565b34801561065c57600080fd5b5061027661066b366004611c22565b610cea565b34801561067c57600080fd5b5061027661068b366004611bbd565b610d73565b34801561069c57600080fd5b5061036060085481565b3480156106b257600080fd5b506102c36106c1366004611bbd565b610e44565b3480156106d257600080fd5b50610360600c5481565b3480156106e857600080fd5b506103606106f7366004611c70565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561072e57600080fd5b5061036060095481565b34801561074457600080fd5b50610360600e5481565b34801561075a57600080fd5b50610276610769366004611ba2565b610f9b565b34801561077a57600080fd5b5061036060115481565b34801561079057600080fd5b50610360600a5481565b6005546001600160a01b031633146107cd5760405162461bcd60e51b81526004016107c490611c9a565b60405180910390fd5b601082905560118190556107e18183611ce5565b600f819055600a10156108365760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c65737300000060448201526064016107c4565b5050565b60606003805461084990611cfd565b80601f016020809104026020016040519081016040528092919081815260200182805461087590611cfd565b80156108c25780601f10610897576101008083540402835291602001916108c2565b820191906000526020600020905b8154815290600101906020018083116108a557829003601f168201915b5050505050905090565b60006108d9338484611036565b50600192915050565b6005546001600160a01b0316331461090c5760405162461bcd60e51b81526004016107c490611c9a565b670de0b6b3a76400006103e861092160025490565b61092c906001611d38565b6109369190611d57565b6109409190611d57565b8110156109a75760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b60648201526084016107c4565b6109b981670de0b6b3a7640000611d38565b60085550565b60006109cc84848461115a565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610a515760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016107c4565b610a5e8533858403611036565b506001949350505050565b6005546001600160a01b03163314610a935760405162461bcd60e51b81526004016107c490611c9a565b600d829055600e819055610aa78183611ce5565b600c819055600a10156108365760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c65737300000060448201526064016107c4565b6005546001600160a01b03163314610b265760405162461bcd60e51b81526004016107c490611c9a565b610b30600061179a565b565b6005546000906001600160a01b03163314610b5f5760405162461bcd60e51b81526004016107c490611c9a565b50600b805460ff19169055600190565b6005546001600160a01b03163314610b995760405162461bcd60e51b81526004016107c490611c9a565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610bee5760405162461bcd60e51b81526004016107c490611c9a565b6007546040516001600160a01b03918216918316907f02f8a1483978974a6412ba3a67040b4daa4fc0dfe9439a7295f9a9538394f63590600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610c755760405162461bcd60e51b81526004016107c490611c9a565b600b805462ffff00191662010100179055565b6005546001600160a01b03163314610cb25760405162461bcd60e51b81526004016107c490611c9a565b600b8054911515620100000262ff000019909216919091179055565b60606004805461084990611cfd565b60006108d933848461115a565b6005546001600160a01b03163314610d145760405162461bcd60e51b81526004016107c490611c9a565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314610d9d5760405162461bcd60e51b81526004016107c490611c9a565b670de0b6b3a76400006103e8610db260025490565b610dbd906005611d38565b610dc79190611d57565b610dd19190611d57565b811015610e2c5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b60648201526084016107c4565b610e3e81670de0b6b3a7640000611d38565b600a5550565b6005546000906001600160a01b03163314610e715760405162461bcd60e51b81526004016107c490611c9a565b620186a0610e7e60025490565b610e89906001611d38565b610e939190611d57565b821015610f005760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b60648201526084016107c4565b6103e8610f0c60025490565b610f17906005611d38565b610f219190611d57565b821115610f8d5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b60648201526084016107c4565b50600981905560015b919050565b6005546001600160a01b03163314610fc55760405162461bcd60e51b81526004016107c490611c9a565b6001600160a01b03811661102a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c4565b6110338161179a565b50565b6001600160a01b0383166110985760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107c4565b6001600160a01b0382166110f95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107c4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166111805760405162461bcd60e51b81526004016107c490611d79565b6001600160a01b0382166111a65760405162461bcd60e51b81526004016107c490611dbe565b806111bc576111b7838360006117ec565b505050565b600b5460ff1615611494576005546001600160a01b038481169116148015906111f357506005546001600160a01b03838116911614155b801561120757506001600160a01b03821615155b801561121e57506001600160a01b03821661dead14155b80156112345750600654600160a01b900460ff16155b1561149457600b54610100900460ff166112cc576001600160a01b03831660009081526012602052604090205460ff168061128757506001600160a01b03821660009081526012602052604090205460ff165b6112cc5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016107c4565b7f000000000000000000000000e00f200136c8d3d84e54cef67217ceb9b1db92206001600160a01b0316836001600160a01b031614801561132657506001600160a01b03821660009081526013602052604090205460ff16155b1561140a5760085481111561139b5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016107c4565b600a546001600160a01b0383166000908152602081905260409020546113c19083611ce5565b11156114055760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107c4565b611494565b6001600160a01b03821660009081526013602052604090205460ff1661149457600a546001600160a01b0383166000908152602081905260409020546114509083611ce5565b11156114945760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107c4565b30600090815260208190526040902054600954811080159081906114c05750600b5462010000900460ff165b80156114d65750600654600160a01b900460ff16155b801561151357507f000000000000000000000000e00f200136c8d3d84e54cef67217ceb9b1db92206001600160a01b0316846001600160a01b0316145b801561153857506001600160a01b03851660009081526012602052604090205460ff16155b801561155d57506001600160a01b03841660009081526012602052604090205460ff16155b1561158b576006805460ff60a01b1916600160a01b17905561157d611941565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526012602052604090205460ff600160a01b9092048216159116806115d957506001600160a01b03851660009081526012602052604090205460ff165b156115e2575060005b60008060008315611784577f000000000000000000000000e00f200136c8d3d84e54cef67217ceb9b1db92206001600160a01b0316886001600160a01b031614801561163057506000600f54115b1561169657611655606461164f600f548a61198890919063ffffffff16565b9061199b565b9250600f54601154846116689190611d38565b6116729190611d57565b9150600f54601054846116859190611d38565b61168f9190611d57565b9050611735565b7f000000000000000000000000e00f200136c8d3d84e54cef67217ceb9b1db92206001600160a01b0316896001600160a01b03161480156116d957506000600c54115b15611735576116f8606461164f600c548a61198890919063ffffffff16565b9250600c54600e548461170b9190611d38565b6117159190611d57565b9150600c54600d54846117289190611d38565b6117329190611d57565b90505b8215611746576117468930856117ec565b811561177757611777307f000000000000000000000000e00f200136c8d3d84e54cef67217ceb9b1db9220846117ec565b6117818388611e01565b96505b61178f8989896117ec565b505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166118125760405162461bcd60e51b81526004016107c490611d79565b6001600160a01b0382166118385760405162461bcd60e51b81526004016107c490611dbe565b6001600160a01b038316600090815260208190526040902054818110156118b05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107c4565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906118e7908490611ce5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161193391815260200190565b60405180910390a350505050565b30600090815260208190526040902054806119595750565b600954611967906014611d38565b81111561197f5760095461197c906014611d38565b90505b611033816119a7565b60006119948284611d38565b9392505050565b60006119948284611d57565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106119dc576119dc611e18565b6001600160a01b039283166020918202929092010152600654825191169082906001908110611a0d57611a0d611e18565b60200260200101906001600160a01b031690816001600160a01b031681525050611a58307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611036565b600754604051635c11d79560e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d811692635c11d79592611ab4928792600092889291909116904290600401611e2e565b600060405180830381600087803b158015611ace57600080fd5b505af1158015611ae2573d6000803e3d6000fd5b505050505050565b60008060408385031215611afd57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015611b3957858101830151858201604001528201611b1d565b81811115611b4b576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610f9657600080fd5b60008060408385031215611b8b57600080fd5b611b9483611b61565b946020939093013593505050565b600060208284031215611bb457600080fd5b61199482611b61565b600060208284031215611bcf57600080fd5b5035919050565b600080600060608486031215611beb57600080fd5b611bf484611b61565b9250611c0260208501611b61565b9150604084013590509250925092565b80358015158114610f9657600080fd5b60008060408385031215611c3557600080fd5b611c3e83611b61565b9150611c4c60208401611c12565b90509250929050565b600060208284031215611c6757600080fd5b61199482611c12565b60008060408385031215611c8357600080fd5b611c8c83611b61565b9150611c4c60208401611b61565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611cf857611cf8611ccf565b500190565b600181811c90821680611d1157607f821691505b60208210811415611d3257634e487b7160e01b600052602260045260246000fd5b50919050565b6000816000190483118215151615611d5257611d52611ccf565b500290565b600082611d7457634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015611e1357611e13611ccf565b500390565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611e7e5784516001600160a01b031683529383019391830191600101611e59565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220556c0f362a7bfae47cb850816438d8670cc6a659f839aa1372eeac3b91c4a6b964736f6c634300080a0033
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.