ERC-20
MEME
Overview
Max Total Supply
300,000,000,000,000 BOG
Holders
1,100 (0.00%)
Market
Price
$0.00 @ 0.000000 ETH (-0.38%)
Onchain Market Cap
$326,100.00
Circulating Supply Market Cap
$326,089.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
99,824,258,848.587118614785554577 BOGValue
$108.51 ( ~0.0429970943269826 Eth) [0.0333%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Bogdanoff
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract Bogdanoff is Ownable, ERC20 { using SafeMath for uint256; bool public limited; uint256 public maxHoldingAmount; uint256 public minHoldingAmount; address public pair; IUniswapV2Router02 public router; mapping(address => bool) public blacklists; uint256 public taxPercentage = 2; // 2% tax on sell transactions uint public deployTimestamp; constructor( uint256 _totalSupply) ERC20("Bogdanoff", "BOG") { _mint(msg.sender, _totalSupply); deployTimestamp = block.timestamp; } function setUniswap( address _pair, address _router) external onlyOwner { pair = _pair; router = IUniswapV2Router02(_router); } function setTaxation( uint _taxPercentage) external onlyOwner { require(taxPercentage <= 5); taxPercentage = _taxPercentage; } function blacklist( address _address, bool _isBlacklisting) external onlyOwner { blacklists[_address] = _isBlacklisting; } function setRule( bool _limited, uint256 _maxHoldingAmount, uint256 _minHoldingAmount) external onlyOwner { limited = _limited; maxHoldingAmount = _maxHoldingAmount; minHoldingAmount = _minHoldingAmount; } function _beforeTokenTransfer( address from, address to, uint256 amount) override internal virtual { require(!blacklists[to] && !blacklists[from], "Blacklisted"); //if (pair == address(0)) //{ // require(from == owner() || to == owner(), "trading is not started"); // return; //} if (limited && from == pair) { require(super.balanceOf(to) + amount <= maxHoldingAmount && super.balanceOf(to) + amount >= minHoldingAmount, "Forbid"); } } function burn( uint256 value) external { _burn(msg.sender, value); } function transferFrom( address sender, address recipient, uint256 amount) public override returns (bool) { if (sender != address(this) && recipient == pair && _isTaxSeason(block.timestamp)) { (uint net, uint tax) = _calcTax(amount); _takeFee(sender, tax); super.transferFrom(sender, recipient, net); } else { super.transferFrom(sender, recipient, amount); } return true; } function _isTaxSeason( uint time) private view returns (bool) { return time < deployTimestamp + 24 hours; } function _calcTax( uint amount) private view returns(uint, uint) { uint256 taxAmount = amount.mul(taxPercentage).div(100); uint256 netAmount = amount.sub(taxAmount); return (netAmount, taxAmount); } function _takeFee( address from, uint amount) private { _transfer(from, address(this), amount); } function doAddLp() external payable { address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); uint balance = balanceOf(address(this)); uint256 half = balance / 2; uint256 ethAmountBefore = address(this).balance; _approve(address(this), address(router), half); router.swapExactTokensForETHSupportingFeeOnTransferTokens( half, 0, path, address(this), block.timestamp + 60); uint256 ethAmount = address(this).balance - ethAmountBefore; require(_addLiquidity(half, ethAmount)); } function _addLiquidity( uint256 tokenAmount, uint256 ethAmount) private returns (bool) { _approve(address(this), address(router), tokenAmount); router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, address(0), block.timestamp + 60); return true; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isBlacklisting","type":"bool"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":"deployTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"doAddLp","outputs":[],"stateMutability":"payable","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":"limited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxHoldingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minHoldingAmount","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":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_limited","type":"bool"},{"internalType":"uint256","name":"_maxHoldingAmount","type":"uint256"},{"internalType":"uint256","name":"_minHoldingAmount","type":"uint256"}],"name":"setRule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxPercentage","type":"uint256"}],"name":"setTaxation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"},{"internalType":"address","name":"_router","type":"address"}],"name":"setUniswap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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"}]
Contract Creation Code
60806040526002600c553480156200001657600080fd5b5060405162001c1438038062001c14833981016040819052620000399162000402565b604051806040016040528060098152602001682137b3b230b737b33360b91b81525060405180604001604052806003815260200162424f4760e81b815250620000916200008b620000dc60201b60201c565b620000e0565b8151620000a69060049060208501906200035c565b508051620000bc9060059060208401906200035c565b505050620000d133826200013060201b60201c565b5042600d5562000480565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200018c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200019a6000838362000207565b8060036000828254620001ae91906200041c565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0382166000908152600b602052604090205460ff161580156200024a57506001600160a01b0383166000908152600b602052604090205460ff16155b620002865760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b604482015260640162000183565b60065460ff168015620002a657506009546001600160a01b038481169116145b156200033c5760075481620002c6846200034160201b6200036b1760201c565b620002d291906200041c565b1115801562000305575060085481620002f6846200034160201b6200036b1760201c565b6200030291906200041c565b10155b6200033c5760405162461bcd60e51b8152602060048201526006602482015265119bdc989a5960d21b604482015260640162000183565b505050565b6001600160a01b031660009081526001602052604090205490565b8280546200036a9062000443565b90600052602060002090601f0160209004810192826200038e5760008555620003d9565b82601f10620003a957805160ff1916838001178555620003d9565b82800160010185558215620003d9579182015b82811115620003d9578251825591602001919060010190620003bc565b50620003e7929150620003eb565b5090565b5b80821115620003e75760008155600101620003ec565b6000602082840312156200041557600080fd5b5051919050565b600082198211156200043e57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200045857607f821691505b602082108114156200047a57634e487b7160e01b600052602260045260246000fd5b50919050565b61178480620004906000396000f3fe6080604052600436106101b75760003560e01c8063860a32ec116100ec578063a9059cbb1161008a578063d07ea4e211610064578063d07ea4e2146104b0578063dd62ed3e146104d0578063f2fde38b14610516578063f887ea401461053657600080fd5b8063a9059cbb14610472578063ae7b6d1614610492578063cca6f146146104a857600080fd5b806395d89b41116100c657806395d89b41146103fd578063997235ac14610412578063a457c2d714610432578063a8aa1b311461045257600080fd5b8063860a32ec1461039b57806389f9a1d3146103b55780638da5cb5b146103cb57600080fd5b8063313ce5671161015957806342966c681161013357806342966c681461031a578063607ad0d71461033a57806370a0823114610350578063715018a61461038657600080fd5b8063313ce567146102be57806339509351146102da578063404e5129146102fa57600080fd5b806318160ddd1161019557806318160ddd146102475780631ab99e1214610266578063216c64441461027c57806323b872dd1461029e57600080fd5b806306fdde03146101bc578063095ea7b3146101e757806316c0212914610217575b600080fd5b3480156101c857600080fd5b506101d1610556565b6040516101de91906113f8565b60405180910390f35b3480156101f357600080fd5b50610207610202366004611462565b6105e8565b60405190151581526020016101de565b34801561022357600080fd5b5061020761023236600461148e565b600b6020526000908152604090205460ff1681565b34801561025357600080fd5b506003545b6040519081526020016101de565b34801561027257600080fd5b5061025860085481565b34801561028857600080fd5b5061029c6102973660046114ab565b610600565b005b3480156102aa57600080fd5b506102076102b93660046114c4565b61061d565b3480156102ca57600080fd5b50604051601281526020016101de565b3480156102e657600080fd5b506102076102f5366004611462565b61069d565b34801561030657600080fd5b5061029c61031536600461151a565b6106dc565b34801561032657600080fd5b5061029c6103353660046114ab565b61070f565b34801561034657600080fd5b50610258600d5481565b34801561035c57600080fd5b5061025861036b36600461148e565b6001600160a01b031660009081526001602052604090205490565b34801561039257600080fd5b5061029c61071c565b3480156103a757600080fd5b506006546102079060ff1681565b3480156103c157600080fd5b5061025860075481565b3480156103d757600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101de565b34801561040957600080fd5b506101d1610730565b34801561041e57600080fd5b5061029c61042d36600461154f565b61073f565b34801561043e57600080fd5b5061020761044d366004611462565b610782565b34801561045e57600080fd5b506009546103e5906001600160a01b031681565b34801561047e57600080fd5b5061020761048d366004611462565b61083c565b34801561049e57600080fd5b50610258600c5481565b61029c61084a565b3480156104bc57600080fd5b5061029c6104cb366004611588565b610a25565b3480156104dc57600080fd5b506102586104eb36600461154f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561052257600080fd5b5061029c61053136600461148e565b610a47565b34801561054257600080fd5b50600a546103e5906001600160a01b031681565b606060048054610565906115bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610591906115bb565b80156105de5780601f106105b3576101008083540402835291602001916105de565b820191906000526020600020905b8154815290600101906020018083116105c157829003601f168201915b5050505050905090565b6000336105f6818585610ad4565b5060019392505050565b610608610c2d565b6005600c54111561061857600080fd5b600c55565b60006001600160a01b038416301480159061064557506009546001600160a01b038481169116145b8015610655575061065542610c87565b156106875760008061066684610ca2565b915091506106748682610ce0565b61067f868684610cef565b5050506105f6565b610692848484610cef565b505060019392505050565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091906105f690829086906106d790879061160c565b610ad4565b6106e4610c2d565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6107193382610d08565b50565b610724610c2d565b61072e6000610e7c565b565b606060058054610565906115bb565b610747610c2d565b600980546001600160a01b0393841673ffffffffffffffffffffffffffffffffffffffff1991821617909155600a8054929093169116179055565b3360008181526002602090815260408083206001600160a01b0387168452909152812054909190838110156108245760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6108318286868403610ad4565b506001949350505050565b6000336105f6818585610ed9565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061087f5761087f611624565b6001600160a01b03928316602091820292909201810191909152600a54604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c4648926004808301939192829003018186803b1580156108ec57600080fd5b505afa158015610900573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610924919061163a565b8160018151811061093757610937611624565b6001600160a01b0392909216602092830291909101820152306000908152600190915260408120549061096b600283611657565b600a5490915047906109889030906001600160a01b031684610ad4565b600a546001600160a01b031663791ac94783600087306109a942603c61160c565b6040518663ffffffff1660e01b81526004016109c9959493929190611679565b600060405180830381600087803b1580156109e357600080fd5b505af11580156109f7573d6000803e3d6000fd5b5050505060008147610a0991906116ea565b9050610a1583826110da565b610a1e57600080fd5b5050505050565b610a2d610c2d565b6006805460ff191693151593909317909255600755600855565b610a4f610c2d565b6001600160a01b038116610acb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161081b565b61071981610e7c565b6001600160a01b038316610b4f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161081b565b6001600160a01b038216610bcb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161081b565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000546001600160a01b0316331461072e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161081b565b6000600d5462015180610c9a919061160c565b909110919050565b6000806000610cc76064610cc1600c54876111dd90919063ffffffff16565b906111f0565b90506000610cd585836111fc565b959194509092505050565b610ceb823083610ed9565b5050565b600033610cfd858285611208565b610831858585610ed9565b6001600160a01b038216610d845760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161081b565b610d9082600083611294565b6001600160a01b03821660009081526001602052604090205481811015610e1f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161081b565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610c20565b505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316610f555760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161081b565b6001600160a01b038216610fd15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161081b565b610fdc838383611294565b6001600160a01b0383166000908152600160205260409020548181101561106b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161081b565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110cb9086815260200190565b60405180910390a35b50505050565b600a546000906110f59030906001600160a01b031685610ad4565b600a546001600160a01b031663f305d7198330866000808061111842603c61160c565b60405160e089901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c4016060604051808303818588803b15801561119857600080fd5b505af11580156111ac573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111d19190611701565b50600195945050505050565b60006111e9828461172f565b9392505050565b60006111e98284611657565b60006111e982846116ea565b6001600160a01b0383811660009081526002602090815260408083209386168352929052205460001981146110d457818110156112875760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161081b565b6110d48484848403610ad4565b6001600160a01b0382166000908152600b602052604090205460ff161580156112d657506001600160a01b0383166000908152600b602052604090205460ff16155b6113225760405162461bcd60e51b815260206004820152600b60248201527f426c61636b6c6973746564000000000000000000000000000000000000000000604482015260640161081b565b60065460ff16801561134157506009546001600160a01b038481169116145b15610e775760075481611369846001600160a01b031660009081526001602052604090205490565b611373919061160c565b111580156113ac57506008548161139f846001600160a01b031660009081526001602052604090205490565b6113a9919061160c565b10155b610e775760405162461bcd60e51b815260206004820152600660248201527f466f726269640000000000000000000000000000000000000000000000000000604482015260640161081b565b600060208083528351808285015260005b8181101561142557858101830151858201604001528201611409565b81811115611437576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461071957600080fd5b6000806040838503121561147557600080fd5b82356114808161144d565b946020939093013593505050565b6000602082840312156114a057600080fd5b81356111e98161144d565b6000602082840312156114bd57600080fd5b5035919050565b6000806000606084860312156114d957600080fd5b83356114e48161144d565b925060208401356114f48161144d565b929592945050506040919091013590565b8035801515811461151557600080fd5b919050565b6000806040838503121561152d57600080fd5b82356115388161144d565b915061154660208401611505565b90509250929050565b6000806040838503121561156257600080fd5b823561156d8161144d565b9150602083013561157d8161144d565b809150509250929050565b60008060006060848603121561159d57600080fd5b6115a684611505565b95602085013595506040909401359392505050565b600181811c908216806115cf57607f821691505b602082108114156115f057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561161f5761161f6115f6565b500190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561164c57600080fd5b81516111e98161144d565b60008261167457634e487b7160e01b600052601260045260246000fd5b500490565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156116c95784516001600160a01b0316835293830193918301916001016116a4565b50506001600160a01b03969096166060850152505050608001529392505050565b6000828210156116fc576116fc6115f6565b500390565b60008060006060848603121561171657600080fd5b8351925060208401519150604084015190509250925092565b6000816000190483118215151615611749576117496115f6565b50029056fea26469706673582212207b1b061c7c0996c90ad4103b3a3295ce72922d982ff48b76e8b9eef117eef62964736f6c634300080900330000000000000000000000000000000000000eca8847c4129106ce8300000000
Deployed Bytecode
0x6080604052600436106101b75760003560e01c8063860a32ec116100ec578063a9059cbb1161008a578063d07ea4e211610064578063d07ea4e2146104b0578063dd62ed3e146104d0578063f2fde38b14610516578063f887ea401461053657600080fd5b8063a9059cbb14610472578063ae7b6d1614610492578063cca6f146146104a857600080fd5b806395d89b41116100c657806395d89b41146103fd578063997235ac14610412578063a457c2d714610432578063a8aa1b311461045257600080fd5b8063860a32ec1461039b57806389f9a1d3146103b55780638da5cb5b146103cb57600080fd5b8063313ce5671161015957806342966c681161013357806342966c681461031a578063607ad0d71461033a57806370a0823114610350578063715018a61461038657600080fd5b8063313ce567146102be57806339509351146102da578063404e5129146102fa57600080fd5b806318160ddd1161019557806318160ddd146102475780631ab99e1214610266578063216c64441461027c57806323b872dd1461029e57600080fd5b806306fdde03146101bc578063095ea7b3146101e757806316c0212914610217575b600080fd5b3480156101c857600080fd5b506101d1610556565b6040516101de91906113f8565b60405180910390f35b3480156101f357600080fd5b50610207610202366004611462565b6105e8565b60405190151581526020016101de565b34801561022357600080fd5b5061020761023236600461148e565b600b6020526000908152604090205460ff1681565b34801561025357600080fd5b506003545b6040519081526020016101de565b34801561027257600080fd5b5061025860085481565b34801561028857600080fd5b5061029c6102973660046114ab565b610600565b005b3480156102aa57600080fd5b506102076102b93660046114c4565b61061d565b3480156102ca57600080fd5b50604051601281526020016101de565b3480156102e657600080fd5b506102076102f5366004611462565b61069d565b34801561030657600080fd5b5061029c61031536600461151a565b6106dc565b34801561032657600080fd5b5061029c6103353660046114ab565b61070f565b34801561034657600080fd5b50610258600d5481565b34801561035c57600080fd5b5061025861036b36600461148e565b6001600160a01b031660009081526001602052604090205490565b34801561039257600080fd5b5061029c61071c565b3480156103a757600080fd5b506006546102079060ff1681565b3480156103c157600080fd5b5061025860075481565b3480156103d757600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101de565b34801561040957600080fd5b506101d1610730565b34801561041e57600080fd5b5061029c61042d36600461154f565b61073f565b34801561043e57600080fd5b5061020761044d366004611462565b610782565b34801561045e57600080fd5b506009546103e5906001600160a01b031681565b34801561047e57600080fd5b5061020761048d366004611462565b61083c565b34801561049e57600080fd5b50610258600c5481565b61029c61084a565b3480156104bc57600080fd5b5061029c6104cb366004611588565b610a25565b3480156104dc57600080fd5b506102586104eb36600461154f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561052257600080fd5b5061029c61053136600461148e565b610a47565b34801561054257600080fd5b50600a546103e5906001600160a01b031681565b606060048054610565906115bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610591906115bb565b80156105de5780601f106105b3576101008083540402835291602001916105de565b820191906000526020600020905b8154815290600101906020018083116105c157829003601f168201915b5050505050905090565b6000336105f6818585610ad4565b5060019392505050565b610608610c2d565b6005600c54111561061857600080fd5b600c55565b60006001600160a01b038416301480159061064557506009546001600160a01b038481169116145b8015610655575061065542610c87565b156106875760008061066684610ca2565b915091506106748682610ce0565b61067f868684610cef565b5050506105f6565b610692848484610cef565b505060019392505050565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091906105f690829086906106d790879061160c565b610ad4565b6106e4610c2d565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6107193382610d08565b50565b610724610c2d565b61072e6000610e7c565b565b606060058054610565906115bb565b610747610c2d565b600980546001600160a01b0393841673ffffffffffffffffffffffffffffffffffffffff1991821617909155600a8054929093169116179055565b3360008181526002602090815260408083206001600160a01b0387168452909152812054909190838110156108245760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6108318286868403610ad4565b506001949350505050565b6000336105f6818585610ed9565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061087f5761087f611624565b6001600160a01b03928316602091820292909201810191909152600a54604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c4648926004808301939192829003018186803b1580156108ec57600080fd5b505afa158015610900573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610924919061163a565b8160018151811061093757610937611624565b6001600160a01b0392909216602092830291909101820152306000908152600190915260408120549061096b600283611657565b600a5490915047906109889030906001600160a01b031684610ad4565b600a546001600160a01b031663791ac94783600087306109a942603c61160c565b6040518663ffffffff1660e01b81526004016109c9959493929190611679565b600060405180830381600087803b1580156109e357600080fd5b505af11580156109f7573d6000803e3d6000fd5b5050505060008147610a0991906116ea565b9050610a1583826110da565b610a1e57600080fd5b5050505050565b610a2d610c2d565b6006805460ff191693151593909317909255600755600855565b610a4f610c2d565b6001600160a01b038116610acb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161081b565b61071981610e7c565b6001600160a01b038316610b4f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161081b565b6001600160a01b038216610bcb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161081b565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000546001600160a01b0316331461072e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161081b565b6000600d5462015180610c9a919061160c565b909110919050565b6000806000610cc76064610cc1600c54876111dd90919063ffffffff16565b906111f0565b90506000610cd585836111fc565b959194509092505050565b610ceb823083610ed9565b5050565b600033610cfd858285611208565b610831858585610ed9565b6001600160a01b038216610d845760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161081b565b610d9082600083611294565b6001600160a01b03821660009081526001602052604090205481811015610e1f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161081b565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610c20565b505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316610f555760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161081b565b6001600160a01b038216610fd15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161081b565b610fdc838383611294565b6001600160a01b0383166000908152600160205260409020548181101561106b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161081b565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110cb9086815260200190565b60405180910390a35b50505050565b600a546000906110f59030906001600160a01b031685610ad4565b600a546001600160a01b031663f305d7198330866000808061111842603c61160c565b60405160e089901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c4016060604051808303818588803b15801561119857600080fd5b505af11580156111ac573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111d19190611701565b50600195945050505050565b60006111e9828461172f565b9392505050565b60006111e98284611657565b60006111e982846116ea565b6001600160a01b0383811660009081526002602090815260408083209386168352929052205460001981146110d457818110156112875760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161081b565b6110d48484848403610ad4565b6001600160a01b0382166000908152600b602052604090205460ff161580156112d657506001600160a01b0383166000908152600b602052604090205460ff16155b6113225760405162461bcd60e51b815260206004820152600b60248201527f426c61636b6c6973746564000000000000000000000000000000000000000000604482015260640161081b565b60065460ff16801561134157506009546001600160a01b038481169116145b15610e775760075481611369846001600160a01b031660009081526001602052604090205490565b611373919061160c565b111580156113ac57506008548161139f846001600160a01b031660009081526001602052604090205490565b6113a9919061160c565b10155b610e775760405162461bcd60e51b815260206004820152600660248201527f466f726269640000000000000000000000000000000000000000000000000000604482015260640161081b565b600060208083528351808285015260005b8181101561142557858101830151858201604001528201611409565b81811115611437576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461071957600080fd5b6000806040838503121561147557600080fd5b82356114808161144d565b946020939093013593505050565b6000602082840312156114a057600080fd5b81356111e98161144d565b6000602082840312156114bd57600080fd5b5035919050565b6000806000606084860312156114d957600080fd5b83356114e48161144d565b925060208401356114f48161144d565b929592945050506040919091013590565b8035801515811461151557600080fd5b919050565b6000806040838503121561152d57600080fd5b82356115388161144d565b915061154660208401611505565b90509250929050565b6000806040838503121561156257600080fd5b823561156d8161144d565b9150602083013561157d8161144d565b809150509250929050565b60008060006060848603121561159d57600080fd5b6115a684611505565b95602085013595506040909401359392505050565b600181811c908216806115cf57607f821691505b602082108114156115f057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561161f5761161f6115f6565b500190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561164c57600080fd5b81516111e98161144d565b60008261167457634e487b7160e01b600052601260045260246000fd5b500490565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156116c95784516001600160a01b0316835293830193918301916001016116a4565b50506001600160a01b03969096166060850152505050608001529392505050565b6000828210156116fc576116fc6115f6565b500390565b60008060006060848603121561171657600080fd5b8351925060208401519150604084015190509250925092565b6000816000190483118215151615611749576117496115f6565b50029056fea26469706673582212207b1b061c7c0996c90ad4103b3a3295ce72922d982ff48b76e8b9eef117eef62964736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000eca8847c4129106ce8300000000
-----Decoded View---------------
Arg [0] : _totalSupply (uint256): 300000000000000000000000000000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000eca8847c4129106ce8300000000
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.