Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000 YOYO
Holders
297
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$29,704.00
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
3,248.756965093516930917 YOYOValue
$0.97 ( ~0.00029594813048079 Eth) [0.0032%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
YOYO
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* * Twitter: https://twitter.com/yoyomarket_io * Website: https://www.yoyomarket.io/ * Main Telegram: https://t.me/yoyomarket_portal * Announcements: https://t.me/yoyomarketann * Medium: https://medium.com/@yoyomarket/ */ // SPDX-License-Identifier: Unlicense pragma solidity 0.8.20; import {ERC20} from '@openzeppelin/contracts/token/ERC20/ERC20.sol'; import {Ownable} from '@openzeppelin/contracts/access/Ownable.sol'; import {IUniswapV2Router02} from '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol'; import {IUniswapV2Factory} from '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol'; contract YOYO is ERC20, Ownable { /* Constants */ uint256 public constant TOTAL_SUPPLY = 100_000_000e18; // 100m uint256 public constant LIQUIDITY_SUPPLY_AMOUNT = (TOTAL_SUPPLY * 80) / 100; // 80% uint256 private constant FEE_DENOMINATOR = 10000; uint256 private constant LAUNCH_DURATION = 5 minutes; uint256 private constant LAUNCH_BUY_FEE = (FEE_DENOMINATOR * 35) / 100; // 35% uint256 private constant LAUNCH_SELL_FEE = (FEE_DENOMINATOR * 35) / 100; // 35% uint256 private constant AFTER_LAUNCH_BUY_FEE = (FEE_DENOMINATOR * 4) / 100; // 4% uint256 private constant AFTER_LAUNCH_SELL_FEE = (FEE_DENOMINATOR * 4) / 100; // 4% uint256 private constant LAUNCH_MAX_WALLET_AMOUNT = TOTAL_SUPPLY / 1000; // 0.1% uint256 private constant INITAL_AFTER_LAUNCH_MAX_WALLET_AMOUNT = (TOTAL_SUPPLY * 5) / 1000; // 0.5% uint256 private constant FINAL_AFTER_LAUNCH_MAX_WALLET_AMOUNT = type(uint256).max; uint256 private constant FEE_FOR_TEAM = (FEE_DENOMINATOR * 40) / 100; // 40% uint256 private constant FEE_FOR_STAKING = (FEE_DENOMINATOR * 40) / 100; // 40% uint256 private constant DEFAULT_MINIMUM_ACCUMULATED_FEE_TO_SWAP = (TOTAL_SUPPLY * 1) / 100; IUniswapV2Router02 private constant UNISWAP_V2_ROUTER = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); IUniswapV2Factory private constant UNISWAP_V2_FACTORY = IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f); address private constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; address public immutable PAIR; uint256 public immutable LAUNCH_END_TIMESTAMP; /* Storage */ mapping(address => bool) private _exemptFromSwapFees; mapping(address => bool) private _exemptFromMaxAmount; uint256 private _afterLaunchMaxWalletAmount = INITAL_AFTER_LAUNCH_MAX_WALLET_AMOUNT; uint256 private _minimumAcculumatedFeeToSwap = DEFAULT_MINIMUM_ACCUMULATED_FEE_TO_SWAP; address public treasuryFeeWallet = 0xBDF0D25341f0726BF86771340012AF7B04D58d3c; address public stakingFeeWallet = 0x7f16667aCC6B1AB545841e70e27F7F4058234ab3; address public lpFeeWallet = 0x9AF3ABea69E8d0C03912f4abFA969b5F8482db2c; /* Constructor */ constructor() ERC20('YOYO', 'YOYO') { PAIR = UNISWAP_V2_FACTORY.createPair(address(this), WETH); _exemptFromSwapFees[msg.sender] = true; _exemptFromSwapFees[address(this)] = true; _exemptFromMaxAmount[msg.sender] = true; _exemptFromMaxAmount[address(this)] = true; _exemptFromMaxAmount[PAIR] = true; _exemptFromMaxAmount[treasuryFeeWallet] = true; _exemptFromMaxAmount[stakingFeeWallet] = true; _exemptFromMaxAmount[lpFeeWallet] = true; LAUNCH_END_TIMESTAMP = block.timestamp + LAUNCH_DURATION; _mint(msg.sender, TOTAL_SUPPLY); _approve(address(this), address(UNISWAP_V2_ROUTER), type(uint256).max); } /* Non-View Functions */ function swapTeamFees() public { uint256 amount = balanceOf(address(this)); address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; UNISWAP_V2_ROUTER.swapExactTokensForTokens( (amount * FEE_FOR_TEAM) / FEE_DENOMINATOR, 0, path, treasuryFeeWallet, block.timestamp ); super._transfer(address(this), stakingFeeWallet, (amount * FEE_FOR_STAKING) / FEE_DENOMINATOR); super._transfer(address(this), lpFeeWallet, balanceOf(address(this))); } function burn(address account, uint256 amount) external { _spendAllowance(account, msg.sender, amount); _burn(account, amount); } function burn(uint256 amount) external { _burn(msg.sender, amount); } function transferMany(address[] calldata accounts, uint256[] calldata amounts) external { if (accounts.length != amounts.length) revert(); uint256 len = accounts.length; for (uint256 i = 0; i < len; ) { super._transfer(msg.sender, accounts[i], amounts[i]); unchecked { ++i; } } } /* View Functions */ function fees() public view returns (uint256 buyFee, uint256 sellFee) { if (block.timestamp < LAUNCH_END_TIMESTAMP) { /* During launch period */ return (LAUNCH_BUY_FEE, LAUNCH_SELL_FEE); } /* After launch period */ return (AFTER_LAUNCH_BUY_FEE, AFTER_LAUNCH_SELL_FEE); } function maxWalletAmount() external view returns (uint256) { if (block.timestamp < LAUNCH_END_TIMESTAMP) { /* During launch period */ return LAUNCH_MAX_WALLET_AMOUNT; } /* After launch period */ return _afterLaunchMaxWalletAmount; } /* Owner Only Functions */ function addInitialLiquidity() public payable onlyOwner { super._transfer(msg.sender, address(this), LIQUIDITY_SUPPLY_AMOUNT); UNISWAP_V2_ROUTER.addLiquidityETH{value: msg.value}( address(this), LIQUIDITY_SUPPLY_AMOUNT, 0, 0, msg.sender, block.timestamp ); if (address(this).balance > 0 || balanceOf(address(this)) > 0) { revert('REMAINING_BALANCE'); } } function finalizeMaxAmountPerWallet() external onlyOwner { _afterLaunchMaxWalletAmount = FINAL_AFTER_LAUNCH_MAX_WALLET_AMOUNT; } function changeSwapThreshold(uint256 minimumAcculumatedFeeToSwap) external onlyOwner { _minimumAcculumatedFeeToSwap = minimumAcculumatedFeeToSwap; } function changeWallets(address _treasuryFeeWallet, address _stakingFeeWallet, address _lpFeeWallet) public payable onlyOwner { if (_afterLaunchMaxWalletAmount != FINAL_AFTER_LAUNCH_MAX_WALLET_AMOUNT) revert(); treasuryFeeWallet = _treasuryFeeWallet; stakingFeeWallet = _stakingFeeWallet; lpFeeWallet = _lpFeeWallet; } /* Overrides */ function _transfer(address sender, address recipient, uint256 amount) internal override { uint256 feePercentage = 0; if (sender == PAIR) { /* Is in a buy */ if (_exemptFromSwapFees[recipient] == false) { /* Is in a taxable buy */ if (block.timestamp < LAUNCH_END_TIMESTAMP) { /* During launch period */ feePercentage = LAUNCH_BUY_FEE; } else { /* After launch period */ feePercentage = AFTER_LAUNCH_BUY_FEE; } } } else { if (sender != address(this) && balanceOf(address(this)) >= _minimumAcculumatedFeeToSwap) { swapTeamFees(); } if (recipient == PAIR && _exemptFromSwapFees[sender] == false) { /* Is in a taxable sell */ if (block.timestamp < LAUNCH_END_TIMESTAMP) { /* During launch period */ feePercentage = LAUNCH_SELL_FEE; } else { /* After launch period */ feePercentage = AFTER_LAUNCH_SELL_FEE; } } } uint256 feeAmount = (amount * feePercentage) / FEE_DENOMINATOR; amount -= feeAmount; super._transfer(sender, recipient, amount); if (feeAmount > 0) { super._transfer(sender, address(this), feeAmount); } } function _beforeTokenTransfer(address, address to, uint256 amount) internal view override { if (block.timestamp < LAUNCH_END_TIMESTAMP) { /* During launch period */ if (balanceOf(to) + amount > LAUNCH_MAX_WALLET_AMOUNT && _exemptFromMaxAmount[to] == false) { revert('MAX_WALLET_AMOUNT'); } } else { /* After launch period */ if (balanceOf(to) + amount > _afterLaunchMaxWalletAmount && _exemptFromMaxAmount[to] == false) { revert('MAX_WALLET_AMOUNT'); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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 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; } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
{ "remappings": [ "@chainlink/contracts/=lib/chainlink/contracts/src/v0.8/", "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "@uniswap/v2-core/contracts/=lib/v2-core/contracts/", "@uniswap/v2-periphery/contracts/=lib/v2-periphery/contracts/", "@uniswap/v3-periphery/contracts/=lib/v3-periphery/contracts/", "chainlink/=lib/chainlink/", "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/", "v2-core/=lib/v2-core/contracts/", "v2-periphery/=lib/v2-periphery/contracts/", "v3-periphery/=lib/v3-periphery/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"LAUNCH_END_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIQUIDITY_SUPPLY_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAIR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addInitialLiquidity","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minimumAcculumatedFeeToSwap","type":"uint256"}],"name":"changeSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryFeeWallet","type":"address"},{"internalType":"address","name":"_stakingFeeWallet","type":"address"},{"internalType":"address","name":"_lpFeeWallet","type":"address"}],"name":"changeWallets","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fees","outputs":[{"internalType":"uint256","name":"buyFee","type":"uint256"},{"internalType":"uint256","name":"sellFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalizeMaxAmountPerWallet","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":[],"name":"lpFeeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingFeeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTeamFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"transferMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryFeeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c06040526103e86200001f6a52b7d2dcc80cd2e400000060056200060a565b6200002b91906200062a565b6008556064620000486a52b7d2dcc80cd2e400000060016200060a565b6200005491906200062a565b600955600a80546001600160a01b031990811673bdf0d25341f0726bf86771340012af7b04d58d3c17909155600b80548216737f16667acc6b1ab545841e70e27f7f4058234ab3179055600c8054909116739af3abea69e8d0c03912f4abfa969b5f8482db2c179055348015620000ca57600080fd5b50604080518082018252600480825263594f594f60e01b6020808401829052845180860190955291845290830152906003620001078382620006f1565b506004620001168282620006f1565b505050620001336200012d620002bd60201b60201c565b620002c1565b6040516364e329cb60e11b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26024820152735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9063c9c65396906044016020604051808303816000875af11580156200019f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c59190620007bd565b6001600160a01b0390811660808190523360008181526006602090815260408083208054600160ff1991821681179092553080865283862080548316841790559585526007909352818420805484168217905593835280832080548316851790559382528382208054821684179055600a54851682528382208054821684179055600b54851682528382208054821684179055600c5490941681529190912080549092161790556200027a61012c42620007ef565b60a05262000294336a52b7d2dcc80cd2e400000062000313565b620002b730737a250d5630b4cf539739df2c5dacb4c659f2488d600019620003e8565b62000805565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200036f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200037d6000838362000510565b8060026000828254620003919190620007ef565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383166200044c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000366565b6001600160a01b038216620004af5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000366565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60a051421015620005d057620005346103e86a52b7d2dcc80cd2e40000006200062a565b8162000555846001600160a01b031660009081526020819052604090205490565b620005619190620007ef565b1180156200058857506001600160a01b03821660009081526007602052604090205460ff16155b15620005cb5760405162461bcd60e51b815260206004820152601160248201527013505617d5d05313115517d05353d55395607a1b604482015260640162000366565b505050565b6008548162000555846001600160a01b031660009081526020819052604090205490565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620006245762000624620005f4565b92915050565b6000826200064857634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200067857607f821691505b6020821081036200069957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005cb57600081815260208120601f850160051c81016020861015620006c85750805b601f850160051c820191505b81811015620006e957828155600101620006d4565b505050505050565b81516001600160401b038111156200070d576200070d6200064d565b62000725816200071e845462000663565b846200069f565b602080601f8311600181146200075d5760008415620007445750858301515b600019600386901b1c1916600185901b178555620006e9565b600085815260208120601f198616915b828110156200078e578886015182559484019460019091019084016200076d565b5085821015620007ad5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620007d057600080fd5b81516001600160a01b0381168114620007e857600080fd5b9392505050565b80820180821115620006245762000624620005f4565b60805160a0516119b56200085c60003960008181610401015281816108c6015281816109f4015281816111340152818161121f01526114490152600081816104e9015281816110d701526111c001526119b56000f3fe6080604052600436106101d85760003560e01c80638da5cb5b11610102578063aa4bde2811610095578063b7fc661211610064578063b7fc661214610540578063c62b751014610560578063dd62ed3e14610575578063f2fde38b1461059557600080fd5b8063aa4bde28146104c2578063ace3a8a7146104d7578063ae39338d1461050b578063af4f9b071461052b57600080fd5b80639af1d35a116100d15780639af1d35a146104385780639dc29fac14610462578063a457c2d714610482578063a9059cbb146104a257600080fd5b80638da5cb5b146103b2578063902d55a5146103d057806393ec81a1146103ef57806395d89b411461042357600080fd5b8063395093511161017a578063715018a611610149578063715018a6146103555780637db43eac1461036a578063893a96911461037f57806389f425e71461039257600080fd5b806339509351146102d557806342966c68146102f5578063583d98401461031557806370a082311461033557600080fd5b806318160ddd116101b657806318160ddd146102425780631ab7bdde1461026157806323b872dd14610299578063313ce567146102b957600080fd5b80630210a83d146101dd57806306fdde03146101e7578063095ea7b314610212575b600080fd5b6101e56105b5565b005b3480156101f357600080fd5b506101fc610712565b604051610209919061150e565b60405180910390f35b34801561021e57600080fd5b5061023261022d366004611578565b6107a4565b6040519015158152602001610209565b34801561024e57600080fd5b506002545b604051908152602001610209565b34801561026d57600080fd5b50600b54610281906001600160a01b031681565b6040516001600160a01b039091168152602001610209565b3480156102a557600080fd5b506102326102b43660046115a2565b6107be565b3480156102c557600080fd5b5060405160128152602001610209565b3480156102e157600080fd5b506102326102f0366004611578565b6107e2565b34801561030157600080fd5b506101e56103103660046115de565b610804565b34801561032157600080fd5b50600a54610281906001600160a01b031681565b34801561034157600080fd5b506102536103503660046115f7565b610811565b34801561036157600080fd5b506101e561082c565b34801561037657600080fd5b506101e561083e565b6101e561038d366004611619565b61084e565b34801561039e57600080fd5b506101e56103ad3660046115de565b6108a5565b3480156103be57600080fd5b506005546001600160a01b0316610281565b3480156103dc57600080fd5b506102536a52b7d2dcc80cd2e400000081565b3480156103fb57600080fd5b506102537f000000000000000000000000000000000000000000000000000000000000000081565b34801561042f57600080fd5b506101fc6108b2565b34801561044457600080fd5b5061044d6108c1565b60408051928352602083019190915201610209565b34801561046e57600080fd5b506101e561047d366004611578565b61094e565b34801561048e57600080fd5b5061023261049d366004611578565b610967565b3480156104ae57600080fd5b506102326104bd366004611578565b6109e2565b3480156104ce57600080fd5b506102536109f0565b3480156104e357600080fd5b506102817f000000000000000000000000000000000000000000000000000000000000000081565b34801561051757600080fd5b50600c54610281906001600160a01b031681565b34801561053757600080fd5b506101e5610a3d565b34801561054c57600080fd5b506101e561055b3660046116a8565b610bf8565b34801561056c57600080fd5b50610253610c69565b34801561058157600080fd5b50610253610590366004611714565b610c8e565b3480156105a157600080fd5b506101e56105b03660046115f7565b610cb9565b6105bd610d2f565b6105e9333060646105da6a52b7d2dcc80cd2e4000000605061175d565b6105e49190611774565b610d89565b737a250d5630b4cf539739df2c5dacb4c659f2488d63f305d7193430606461061d6a52b7d2dcc80cd2e4000000605061175d565b6106279190611774565b6040516001600160e01b031960e086901b1681526001600160a01b039092166004830152602482015260006044820181905260648201523360848201524260a482015260c40160606040518083038185885af115801561068b573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906106b09190611796565b50505060004711806106ca575060006106c830610811565b115b156107105760405162461bcd60e51b815260206004820152601160248201527052454d41494e494e475f42414c414e434560781b60448201526064015b60405180910390fd5b565b606060038054610721906117c4565b80601f016020809104026020016040519081016040528092919081815260200182805461074d906117c4565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b5050505050905090565b6000336107b2818585610f3a565b60019150505b92915050565b6000336107cc85828561105f565b6107d78585856110d3565b506001949350505050565b6000336107b28185856107f58383610c8e565b6107ff91906117fe565b610f3a565b61080e33826112ba565b50565b6001600160a01b031660009081526020819052604090205490565b610834610d2f565b61071060006113f5565b610846610d2f565b600019600855565b610856610d2f565b6000196008541461086657600080fd5b600a80546001600160a01b039485166001600160a01b031991821617909155600b805493851693821693909317909255600c8054919093169116179055565b6108ad610d2f565b600955565b606060048054610721906117c4565b6000807f00000000000000000000000000000000000000000000000000000000000000004210156109265760646108fb612710602361175d565b6109059190611774565b6064610914612710602361175d565b61091e9190611774565b915091509091565b6064610935612710600461175d565b61093f9190611774565b6064610914612710600461175d565b61095982338361105f565b61096382826112ba565b5050565b600033816109758286610c8e565b9050838110156109d55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610707565b6107d78286868403610f3a565b6000336107b28185856110d3565b60007f0000000000000000000000000000000000000000000000000000000000000000421015610a3657610a316103e86a52b7d2dcc80cd2e4000000611774565b905090565b5060085490565b6000610a4830610811565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110610a8257610a82611827565b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110610aca57610aca611827565b6001600160a01b0390921660209283029190910190910152737a250d5630b4cf539739df2c5dacb4c659f2488d6338ed17396127106064610b0c82602861175d565b610b169190611774565b610b20908661175d565b610b2a9190611774565b600a546040516001600160e01b031960e085901b168152610b5f929160009187916001600160a01b031690429060040161183d565b6000604051808303816000875af1158015610b7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba691908101906118ae565b50600b54610bdd9030906001600160a01b03166127106064610bc982602861175d565b610bd39190611774565b6105da908761175d565b600c546109639030906001600160a01b03166105e482610811565b828114610c0457600080fd5b8260005b81811015610c6157610c5933878784818110610c2657610c26611827565b9050602002016020810190610c3b91906115f7565b868685818110610c4d57610c4d611827565b90506020020135610d89565b600101610c08565b505050505050565b6064610c816a52b7d2dcc80cd2e4000000605061175d565b610c8b9190611774565b81565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610cc1610d2f565b6001600160a01b038116610d265760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610707565b61080e816113f5565b6005546001600160a01b031633146107105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610707565b6001600160a01b038316610ded5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610707565b6001600160a01b038216610e4f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610707565b610e5a838383611447565b6001600160a01b03831660009081526020819052604090205481811015610ed25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610707565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b50505050565b6001600160a01b038316610f9c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610707565b6001600160a01b038216610ffd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610707565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061106b8484610c8e565b90506000198114610f3457818110156110c65760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610707565b610f348484848403610f3a565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b03160361118e576001600160a01b03831660009081526006602052604081205460ff1615159003611189577f000000000000000000000000000000000000000000000000000000000000000042101561117a576064611169612710602361175d565b6111739190611774565b9050611270565b6064611169612710600461175d565b611270565b6001600160a01b03841630148015906111b157506009546111ae30610811565b10155b156111be576111be610a3d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614801561121857506001600160a01b03841660009081526006602052604090205460ff16155b15611270577f0000000000000000000000000000000000000000000000000000000000000000421015611254576064611169612710602361175d565b6064611263612710600461175d565b61126d9190611774565b90505b600061271061127f838561175d565b6112899190611774565b9050611295818461196c565b92506112a2858585610d89565b80156112b3576112b3853083610d89565b5050505050565b6001600160a01b03821661131a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610707565b61132682600083611447565b6001600160a01b0382166000908152602081905260409020548181101561139a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610707565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611052565b505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b7f0000000000000000000000000000000000000000000000000000000000000000421015611501576114866103e86a52b7d2dcc80cd2e4000000611774565b8161149084610811565b61149a91906117fe565b1180156114c057506001600160a01b03821660009081526007602052604090205460ff16155b156113f05760405162461bcd60e51b815260206004820152601160248201527013505617d5d05313115517d05353d55395607a1b6044820152606401610707565b6008548161149084610811565b600060208083528351808285015260005b8181101561153b5785810183015185820160400152820161151f565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461157357600080fd5b919050565b6000806040838503121561158b57600080fd5b6115948361155c565b946020939093013593505050565b6000806000606084860312156115b757600080fd5b6115c08461155c565b92506115ce6020850161155c565b9150604084013590509250925092565b6000602082840312156115f057600080fd5b5035919050565b60006020828403121561160957600080fd5b6116128261155c565b9392505050565b60008060006060848603121561162e57600080fd5b6116378461155c565b92506116456020850161155c565b91506116536040850161155c565b90509250925092565b60008083601f84011261166e57600080fd5b50813567ffffffffffffffff81111561168657600080fd5b6020830191508360208260051b85010111156116a157600080fd5b9250929050565b600080600080604085870312156116be57600080fd5b843567ffffffffffffffff808211156116d657600080fd5b6116e28883890161165c565b909650945060208701359150808211156116fb57600080fd5b506117088782880161165c565b95989497509550505050565b6000806040838503121561172757600080fd5b6117308361155c565b915061173e6020840161155c565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107b8576107b8611747565b60008261179157634e487b7160e01b600052601260045260246000fd5b500490565b6000806000606084860312156117ab57600080fd5b8351925060208401519150604084015190509250925092565b600181811c908216806117d857607f821691505b6020821081036117f857634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156107b8576107b8611747565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561188d5784516001600160a01b031683529383019391830191600101611868565b50506001600160a01b03969096166060850152505050608001529392505050565b600060208083850312156118c157600080fd5b825167ffffffffffffffff808211156118d957600080fd5b818501915085601f8301126118ed57600080fd5b8151818111156118ff576118ff611811565b8060051b604051601f19603f8301168101818110858211171561192457611924611811565b60405291825284820192508381018501918883111561194257600080fd5b938501935b8285101561196057845184529385019392850192611947565b98975050505050505050565b818103818111156107b8576107b861174756fea2646970667358221220782c3d040cd133b17f66e37ba9d64de8e1e9880d1c6a553145b6e1befd81604864736f6c63430008140033
Deployed Bytecode
0x6080604052600436106101d85760003560e01c80638da5cb5b11610102578063aa4bde2811610095578063b7fc661211610064578063b7fc661214610540578063c62b751014610560578063dd62ed3e14610575578063f2fde38b1461059557600080fd5b8063aa4bde28146104c2578063ace3a8a7146104d7578063ae39338d1461050b578063af4f9b071461052b57600080fd5b80639af1d35a116100d15780639af1d35a146104385780639dc29fac14610462578063a457c2d714610482578063a9059cbb146104a257600080fd5b80638da5cb5b146103b2578063902d55a5146103d057806393ec81a1146103ef57806395d89b411461042357600080fd5b8063395093511161017a578063715018a611610149578063715018a6146103555780637db43eac1461036a578063893a96911461037f57806389f425e71461039257600080fd5b806339509351146102d557806342966c68146102f5578063583d98401461031557806370a082311461033557600080fd5b806318160ddd116101b657806318160ddd146102425780631ab7bdde1461026157806323b872dd14610299578063313ce567146102b957600080fd5b80630210a83d146101dd57806306fdde03146101e7578063095ea7b314610212575b600080fd5b6101e56105b5565b005b3480156101f357600080fd5b506101fc610712565b604051610209919061150e565b60405180910390f35b34801561021e57600080fd5b5061023261022d366004611578565b6107a4565b6040519015158152602001610209565b34801561024e57600080fd5b506002545b604051908152602001610209565b34801561026d57600080fd5b50600b54610281906001600160a01b031681565b6040516001600160a01b039091168152602001610209565b3480156102a557600080fd5b506102326102b43660046115a2565b6107be565b3480156102c557600080fd5b5060405160128152602001610209565b3480156102e157600080fd5b506102326102f0366004611578565b6107e2565b34801561030157600080fd5b506101e56103103660046115de565b610804565b34801561032157600080fd5b50600a54610281906001600160a01b031681565b34801561034157600080fd5b506102536103503660046115f7565b610811565b34801561036157600080fd5b506101e561082c565b34801561037657600080fd5b506101e561083e565b6101e561038d366004611619565b61084e565b34801561039e57600080fd5b506101e56103ad3660046115de565b6108a5565b3480156103be57600080fd5b506005546001600160a01b0316610281565b3480156103dc57600080fd5b506102536a52b7d2dcc80cd2e400000081565b3480156103fb57600080fd5b506102537f0000000000000000000000000000000000000000000000000000000065731d3381565b34801561042f57600080fd5b506101fc6108b2565b34801561044457600080fd5b5061044d6108c1565b60408051928352602083019190915201610209565b34801561046e57600080fd5b506101e561047d366004611578565b61094e565b34801561048e57600080fd5b5061023261049d366004611578565b610967565b3480156104ae57600080fd5b506102326104bd366004611578565b6109e2565b3480156104ce57600080fd5b506102536109f0565b3480156104e357600080fd5b506102817f00000000000000000000000066914d57ba3b21e68fe84fd03793be89a113cf7381565b34801561051757600080fd5b50600c54610281906001600160a01b031681565b34801561053757600080fd5b506101e5610a3d565b34801561054c57600080fd5b506101e561055b3660046116a8565b610bf8565b34801561056c57600080fd5b50610253610c69565b34801561058157600080fd5b50610253610590366004611714565b610c8e565b3480156105a157600080fd5b506101e56105b03660046115f7565b610cb9565b6105bd610d2f565b6105e9333060646105da6a52b7d2dcc80cd2e4000000605061175d565b6105e49190611774565b610d89565b737a250d5630b4cf539739df2c5dacb4c659f2488d63f305d7193430606461061d6a52b7d2dcc80cd2e4000000605061175d565b6106279190611774565b6040516001600160e01b031960e086901b1681526001600160a01b039092166004830152602482015260006044820181905260648201523360848201524260a482015260c40160606040518083038185885af115801561068b573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906106b09190611796565b50505060004711806106ca575060006106c830610811565b115b156107105760405162461bcd60e51b815260206004820152601160248201527052454d41494e494e475f42414c414e434560781b60448201526064015b60405180910390fd5b565b606060038054610721906117c4565b80601f016020809104026020016040519081016040528092919081815260200182805461074d906117c4565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b5050505050905090565b6000336107b2818585610f3a565b60019150505b92915050565b6000336107cc85828561105f565b6107d78585856110d3565b506001949350505050565b6000336107b28185856107f58383610c8e565b6107ff91906117fe565b610f3a565b61080e33826112ba565b50565b6001600160a01b031660009081526020819052604090205490565b610834610d2f565b61071060006113f5565b610846610d2f565b600019600855565b610856610d2f565b6000196008541461086657600080fd5b600a80546001600160a01b039485166001600160a01b031991821617909155600b805493851693821693909317909255600c8054919093169116179055565b6108ad610d2f565b600955565b606060048054610721906117c4565b6000807f0000000000000000000000000000000000000000000000000000000065731d334210156109265760646108fb612710602361175d565b6109059190611774565b6064610914612710602361175d565b61091e9190611774565b915091509091565b6064610935612710600461175d565b61093f9190611774565b6064610914612710600461175d565b61095982338361105f565b61096382826112ba565b5050565b600033816109758286610c8e565b9050838110156109d55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610707565b6107d78286868403610f3a565b6000336107b28185856110d3565b60007f0000000000000000000000000000000000000000000000000000000065731d33421015610a3657610a316103e86a52b7d2dcc80cd2e4000000611774565b905090565b5060085490565b6000610a4830610811565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110610a8257610a82611827565b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110610aca57610aca611827565b6001600160a01b0390921660209283029190910190910152737a250d5630b4cf539739df2c5dacb4c659f2488d6338ed17396127106064610b0c82602861175d565b610b169190611774565b610b20908661175d565b610b2a9190611774565b600a546040516001600160e01b031960e085901b168152610b5f929160009187916001600160a01b031690429060040161183d565b6000604051808303816000875af1158015610b7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba691908101906118ae565b50600b54610bdd9030906001600160a01b03166127106064610bc982602861175d565b610bd39190611774565b6105da908761175d565b600c546109639030906001600160a01b03166105e482610811565b828114610c0457600080fd5b8260005b81811015610c6157610c5933878784818110610c2657610c26611827565b9050602002016020810190610c3b91906115f7565b868685818110610c4d57610c4d611827565b90506020020135610d89565b600101610c08565b505050505050565b6064610c816a52b7d2dcc80cd2e4000000605061175d565b610c8b9190611774565b81565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610cc1610d2f565b6001600160a01b038116610d265760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610707565b61080e816113f5565b6005546001600160a01b031633146107105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610707565b6001600160a01b038316610ded5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610707565b6001600160a01b038216610e4f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610707565b610e5a838383611447565b6001600160a01b03831660009081526020819052604090205481811015610ed25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610707565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b50505050565b6001600160a01b038316610f9c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610707565b6001600160a01b038216610ffd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610707565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061106b8484610c8e565b90506000198114610f3457818110156110c65760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610707565b610f348484848403610f3a565b60007f00000000000000000000000066914d57ba3b21e68fe84fd03793be89a113cf736001600160a01b0316846001600160a01b03160361118e576001600160a01b03831660009081526006602052604081205460ff1615159003611189577f0000000000000000000000000000000000000000000000000000000065731d3342101561117a576064611169612710602361175d565b6111739190611774565b9050611270565b6064611169612710600461175d565b611270565b6001600160a01b03841630148015906111b157506009546111ae30610811565b10155b156111be576111be610a3d565b7f00000000000000000000000066914d57ba3b21e68fe84fd03793be89a113cf736001600160a01b0316836001600160a01b031614801561121857506001600160a01b03841660009081526006602052604090205460ff16155b15611270577f0000000000000000000000000000000000000000000000000000000065731d33421015611254576064611169612710602361175d565b6064611263612710600461175d565b61126d9190611774565b90505b600061271061127f838561175d565b6112899190611774565b9050611295818461196c565b92506112a2858585610d89565b80156112b3576112b3853083610d89565b5050505050565b6001600160a01b03821661131a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610707565b61132682600083611447565b6001600160a01b0382166000908152602081905260409020548181101561139a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610707565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611052565b505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b7f0000000000000000000000000000000000000000000000000000000065731d33421015611501576114866103e86a52b7d2dcc80cd2e4000000611774565b8161149084610811565b61149a91906117fe565b1180156114c057506001600160a01b03821660009081526007602052604090205460ff16155b156113f05760405162461bcd60e51b815260206004820152601160248201527013505617d5d05313115517d05353d55395607a1b6044820152606401610707565b6008548161149084610811565b600060208083528351808285015260005b8181101561153b5785810183015185820160400152820161151f565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461157357600080fd5b919050565b6000806040838503121561158b57600080fd5b6115948361155c565b946020939093013593505050565b6000806000606084860312156115b757600080fd5b6115c08461155c565b92506115ce6020850161155c565b9150604084013590509250925092565b6000602082840312156115f057600080fd5b5035919050565b60006020828403121561160957600080fd5b6116128261155c565b9392505050565b60008060006060848603121561162e57600080fd5b6116378461155c565b92506116456020850161155c565b91506116536040850161155c565b90509250925092565b60008083601f84011261166e57600080fd5b50813567ffffffffffffffff81111561168657600080fd5b6020830191508360208260051b85010111156116a157600080fd5b9250929050565b600080600080604085870312156116be57600080fd5b843567ffffffffffffffff808211156116d657600080fd5b6116e28883890161165c565b909650945060208701359150808211156116fb57600080fd5b506117088782880161165c565b95989497509550505050565b6000806040838503121561172757600080fd5b6117308361155c565b915061173e6020840161155c565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107b8576107b8611747565b60008261179157634e487b7160e01b600052601260045260246000fd5b500490565b6000806000606084860312156117ab57600080fd5b8351925060208401519150604084015190509250925092565b600181811c908216806117d857607f821691505b6020821081036117f857634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156107b8576107b8611747565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561188d5784516001600160a01b031683529383019391830191600101611868565b50506001600160a01b03969096166060850152505050608001529392505050565b600060208083850312156118c157600080fd5b825167ffffffffffffffff808211156118d957600080fd5b818501915085601f8301126118ed57600080fd5b8151818111156118ff576118ff611811565b8060051b604051601f19603f8301168101818110858211171561192457611924611811565b60405291825284820192508381018501918883111561194257600080fd5b938501935b8285101561196057845184529385019392850192611947565b98975050505050505050565b818103818111156107b8576107b861174756fea2646970667358221220782c3d040cd133b17f66e37ba9d64de8e1e9880d1c6a553145b6e1befd81604864736f6c63430008140033
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.