Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
5,613,000,000 EQUIL
Holders
100
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
5,892.863517412345116978 EQUILValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Equilibrium
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 1000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* TG: https://t.me/equilibrium_erc Twitter: https://x.com/Equilibrium_ERC Website: https://equilibriumerc.com/ */ // SPDX-License-Identifier: MIT pragma solidity >=0.5.0; interface IUniswapV2Factory { function createPair( address tokenA, address tokenB ) external returns (address pair); } pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); 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); } pragma solidity >=0.6.2; interface IUniswapV2Router02 is IUniswapV2Router01 { 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.8.24; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract Equilibrium is ERC20, Ownable { mapping(address => bool) private _isExcludedFromFee; address private constant DEAD = 0x000000000000000000000000000000000000dEaD; uint256 private _initialTax = 40; uint256 private _intermediateTax = 15; uint256 public _finalBuyTax = 0; uint256 public _finalSellTax = 7; uint256 private _blockAtLaunch; uint256 private _blockRemoveFirstLimits = 3; uint256 private _blockRemoveSecondLimits = 10; uint8 private constant _decimals = 18; uint256 private _tTotal = 10_000_000 * 10 ** _decimals; uint256 private _maxWalletSize = (_tTotal * 200) / 10000; // 2% of total supply uint256 private swapThreshold = (_tTotal * 50) / 10000; // 0.5% of total supply IUniswapV2Router02 private router; address public pair; bool private initialized = false; bool public tradingOpen = false; bool private inSwap = false; bool private swapEnabled = false; modifier lockTheSwap() { inSwap = true; _; inSwap = false; } constructor(address initialOwner) ERC20("Equilibrium", "EQUIL") Ownable(initialOwner) { router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _mint(initialOwner, _tTotal); emit Transfer(address(0), msg.sender, _tTotal); } function initializePair() external onlyOwner returns (address) { require(!initialized, "Already initialized"); pair = IUniswapV2Factory(router.factory()).createPair( address(this), router.WETH() ); initialized = true; return pair; } function setPair(address _pair) external onlyOwner { pair = _pair; } function setIsInitialized(bool _initialized) external onlyOwner { initialized = _initialized; } function rescueTokens(address token, uint256 amount) external onlyOwner { require(token != address(this), "Can't withdraw this token"); IERC20(token).transfer(msg.sender, amount); } function rescueETH(uint256 amount) external onlyOwner { bool tmpSuccess; (tmpSuccess, ) = payable(msg.sender).call{value: amount, gas: 5000000}( "" ); } /** @dev Remove wallet cap. * @notice Can only be called by the current owner. */ function removeLimits() external onlyOwner { _maxWalletSize = _tTotal; } function fownSellFee(uint256 newTax) external onlyOwner { require(newTax <= _finalSellTax, "Tax too high"); _finalSellTax = newTax; } /** @dev Enable trading. * @notice Can only be called by the current owner. * @notice Can only be called once. */ function openTrading() external onlyOwner { require(!tradingOpen, "trading is already open"); swapEnabled = true; tradingOpen = true; _blockAtLaunch = block.number; } // Transfer functions function transfer( address recipient, uint256 amount ) public override returns (bool) { require(initialized || msg.sender == owner(), "Not yet initialized"); if (msg.sender == pair) { return update(msg.sender, recipient, amount); } else { return _basicTransfer(msg.sender, recipient, amount); } } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { address spender = msg.sender; _spendAllowance(sender, spender, amount); update(sender, recipient, amount); return true; } function update( address sender, address recipient, uint256 amount ) internal returns (bool) { require( _isExcludedFromFee[sender] || _isExcludedFromFee[recipient] || tradingOpen, "Not authorized to trade yet" ); uint256 blockSinceLaunch = block.number - _blockAtLaunch; // Checks max transaction limit if (blockSinceLaunch < _blockRemoveFirstLimits && _blockAtLaunch != 0) { if ( sender != owner() && recipient != owner() && recipient != DEAD ) { if (recipient != pair) { uint256 _limit = _maxWalletSize; require( _isExcludedFromFee[recipient] || (balanceOf(recipient) + amount <= _limit), "Transfer amount exceeds the MaxWallet size." ); } } } //shouldSwapBack if (shouldSwapBack() && recipient == pair) { swapBack(); } //Check if should Take Fee uint256 amountReceived = (!shouldTakeFee(sender) || !shouldTakeFee(recipient)) ? amount : takeFee(sender, recipient, amount); _transfer(sender, recipient, amountReceived); return true; } function _basicTransfer( address sender, address recipient, uint256 amount ) internal returns (bool) { _transfer(sender, recipient, amount); return true; } function shouldTakeFee(address sender) internal view returns (bool) { return !_isExcludedFromFee[sender]; } function takeFee( address sender, address recipient, uint256 amount ) internal returns (uint256) { uint256 feeAmount = 0; uint256 blockSinceLaunch = block.number - _blockAtLaunch; uint256 tax; if (blockSinceLaunch > _blockRemoveSecondLimits) { if (sender == pair && recipient != pair) { tax = _finalBuyTax; } else if (sender != pair && recipient == pair) { tax = _finalSellTax; } } else if (blockSinceLaunch > _blockRemoveFirstLimits) { tax = _intermediateTax; } else { tax = _initialTax; } feeAmount = (amount * tax) / 100; if (feeAmount > 0) { _transfer(sender, address(this), feeAmount); } return amount - feeAmount; } function shouldSwapBack() internal view returns (bool) { return msg.sender != pair && !inSwap && swapEnabled && balanceOf(address(this)) >= swapThreshold; } function swapBack() internal lockTheSwap { uint256 amountToSwap = swapThreshold; address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); _approve(address(this), address(router), amountToSwap); router.swapExactTokensForETHSupportingFeeOnTransferTokens( amountToSwap, 0, path, address(this), block.timestamp + 5 ); uint256 amountETHDev = address(this).balance; if (amountETHDev > 0) { bool tmpSuccess; (tmpSuccess, ) = payable(owner()).call{ value: amountETHDev, gas: 5000000 }(""); } } function sendRewardsToStaking( uint256 amount, address staking ) external onlyOwner { require(amount > 0, "Cannot send 0"); _mint(staking, amount); } /** * @dev Set a new threshold to trigger swapBack */ function setSwapThreshold(uint256 newTax) external onlyOwner { swapThreshold = newTax; } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_finalBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_finalSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTax","type":"uint256"}],"name":"fownSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initializePair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","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":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"staking","type":"address"}],"name":"sendRewardsToStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_initialized","type":"bool"}],"name":"setIsInitialized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTax","type":"uint256"}],"name":"setSwapThreshold","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":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526028600755600f60085560006009556007600a556003600c55600a600d556012600a620000329190620004f3565b6200004190629896806200050b565b600e55612710600e5460c86200005891906200050b565b62000064919062000525565b600f55612710600e5460326200007b91906200050b565b62000087919062000525565b6010556012805463ffffffff60a01b19169055348015620000a757600080fd5b506040516200212f3803806200212f833981016040819052620000ca9162000548565b806040518060400160405280600b81526020016a457175696c69627269756d60a81b81525060405180604001604052806005815260200164115455525360da1b81525081600390816200011e91906200061a565b5060046200012d82826200061a565b5050506001600160a01b0381166200016057604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6200016b816200022c565b50601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d179055600160066000620001ab6005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526006909252902080549091166001179055600e54620001fb9082906200027e565b600e5460405190815233906000906000805160206200210f8339815191529060200160405180910390a350620006fc565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002aa5760405163ec442f0560e01b81526000600482015260240162000157565b620002b860008383620002bc565b5050565b6001600160a01b038316620002eb578060026000828254620002df9190620006e6565b909155506200035f9050565b6001600160a01b03831660009081526020819052604090205481811015620003405760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000157565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166200037d576002805482900390556200039c565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03166000805160206200210f83398151915283604051620003d191815260200190565b60405180910390a3505050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000435578160001904821115620004195762000419620003de565b808516156200042757918102915b93841c9390800290620003f9565b509250929050565b6000826200044e57506001620004ed565b816200045d57506000620004ed565b81600181146200047657600281146200048157620004a1565b6001915050620004ed565b60ff841115620004955762000495620003de565b50506001821b620004ed565b5060208310610133831016604e8410600b8410161715620004c6575081810a620004ed565b620004d28383620003f4565b8060001904821115620004e957620004e9620003de565b0290505b92915050565b60006200050460ff8416836200043d565b9392505050565b8082028115828204841417620004ed57620004ed620003de565b6000826200054357634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156200055b57600080fd5b81516001600160a01b03811681146200050457600080fd5b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200059e57607f821691505b602082108103620005bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000615576000816000526020600020601f850160051c81016020861015620005f05750805b601f850160051c820191505b818110156200061157828155600101620005fc565b5050505b505050565b81516001600160401b0381111562000636576200063662000573565b6200064e8162000647845462000589565b84620005c5565b602080601f8311600181146200068657600084156200066d5750858301515b600019600386901b1c1916600185901b17855562000611565b600085815260208120601f198616915b82811015620006b75788860151825594840194600190910190840162000696565b5085821015620006d65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620004ed57620004ed620003de565b611a03806200070c6000396000f3fe6080604052600436106101a55760003560e01c80638187f516116100e1578063a8aa1b311161008a578063c9567bf911610064578063c9567bf914610475578063dd62ed3e1461048a578063f2fde38b146104d0578063ffb54a99146104f057600080fd5b8063a8aa1b311461041f578063a9059cbb1461043f578063baeb7a7d1461045f57600080fd5b806395d89b41116100bb57806395d89b41146103ca5780639d0014b1146103df5780639e252f00146103ff57600080fd5b80638187f5161461036c5780638da5cb5b1461038c57806395bd72f0146103aa57600080fd5b80633ef947211161014e5780635bc0a84d116101285780635bc0a84d146102ec57806370a082311461030c578063715018a614610342578063751039fc1461035757600080fd5b80633ef94721146102895780634fab9e4c1461029f57806357376198146102cc57600080fd5b806318160ddd1161017f57806318160ddd1461022e57806323b872dd1461024d578063313ce5671461026d57600080fd5b8063013afd14146101b157806306fdde03146101d3578063095ea7b3146101fe57600080fd5b366101ac57005b600080fd5b3480156101bd57600080fd5b506101d16101cc3660046116d2565b610511565b005b3480156101df57600080fd5b506101e8610552565b6040516101f591906116f6565b60405180910390f35b34801561020a57600080fd5b5061021e61021936600461175a565b6105e4565b60405190151581526020016101f5565b34801561023a57600080fd5b506002545b6040519081526020016101f5565b34801561025957600080fd5b5061021e610268366004611786565b6105fe565b34801561027957600080fd5b50604051601281526020016101f5565b34801561029557600080fd5b5061023f600a5481565b3480156102ab57600080fd5b506102b4610623565b6040516001600160a01b0390911681526020016101f5565b3480156102d857600080fd5b506101d16102e736600461175a565b610854565b3480156102f857600080fd5b506101d16103073660046117c7565b610943565b34801561031857600080fd5b5061023f6103273660046117e0565b6001600160a01b031660009081526020819052604090205490565b34801561034e57600080fd5b506101d16109a2565b34801561036357600080fd5b506101d16109b6565b34801561037857600080fd5b506101d16103873660046117e0565b6109c6565b34801561039857600080fd5b506005546001600160a01b03166102b4565b3480156103b657600080fd5b506101d16103c53660046117fd565b6109fd565b3480156103d657600080fd5b506101e8610a63565b3480156103eb57600080fd5b506101d16103fa3660046117c7565b610a72565b34801561040b57600080fd5b506101d161041a3660046117c7565b610a7f565b34801561042b57600080fd5b506012546102b4906001600160a01b031681565b34801561044b57600080fd5b5061021e61045a36600461175a565b610adb565b34801561046b57600080fd5b5061023f60095481565b34801561048157600080fd5b506101d1610b7b565b34801561049657600080fd5b5061023f6104a536600461182d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104dc57600080fd5b506101d16104eb3660046117e0565b610c25565b3480156104fc57600080fd5b5060125461021e90600160a81b900460ff1681565b610519610c7c565b60128054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6060600380546105619061185b565b80601f016020809104026020016040519081016040528092919081815260200182805461058d9061185b565b80156105da5780601f106105af576101008083540402835291602001916105da565b820191906000526020600020905b8154815290600101906020018083116105bd57829003601f168201915b5050505050905090565b6000336105f2818585610cc2565b60019150505b92915050565b60003361060c858285610ccf565b610617858585610d66565b50600195945050505050565b600061062d610c7c565b601254600160a01b900460ff161561068c5760405162461bcd60e51b815260206004820152601360248201527f416c726561647920696e697469616c697a65640000000000000000000000000060448201526064015b60405180910390fd5b601160009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107039190611895565b6001600160a01b031663c9c6539630601160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610765573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107899190611895565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156107ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108129190611895565b601280547fffffffffffffffffffffff000000000000000000000000000000000000000000166001600160a01b0392831617600160a01b179081905516905090565b61085c610c7c565b306001600160a01b038316036108b45760405162461bcd60e51b815260206004820152601960248201527f43616e2774207769746864726177207468697320746f6b656e000000000000006044820152606401610683565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af115801561091a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093e91906118b2565b505050565b61094b610c7c565b600a5481111561099d5760405162461bcd60e51b815260206004820152600c60248201527f54617820746f6f206869676800000000000000000000000000000000000000006044820152606401610683565b600a55565b6109aa610c7c565b6109b46000610fe6565b565b6109be610c7c565b600e54600f55565b6109ce610c7c565b6012805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b610a05610c7c565b60008211610a555760405162461bcd60e51b815260206004820152600d60248201527f43616e6e6f742073656e642030000000000000000000000000000000000000006044820152606401610683565b610a5f8183611045565b5050565b6060600480546105619061185b565b610a7a610c7c565b601055565b610a87610c7c565b6040516000903390624c4b4090849084818181858888f193505050503d8060008114610acf576040519150601f19603f3d011682016040523d82523d6000602084013e610ad4565b606091505b5050505050565b601254600090600160a01b900460ff1680610b0057506005546001600160a01b031633145b610b4c5760405162461bcd60e51b815260206004820152601360248201527f4e6f742079657420696e697469616c697a6564000000000000000000000000006044820152606401610683565b6012546001600160a01b03163303610b7057610b69338484610d66565b90506105f8565b610b6933848461107b565b610b83610c7c565b601254600160a81b900460ff1615610bdd5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610683565b601280547fffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffffff167701000100000000000000000000000000000000000000000017905543600b55565b610c2d610c7c565b6001600160a01b038116610c70576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b610c7981610fe6565b50565b6005546001600160a01b031633146109b4576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610683565b61093e8383836001611092565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610d605781811015610d51576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024810182905260448101839052606401610683565b610d6084848484036000611092565b50505050565b6001600160a01b03831660009081526006602052604081205460ff1680610da557506001600160a01b03831660009081526006602052604090205460ff165b80610db95750601254600160a81b900460ff165b610e055760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420617574686f72697a656420746f2074726164652079657400000000006044820152606401610683565b6000600b5443610e1591906118e5565b9050600c5481108015610e295750600b5415155b15610f52576005546001600160a01b03868116911614801590610e5a57506005546001600160a01b03858116911614155b8015610e7157506001600160a01b03841661dead14155b15610f52576012546001600160a01b03858116911614610f5257600f546001600160a01b03851660009081526006602052604090205460ff1680610ede57508084610ed1876001600160a01b031660009081526020819052604090205490565b610edb91906118f8565b11155b610f505760405162461bcd60e51b815260206004820152602b60248201527f5472616e7366657220616d6f756e74206578636565647320746865204d61785760448201527f616c6c65742073697a652e0000000000000000000000000000000000000000006064820152608401610683565b505b610f5a611199565b8015610f7357506012546001600160a01b038581169116145b15610f8057610f8061120c565b6001600160a01b03851660009081526006602052604081205460ff16151580610fc357506001600160a01b03851660009081526006602052604090205460ff1615155b610fd757610fd2868686611422565b610fd9565b835b905061061786868361150d565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661106f5760405163ec442f0560e01b815260006004820152602401610683565b610a5f60008383611581565b600061108884848461150d565b5060019392505050565b6001600160a01b0384166110d5576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b038316611118576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610d6057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161118b91815260200190565b60405180910390a350505050565b6012546000906001600160a01b031633148015906111c15750601254600160b01b900460ff16155b80156111ea575060125477010000000000000000000000000000000000000000000000900460ff165b801561120757506010543060009081526020819052604090205410155b905090565b6012805460ff60b01b1916600160b01b17905560105460408051600280825260608201835260009260208301908036833701905050905030816000815181106112575761125761190b565b6001600160a01b03928316602091820292909201810191909152601154604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa1580156112c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ed9190611895565b816001815181106113005761130061190b565b6001600160a01b0392831660209182029290920101526011546113269130911684610cc2565b6011546001600160a01b031663791ac94783600084306113474260056118f8565b6040518663ffffffff1660e01b8152600401611367959493929190611921565b600060405180830381600087803b15801561138157600080fd5b505af1158015611395573d6000803e3d6000fd5b5047925050811590506114105760006113b66005546001600160a01b031690565b6001600160a01b031682624c4b4090604051600060405180830381858888f193505050503d8060008114611406576040519150601f19603f3d011682016040523d82523d6000602084013e61140b565b606091505b505050505b50506012805460ff60b01b1916905550565b600b546000908190819061143690436118e5565b90506000600d548211156114b7576012546001600160a01b03888116911614801561146f57506012546001600160a01b03878116911614155b1561147d57506009546114cf565b6012546001600160a01b038881169116148015906114a857506012546001600160a01b038781169116145b156114b25750600a545b6114cf565b600c548211156114ca57506008546114cf565b506007545b60646114db8287611994565b6114e591906119ab565b925082156114f8576114f887308561150d565b61150283866118e5565b979650505050505050565b6001600160a01b038316611550576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b03821661157a5760405163ec442f0560e01b815260006004820152602401610683565b61093e8383835b6001600160a01b0383166115ac5780600260008282546115a191906118f8565b909155506116379050565b6001600160a01b03831660009081526020819052604090205481811015611618576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024810182905260448101839052606401610683565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661165357600280548290039055611672565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516116b791815260200190565b60405180910390a3505050565b8015158114610c7957600080fd5b6000602082840312156116e457600080fd5b81356116ef816116c4565b9392505050565b60006020808352835180602085015260005b8181101561172457858101830151858201604001528201611708565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c7957600080fd5b6000806040838503121561176d57600080fd5b823561177881611745565b946020939093013593505050565b60008060006060848603121561179b57600080fd5b83356117a681611745565b925060208401356117b681611745565b929592945050506040919091013590565b6000602082840312156117d957600080fd5b5035919050565b6000602082840312156117f257600080fd5b81356116ef81611745565b6000806040838503121561181057600080fd5b82359150602083013561182281611745565b809150509250929050565b6000806040838503121561184057600080fd5b823561184b81611745565b9150602083013561182281611745565b600181811c9082168061186f57607f821691505b60208210810361188f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156118a757600080fd5b81516116ef81611745565b6000602082840312156118c457600080fd5b81516116ef816116c4565b634e487b7160e01b600052601160045260246000fd5b818103818111156105f8576105f86118cf565b808201808211156105f8576105f86118cf565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156119735784516001600160a01b03168352938301939183019160010161194e565b50506001600160a01b03969096166060850152505050608001529392505050565b80820281158282048414176105f8576105f86118cf565b6000826119c857634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220913124b6d3a232594e28982ce49c783c3268ffe46d6e1752925da3c3f6fe871a64736f6c63430008180033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000913981d772ab80fb1af94e64e5cd9353b6a403eb
Deployed Bytecode
0x6080604052600436106101a55760003560e01c80638187f516116100e1578063a8aa1b311161008a578063c9567bf911610064578063c9567bf914610475578063dd62ed3e1461048a578063f2fde38b146104d0578063ffb54a99146104f057600080fd5b8063a8aa1b311461041f578063a9059cbb1461043f578063baeb7a7d1461045f57600080fd5b806395d89b41116100bb57806395d89b41146103ca5780639d0014b1146103df5780639e252f00146103ff57600080fd5b80638187f5161461036c5780638da5cb5b1461038c57806395bd72f0146103aa57600080fd5b80633ef947211161014e5780635bc0a84d116101285780635bc0a84d146102ec57806370a082311461030c578063715018a614610342578063751039fc1461035757600080fd5b80633ef94721146102895780634fab9e4c1461029f57806357376198146102cc57600080fd5b806318160ddd1161017f57806318160ddd1461022e57806323b872dd1461024d578063313ce5671461026d57600080fd5b8063013afd14146101b157806306fdde03146101d3578063095ea7b3146101fe57600080fd5b366101ac57005b600080fd5b3480156101bd57600080fd5b506101d16101cc3660046116d2565b610511565b005b3480156101df57600080fd5b506101e8610552565b6040516101f591906116f6565b60405180910390f35b34801561020a57600080fd5b5061021e61021936600461175a565b6105e4565b60405190151581526020016101f5565b34801561023a57600080fd5b506002545b6040519081526020016101f5565b34801561025957600080fd5b5061021e610268366004611786565b6105fe565b34801561027957600080fd5b50604051601281526020016101f5565b34801561029557600080fd5b5061023f600a5481565b3480156102ab57600080fd5b506102b4610623565b6040516001600160a01b0390911681526020016101f5565b3480156102d857600080fd5b506101d16102e736600461175a565b610854565b3480156102f857600080fd5b506101d16103073660046117c7565b610943565b34801561031857600080fd5b5061023f6103273660046117e0565b6001600160a01b031660009081526020819052604090205490565b34801561034e57600080fd5b506101d16109a2565b34801561036357600080fd5b506101d16109b6565b34801561037857600080fd5b506101d16103873660046117e0565b6109c6565b34801561039857600080fd5b506005546001600160a01b03166102b4565b3480156103b657600080fd5b506101d16103c53660046117fd565b6109fd565b3480156103d657600080fd5b506101e8610a63565b3480156103eb57600080fd5b506101d16103fa3660046117c7565b610a72565b34801561040b57600080fd5b506101d161041a3660046117c7565b610a7f565b34801561042b57600080fd5b506012546102b4906001600160a01b031681565b34801561044b57600080fd5b5061021e61045a36600461175a565b610adb565b34801561046b57600080fd5b5061023f60095481565b34801561048157600080fd5b506101d1610b7b565b34801561049657600080fd5b5061023f6104a536600461182d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104dc57600080fd5b506101d16104eb3660046117e0565b610c25565b3480156104fc57600080fd5b5060125461021e90600160a81b900460ff1681565b610519610c7c565b60128054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6060600380546105619061185b565b80601f016020809104026020016040519081016040528092919081815260200182805461058d9061185b565b80156105da5780601f106105af576101008083540402835291602001916105da565b820191906000526020600020905b8154815290600101906020018083116105bd57829003601f168201915b5050505050905090565b6000336105f2818585610cc2565b60019150505b92915050565b60003361060c858285610ccf565b610617858585610d66565b50600195945050505050565b600061062d610c7c565b601254600160a01b900460ff161561068c5760405162461bcd60e51b815260206004820152601360248201527f416c726561647920696e697469616c697a65640000000000000000000000000060448201526064015b60405180910390fd5b601160009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107039190611895565b6001600160a01b031663c9c6539630601160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610765573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107899190611895565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156107ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108129190611895565b601280547fffffffffffffffffffffff000000000000000000000000000000000000000000166001600160a01b0392831617600160a01b179081905516905090565b61085c610c7c565b306001600160a01b038316036108b45760405162461bcd60e51b815260206004820152601960248201527f43616e2774207769746864726177207468697320746f6b656e000000000000006044820152606401610683565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af115801561091a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093e91906118b2565b505050565b61094b610c7c565b600a5481111561099d5760405162461bcd60e51b815260206004820152600c60248201527f54617820746f6f206869676800000000000000000000000000000000000000006044820152606401610683565b600a55565b6109aa610c7c565b6109b46000610fe6565b565b6109be610c7c565b600e54600f55565b6109ce610c7c565b6012805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b610a05610c7c565b60008211610a555760405162461bcd60e51b815260206004820152600d60248201527f43616e6e6f742073656e642030000000000000000000000000000000000000006044820152606401610683565b610a5f8183611045565b5050565b6060600480546105619061185b565b610a7a610c7c565b601055565b610a87610c7c565b6040516000903390624c4b4090849084818181858888f193505050503d8060008114610acf576040519150601f19603f3d011682016040523d82523d6000602084013e610ad4565b606091505b5050505050565b601254600090600160a01b900460ff1680610b0057506005546001600160a01b031633145b610b4c5760405162461bcd60e51b815260206004820152601360248201527f4e6f742079657420696e697469616c697a6564000000000000000000000000006044820152606401610683565b6012546001600160a01b03163303610b7057610b69338484610d66565b90506105f8565b610b6933848461107b565b610b83610c7c565b601254600160a81b900460ff1615610bdd5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610683565b601280547fffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffffff167701000100000000000000000000000000000000000000000017905543600b55565b610c2d610c7c565b6001600160a01b038116610c70576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b610c7981610fe6565b50565b6005546001600160a01b031633146109b4576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610683565b61093e8383836001611092565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610d605781811015610d51576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024810182905260448101839052606401610683565b610d6084848484036000611092565b50505050565b6001600160a01b03831660009081526006602052604081205460ff1680610da557506001600160a01b03831660009081526006602052604090205460ff165b80610db95750601254600160a81b900460ff165b610e055760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420617574686f72697a656420746f2074726164652079657400000000006044820152606401610683565b6000600b5443610e1591906118e5565b9050600c5481108015610e295750600b5415155b15610f52576005546001600160a01b03868116911614801590610e5a57506005546001600160a01b03858116911614155b8015610e7157506001600160a01b03841661dead14155b15610f52576012546001600160a01b03858116911614610f5257600f546001600160a01b03851660009081526006602052604090205460ff1680610ede57508084610ed1876001600160a01b031660009081526020819052604090205490565b610edb91906118f8565b11155b610f505760405162461bcd60e51b815260206004820152602b60248201527f5472616e7366657220616d6f756e74206578636565647320746865204d61785760448201527f616c6c65742073697a652e0000000000000000000000000000000000000000006064820152608401610683565b505b610f5a611199565b8015610f7357506012546001600160a01b038581169116145b15610f8057610f8061120c565b6001600160a01b03851660009081526006602052604081205460ff16151580610fc357506001600160a01b03851660009081526006602052604090205460ff1615155b610fd757610fd2868686611422565b610fd9565b835b905061061786868361150d565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661106f5760405163ec442f0560e01b815260006004820152602401610683565b610a5f60008383611581565b600061108884848461150d565b5060019392505050565b6001600160a01b0384166110d5576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b038316611118576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610d6057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161118b91815260200190565b60405180910390a350505050565b6012546000906001600160a01b031633148015906111c15750601254600160b01b900460ff16155b80156111ea575060125477010000000000000000000000000000000000000000000000900460ff165b801561120757506010543060009081526020819052604090205410155b905090565b6012805460ff60b01b1916600160b01b17905560105460408051600280825260608201835260009260208301908036833701905050905030816000815181106112575761125761190b565b6001600160a01b03928316602091820292909201810191909152601154604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa1580156112c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ed9190611895565b816001815181106113005761130061190b565b6001600160a01b0392831660209182029290920101526011546113269130911684610cc2565b6011546001600160a01b031663791ac94783600084306113474260056118f8565b6040518663ffffffff1660e01b8152600401611367959493929190611921565b600060405180830381600087803b15801561138157600080fd5b505af1158015611395573d6000803e3d6000fd5b5047925050811590506114105760006113b66005546001600160a01b031690565b6001600160a01b031682624c4b4090604051600060405180830381858888f193505050503d8060008114611406576040519150601f19603f3d011682016040523d82523d6000602084013e61140b565b606091505b505050505b50506012805460ff60b01b1916905550565b600b546000908190819061143690436118e5565b90506000600d548211156114b7576012546001600160a01b03888116911614801561146f57506012546001600160a01b03878116911614155b1561147d57506009546114cf565b6012546001600160a01b038881169116148015906114a857506012546001600160a01b038781169116145b156114b25750600a545b6114cf565b600c548211156114ca57506008546114cf565b506007545b60646114db8287611994565b6114e591906119ab565b925082156114f8576114f887308561150d565b61150283866118e5565b979650505050505050565b6001600160a01b038316611550576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b03821661157a5760405163ec442f0560e01b815260006004820152602401610683565b61093e8383835b6001600160a01b0383166115ac5780600260008282546115a191906118f8565b909155506116379050565b6001600160a01b03831660009081526020819052604090205481811015611618576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024810182905260448101839052606401610683565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661165357600280548290039055611672565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516116b791815260200190565b60405180910390a3505050565b8015158114610c7957600080fd5b6000602082840312156116e457600080fd5b81356116ef816116c4565b9392505050565b60006020808352835180602085015260005b8181101561172457858101830151858201604001528201611708565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c7957600080fd5b6000806040838503121561176d57600080fd5b823561177881611745565b946020939093013593505050565b60008060006060848603121561179b57600080fd5b83356117a681611745565b925060208401356117b681611745565b929592945050506040919091013590565b6000602082840312156117d957600080fd5b5035919050565b6000602082840312156117f257600080fd5b81356116ef81611745565b6000806040838503121561181057600080fd5b82359150602083013561182281611745565b809150509250929050565b6000806040838503121561184057600080fd5b823561184b81611745565b9150602083013561182281611745565b600181811c9082168061186f57607f821691505b60208210810361188f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156118a757600080fd5b81516116ef81611745565b6000602082840312156118c457600080fd5b81516116ef816116c4565b634e487b7160e01b600052601160045260246000fd5b818103818111156105f8576105f86118cf565b808201808211156105f8576105f86118cf565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156119735784516001600160a01b03168352938301939183019160010161194e565b50506001600160a01b03969096166060850152505050608001529392505050565b80820281158282048414176105f8576105f86118cf565b6000826119c857634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220913124b6d3a232594e28982ce49c783c3268ffe46d6e1752925da3c3f6fe871a64736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000913981d772ab80fb1af94e64e5cd9353b6a403eb
-----Decoded View---------------
Arg [0] : initialOwner (address): 0x913981D772aB80fB1af94E64E5CD9353B6a403Eb
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000913981d772ab80fb1af94e64e5cd9353b6a403eb
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.