ERC-20
Trading
Overview
Max Total Supply
10,000,000 CTRL
Holders
445 ( -1.348%)
Market
Price
$0.01 @ 0.000004 ETH (-29.36%)
Onchain Market Cap
$116,217.40
Circulating Supply Market Cap
$71,817.00
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CTRL
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0-only /* website: https://ctrlapp.io twitter: https://twitter.com/ctrlappio telegram: https://t.me/ctrlappio discord: https://discord.gg/sQukANJv2t */ pragma solidity ^0.8.19; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./interfaces/IUniswapV2Factory.sol"; import "./interfaces/IUniswapV2Pair.sol"; import "./interfaces/IUniswapV2Router02.sol"; /* The CTRL token is governed and distributed by CTRL Foundation, a series of Wrappr LLC, a Marshall Islands limited liability company, Reg. No. 965909. Trading of CTRL is not permitted in the United States or any other jurisdiction where prohibited by law including but not limited to: Belarus, Cuba, Crimea Region, Democratic Republic of Congo, Iran, Iraq, New Zealand, North Korea, South Sudan, Sudan, Syria, United States of America and its territories (American Samoa, Guam, Puerto Rico, the Northern Mariana Islands, and the U.S. Virgin Islands), Zimbabwe. */ contract CTRL is ERC20, Ownable { using SafeMath for uint256; event SwapBackSuccess( uint256 tokenAmount, uint256 ethAmountReceived, bool success ); bool private swapping; address public rewardDistributor; address public treasuryWallet; uint256 _totalSupply = 10_000_000 * 1e18; uint256 public maxTransactionAmount = (_totalSupply * 10) / 1000; uint256 public swapTokensAtAmount = (_totalSupply * 10) / 100000; uint256 public maxWallet = (_totalSupply * 10) / 1000; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; uint256 public buyFees = 50; uint256 public sellFees = 50; uint256 public revshareAmount = 40; uint256 public devAmount = 60; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public automatedMarketMakerPairs; constructor() ERC20("CTRL", "CTRL") { excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); _mint(owner(), _totalSupply); } receive() external payable {} function enableTrading() external onlyOwner { tradingActive = true; swapEnabled = true; } function removeLimits() external onlyOwner { buyFees = 5; sellFees = 5; limitsInEffect = false; } function reduceFees(uint buyFees_, uint sellFees_) external onlyOwner { require( buyFees_ <= buyFees && sellFees_ <= sellFees, "CTRL/REDUCE_ONLY" ); buyFees = buyFees_; sellFees = sellFees_; } function excludeFromMaxTransaction( address addressToExclude, bool isExcluded ) public onlyOwner { _isExcludedMaxTransactionAmount[addressToExclude] = isExcluded; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; } function setAutomatedMarketMakerPair( address pair, bool value ) public onlyOwner { require(pair != uniswapV2Pair, "CTRL/CANT_REMOVE_UNIV2"); _setAutomatedMarketMakerPair(pair, value); } function createPair() external onlyOwner { uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); excludeFromMaxTransaction(address(uniswapV2Router), true); _approve(address(this), address(uniswapV2Router), totalSupply()); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; } function updateFeeWallet( address rewardDistributor_, address treasuryWallet_ ) public onlyOwner { treasuryWallet = treasuryWallet_; rewardDistributor = rewardDistributor_; excludeFromFees(rewardDistributor, true); excludeFromFees(treasuryWallet, true); excludeFromMaxTransaction(rewardDistributor, true); excludeFromMaxTransaction(treasuryWallet, true); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not enabled yet." ); } //when buy if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } //when sell else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } if ( swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if (takeFee) { if (automatedMarketMakerPairs[to] && sellFees > 0) { fees = amount.mul(sellFees).div(100); } else if (automatedMarketMakerPairs[from] && buyFees > 0) { fees = amount.mul(buyFees).div(100); } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); bool success; if (contractBalance == 0) { return; } if (contractBalance >= swapTokensAtAmount) { uint256 amountToSwapForETH = swapTokensAtAmount; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance; uint256 amountToRevshare = ethBalance.mul(revshareAmount).div(100); uint256 amountToTreasury = ethBalance.sub(amountToRevshare); (success, ) = address(rewardDistributor).call{ value: amountToRevshare }(""); (success, ) = address(treasuryWallet).call{value: amountToTreasury}( "" ); emit SwapBackSuccess(amountToSwapForETH, ethBalance, success); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.9.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; } } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.19; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair( address tokenA, address tokenB ) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair( address tokenA, address tokenB ) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.19; interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance( address owner, address spender ) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn( address to ) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.19; interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; }
{ "viaIR": true, "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmountReceived","type":"uint256"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"SwapBackSuccess","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":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createPair","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":"devAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addressToExclude","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyFees_","type":"uint256"},{"internalType":"uint256","name":"sellFees_","type":"uint256"}],"name":"reduceFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revshareAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardDistributor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"rewardDistributor_","type":"address"},{"internalType":"address","name":"treasuryWallet_","type":"address"}],"name":"updateFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60406080815234620004b55762000015620004ba565b6200001f620004ba565b81519091906001600160401b0390818111620003b5576003918254926001928385811c9516958615620004aa575b6020968787101462000494578190601f968781116200043e575b508790878311600114620003d757600092620003cb575b505060001982841b1c191690841b1781555b8551918211620003b55760049586548481811c91168015620003aa575b878210146200039557908186859493116200033d575b508690868411600114620002d257600093620002c6575b505082841b92600019911b1c19161784555b60058054336001600160a01b0319821681179092556001600160a01b0392919083167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a36a084595161401484a00000060085569152d02c7e14af680000080600955683635c9adc5dea00000600a55600b558062ffffff19600c541617600c556032600d556032600e556028600f55603c6010556200018d620004eb565b3360005260138452856000209060ff19918183825416179055620001b0620004eb565b30600052601385528660002081838254161790558260055416620001d3620004eb565b60005260148552866000208183825416179055620001f0620004eb565b306000526014855286600020918254161790556005541692600854918415620002845750600254908282018092116200026f575060025560008381528083528481208054830190558451918252917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a351611b649081620005458239f35b601190634e487b7160e01b6000525260246000fd5b855162461bcd60e51b815291820184905260248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260649150fd5b015191503880620000da565b9190859450601f1984169289600052886000209360005b8a8282106200032657505085116200030b575b50505050811b018455620000ec565b01519060f884600019921b161c1916905538808080620002fc565b8385015187558998909601959384019301620002e9565b9091925087600052866000208680860160051c8201928987106200038b575b91879187969594930160051c01915b8281106200037b575050620000c3565b600081558695508791016200036b565b925081926200035c565b602288634e487b7160e01b6000525260246000fd5b90607f1690620000ad565b634e487b7160e01b600052604160045260246000fd5b0151905038806200007e565b90869350601f1983169185600052896000209260005b8b8282106200042757505084116200040e575b505050811b01815562000090565b015160001983861b60f8161c1916905538808062000400565b8385015186558a97909501949384019301620003ed565b90915083600052876000208780850160051c8201928a86106200048a575b918891869594930160051c01915b8281106200047a57505062000067565b600081558594508891016200046a565b925081926200045c565b634e487b7160e01b600052602260045260246000fd5b94607f16946200004d565b600080fd5b60408051919082016001600160401b03811183821017620003b557604052600482526310d5149360e21b6020830152565b6005546001600160a01b031633036200050057565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfe6080604081815260049182361015610022575b505050361561002057600080fd5b005b600092833560e01c91826306fdde0314610e4557508163095ea7b314610e1b57816310d5de5314610ddd5781631694505e14610db457816318160ddd14610d9557816323b872dd14610ccb57816325d92ee214610bf85781632b34596414610bd9578163313ce56714610bbd5781633950935114610b6d5781634626402b14610b4457816349bd5a5e14610b1b5781634a62bb6514610af75781634fbee19314610ab95781636ddd171314610a925781636ef91c7714610a7357816370a0823114610a3c578163715018a6146109df578163751039fc146109af5781637571336a1461096f5781638a8c523c146109425781638da5cb5b1461091957816395d89b41146108165781639a7a23d6146107895781639e78fb4f146105b9578163a08fc5c71461053a578163a457c2d714610492578163a9059cbb14610461578163acc2166a14610438578163b62496f5146103fa578163bbc0c742146103d3578163c024666814610390578163c8c8ebe414610371578163dd62ed3e14610328578163e0f3ccf514610309578163e2f45605146102ea578163e4748b9e146102cb578163f2fde38b14610200575063f8b45b05146101df5780610012565b346101fc57816003193601126101fc57602090600b549051908152f35b5080fd5b9050346102c75760203660031901126102c75761021b610f83565b90610224610fe3565b6001600160a01b03918216928315610275575050600554826001600160601b0360a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8280fd5b5050346101fc57816003193601126101fc57602090600d549051908152f35b5050346101fc57816003193601126101fc57602090600a549051908152f35b5050346101fc57816003193601126101fc57602090600e549051908152f35b5050346101fc57806003193601126101fc5780602092610346610f83565b61034e610f9e565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5050346101fc57816003193601126101fc576020906009549051908152f35b5050346101fc576103d0906103a436610fb4565b91906103ae610fe3565b60018060a01b03168452601360205283209060ff801983541691151516179055565b80f35b5050346101fc57816003193601126101fc5760209060ff600c5460081c1690519015158152f35b5050346101fc5760203660031901126101fc5760209160ff9082906001600160a01b03610425610f83565b1681526015855220541690519015158152f35b5050346101fc57816003193601126101fc5760065490516001600160a01b039091168152602090f35b5050346101fc57806003193601126101fc5760209061048b610481610f83565b60243590336112b8565b5160018152f35b905082346105375782600319360112610537576104ad610f83565b918360243592338152600160205281812060018060a01b03861682526020522054908282106104e65760208561048b8585038733611096565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b80fd5b9050346102c757816003193601126102c7578035906024359261055b610fe3565b600d54831115806105ad575b15610577575050600d55600e5580f35b906020606492519162461bcd60e51b8352820152601060248201526f4354524c2f5245445543455f4f4e4c5960801b6044820152fd5b50600e54841115610567565b919050346102c757826003193601126102c7576105d4610fe3565b737a250d5630b4cf539739df2c5dacb4c659f2488d916001600160601b0360a01b9280846011541617601155610608610fe3565b8452602090601482528285209360ff199460018682541617905560018060a01b039161063c83601154166002549030611096565b601154855163c45a015560e01b8152908416918886838381875afa92831561075e578790829461076a575b5088516315ab88c960e31b815293948490849082905afa92831561075e579181878096948a9661073e575b50604493948b5197889687956364e329cb60e11b87523090870152166024850152165af19081156107345791836015949260019796948a91610707575b5016809160125416176012556106e3610fe3565b87526014825283872085878254161790556012541686525283209182541617905580f35b6107279150853d871161072d575b61071f818361103b565b810190611198565b386106cf565b503d610715565b85513d89823e3d90fd5b6044945061075890873d891161072d5761071f818361103b565b93610692565b508751903d90823e3d90fd5b83945061078390823d841161072d5761071f818361103b565b93610667565b839150346101fc5761079a36610fb4565b916107a3610fe3565b6012546001600160a01b03928316921682146107da57509282936103d09352601560205283209060ff801983541691151516179055565b606490602086519162461bcd60e51b8352820152601660248201527521aa292617a1a0a72a2fa922a6a7ab22afaaa724ab1960511b6044820152fd5b8383346101fc57816003193601126101fc57805191809380549160019083821c9282851694851561090f575b60209586861081146108fc578589529081156108d85750600114610880575b61087c8787610872828c038361103b565b5191829182610f3a565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8284106108c5575050508261087c9461087292820101948680610861565b80548685018801529286019281016108a7565b60ff19168887015250505050151560051b83010192506108728261087c8680610861565b634e487b7160e01b845260228352602484fd5b93607f1693610842565b5050346101fc57816003193601126101fc5760055490516001600160a01b039091168152602090f35b833461053757806003193601126105375761095b610fe3565b6201010062ffff0019600c541617600c5580f35b5050346101fc576103d09061098336610fb4565b919061098d610fe3565b60018060a01b03168452601460205283209060ff801983541691151516179055565b83346105375780600319360112610537576109c8610fe3565b6005600d556005600e5560ff19600c5416600c5580f35b83346105375780600319360112610537576109f8610fe3565b600580546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346101fc5760203660031901126101fc5760209181906001600160a01b03610a64610f83565b16815280845220549051908152f35b5050346101fc57816003193601126101fc57602090600f549051908152f35b5050346101fc57816003193601126101fc5760209060ff600c5460101c1690519015158152f35b5050346101fc5760203660031901126101fc5760209160ff9082906001600160a01b03610ae4610f83565b1681526013855220541690519015158152f35b5050346101fc57816003193601126101fc5760209060ff600c541690519015158152f35b5050346101fc57816003193601126101fc5760125490516001600160a01b039091168152602090f35b5050346101fc57816003193601126101fc5760075490516001600160a01b039091168152602090f35b5050346101fc57806003193601126101fc5761048b602092610bb6610b90610f83565b338352600186528483206001600160a01b03821684528652918490205460243590611073565b9033611096565b5050346101fc57816003193601126101fc576020905160128152f35b5050346101fc57816003193601126101fc576020906010549051908152f35b5050346101fc57806003193601126101fc576001610c14610f83565b91610c1d610f9e565b610c25610fe3565b828060a01b038094816001600160601b0360a01b93168360075416176007551680916006541617600655610c57610fe3565b845260136020528084209260ff199383858254161790558060075416610c7b610fe3565b8552601360205281852083858254161790558060065416610c9a610fe3565b85526014602052818520838582541617905560075416610cb8610fe3565b8452601460205283209182541617905580f35b839150346101fc5760603660031901126101fc57610ce7610f83565b610cef610f9e565b91846044359460018060a01b038416815260016020528181203382526020522054906000198203610d29575b60208661048b8787876112b8565b848210610d525750918391610d476020969561048b95033383611096565b919394819350610d1b565b606490602087519162461bcd60e51b8352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b5050346101fc57816003193601126101fc576020906002549051908152f35b5050346101fc57816003193601126101fc5760115490516001600160a01b039091168152602090f35b5050346101fc5760203660031901126101fc5760209160ff9082906001600160a01b03610e08610f83565b1681526014855220541690519015158152f35b5050346101fc57806003193601126101fc5760209061048b610e3b610f83565b6024359033611096565b92915034610f365783600319360112610f3657600354600181811c9186908281168015610f2c575b6020958686108214610f195750848852908115610ef75750600114610e9e575b61087c8686610872828b038361103b565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610ee4575050508261087c94610872928201019438610e8d565b8054868501880152928601928101610ec7565b60ff191687860152505050151560051b83010192506108728261087c38610e8d565b634e487b7160e01b845260229052602483fd5b93607f1693610e6d565b8380fd5b6020808252825181830181905290939260005b828110610f6f57505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610f4d565b600435906001600160a01b0382168203610f9957565b600080fd5b602435906001600160a01b0382168203610f9957565b6040906003190112610f99576004356001600160a01b0381168103610f9957906024358015158103610f995790565b6005546001600160a01b03163303610ff757565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90601f8019910116810190811067ffffffffffffffff82111761105d57604052565b634e487b7160e01b600052604160045260246000fd5b9190820180921161108057565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0390811691821561114757169182156110f75760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b90816020910312610f9957516001600160a01b0381168103610f995790565b156111be57565b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b1561121857565b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b1561127057565b60405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606490fd5b9190820391821161108057565b9291906001600160a01b03808516906112d28215156111b7565b80831690811515906112e382611211565b851561174e57600c5460ff928380938184166114c4575b50505060101c16806114b5575b8061149d575b80611485575b8061146d575b611443575b8060055460a01c1615926000928184526013602052826040852054168015611433575b61142a575b839461135e575b505050505061135c92936117a5565b565b83989698526015602052816040842054168061141f575b156113d5575050600e548681029250868304036113c1575061135c939460646113a59204905b816113b1576112ab565b9193923880808061134d565b6113bc8230876117a5565b6112ab565b634e487b7160e01b81526011600452602490fd5b825260408220541680611414575b6113f7575b506113a59061135c949561139b565b600d548681029250868304036113c157506064900461135c6113e8565b50600d5415156113e3565b50600e541515611375565b93508293611346565b5080845282604085205416611341565b6005805460ff60a01b19908116600160a01b179091556114616118b9565b6005541660055561131e565b50816000526013602052806040600020541615611319565b50826000526013602052806040600020541615611313565b5082600052601560205280604060002054161561130d565b508060055460a01c1615611307565b60055490811692838914159384611743575b508361173b575b508261172e575b82611720575b50506114f9575b3882816112fa565b908160081c16156116ad575b6000848152602090601582526040918480848420541680611697575b156115b8575060095489116115575784939282806115489389611552965252205489611073565b600b541015611269565b6114f1565b60849083519062461bcd60e51b82526004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152fd5b9092918681526015845281838220541680611683575b1561164957505060095488116115e757505081906114f1565b60849250519062461bcd60e51b82526004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152fd5b91868395949295526014825284818420541615611669575b5050506114f1565b8261167b936115489352205489611073565b388080611661565b5087815260148452818382205416156115ce565b5050858252601481528480848420541615611521565b8360005260136020528160406000205416801561170e575b6115055760405162461bcd60e51b815260206004820152601b60248201527f54726164696e67206973206e6f7420656e61626c6564207965742e00000000006044820152606490fd5b508260005281604060002054166116c5565b60a01c1615905082386114ea565b61dead87141592506114e4565b9250386114dd565b8814159350386114d6565b60405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608490fd5b6001600160a01b03908116916117bc8315156111b7565b16916117c9831515611211565b60008281528060205260408120549180831061182557604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b3d156118b4573d9067ffffffffffffffff821161105d57604051916118a8601f8201601f19166020018461103b565b82523d6000602084013e565b606090565b60003081526020818152604090818320549283156118dd57600a54809410156118e3575b50505050565b825167ffffffffffffffff91906060810183811182821017611b1a578552600281528381019285368537815115611b065730845260115486516315ab88c960e31b81526001600160a01b0395909186168783600481845afa928315611afc578693611add575b50845192600193841015611ac95761196991888c92168b88015230611096565b856011541691823b15611ac557885163791ac94760e01b8152600481018b90526024810187905260a06044820152945160a4860181905286938693909260c4850192865b8c828210611aaa5750505050508383809230606483015242608483015203925af18015611aa057611a7d575b50504791600f54808402908482041484151715611a695791808080606098969460647fe9f689eb4d290dd3a40869ea626055ee4a55d40f20286208d04ef55f39254cff9b9997049082808080611a2f868c6112ab565b9585600654165af150611a40611879565b50600754165af191611a50611879565b508351948552840152151590820152a1388080806118dd565b634e487b7160e01b83526011600452602483fd5b8111611a8c57845238806119d9565b634e487b7160e01b82526041600452602482fd5b86513d85823e3d90fd5b84518d1686528b98508a9750948501949093019282016119ad565b8580fd5b634e487b7160e01b87526032600452602487fd5b611af5919350883d8a1161072d5761071f818361103b565b9138611949565b89513d88823e3d90fd5b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b83526041600452602483fdfea2646970667358221220b79d167b7cfebf35fc38b227256cf82ddca24858abede79035c8d91501b19d3964736f6c63430008130033
Deployed Bytecode
0x6080604081815260049182361015610022575b505050361561002057600080fd5b005b600092833560e01c91826306fdde0314610e4557508163095ea7b314610e1b57816310d5de5314610ddd5781631694505e14610db457816318160ddd14610d9557816323b872dd14610ccb57816325d92ee214610bf85781632b34596414610bd9578163313ce56714610bbd5781633950935114610b6d5781634626402b14610b4457816349bd5a5e14610b1b5781634a62bb6514610af75781634fbee19314610ab95781636ddd171314610a925781636ef91c7714610a7357816370a0823114610a3c578163715018a6146109df578163751039fc146109af5781637571336a1461096f5781638a8c523c146109425781638da5cb5b1461091957816395d89b41146108165781639a7a23d6146107895781639e78fb4f146105b9578163a08fc5c71461053a578163a457c2d714610492578163a9059cbb14610461578163acc2166a14610438578163b62496f5146103fa578163bbc0c742146103d3578163c024666814610390578163c8c8ebe414610371578163dd62ed3e14610328578163e0f3ccf514610309578163e2f45605146102ea578163e4748b9e146102cb578163f2fde38b14610200575063f8b45b05146101df5780610012565b346101fc57816003193601126101fc57602090600b549051908152f35b5080fd5b9050346102c75760203660031901126102c75761021b610f83565b90610224610fe3565b6001600160a01b03918216928315610275575050600554826001600160601b0360a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8280fd5b5050346101fc57816003193601126101fc57602090600d549051908152f35b5050346101fc57816003193601126101fc57602090600a549051908152f35b5050346101fc57816003193601126101fc57602090600e549051908152f35b5050346101fc57806003193601126101fc5780602092610346610f83565b61034e610f9e565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5050346101fc57816003193601126101fc576020906009549051908152f35b5050346101fc576103d0906103a436610fb4565b91906103ae610fe3565b60018060a01b03168452601360205283209060ff801983541691151516179055565b80f35b5050346101fc57816003193601126101fc5760209060ff600c5460081c1690519015158152f35b5050346101fc5760203660031901126101fc5760209160ff9082906001600160a01b03610425610f83565b1681526015855220541690519015158152f35b5050346101fc57816003193601126101fc5760065490516001600160a01b039091168152602090f35b5050346101fc57806003193601126101fc5760209061048b610481610f83565b60243590336112b8565b5160018152f35b905082346105375782600319360112610537576104ad610f83565b918360243592338152600160205281812060018060a01b03861682526020522054908282106104e65760208561048b8585038733611096565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b80fd5b9050346102c757816003193601126102c7578035906024359261055b610fe3565b600d54831115806105ad575b15610577575050600d55600e5580f35b906020606492519162461bcd60e51b8352820152601060248201526f4354524c2f5245445543455f4f4e4c5960801b6044820152fd5b50600e54841115610567565b919050346102c757826003193601126102c7576105d4610fe3565b737a250d5630b4cf539739df2c5dacb4c659f2488d916001600160601b0360a01b9280846011541617601155610608610fe3565b8452602090601482528285209360ff199460018682541617905560018060a01b039161063c83601154166002549030611096565b601154855163c45a015560e01b8152908416918886838381875afa92831561075e578790829461076a575b5088516315ab88c960e31b815293948490849082905afa92831561075e579181878096948a9661073e575b50604493948b5197889687956364e329cb60e11b87523090870152166024850152165af19081156107345791836015949260019796948a91610707575b5016809160125416176012556106e3610fe3565b87526014825283872085878254161790556012541686525283209182541617905580f35b6107279150853d871161072d575b61071f818361103b565b810190611198565b386106cf565b503d610715565b85513d89823e3d90fd5b6044945061075890873d891161072d5761071f818361103b565b93610692565b508751903d90823e3d90fd5b83945061078390823d841161072d5761071f818361103b565b93610667565b839150346101fc5761079a36610fb4565b916107a3610fe3565b6012546001600160a01b03928316921682146107da57509282936103d09352601560205283209060ff801983541691151516179055565b606490602086519162461bcd60e51b8352820152601660248201527521aa292617a1a0a72a2fa922a6a7ab22afaaa724ab1960511b6044820152fd5b8383346101fc57816003193601126101fc57805191809380549160019083821c9282851694851561090f575b60209586861081146108fc578589529081156108d85750600114610880575b61087c8787610872828c038361103b565b5191829182610f3a565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8284106108c5575050508261087c9461087292820101948680610861565b80548685018801529286019281016108a7565b60ff19168887015250505050151560051b83010192506108728261087c8680610861565b634e487b7160e01b845260228352602484fd5b93607f1693610842565b5050346101fc57816003193601126101fc5760055490516001600160a01b039091168152602090f35b833461053757806003193601126105375761095b610fe3565b6201010062ffff0019600c541617600c5580f35b5050346101fc576103d09061098336610fb4565b919061098d610fe3565b60018060a01b03168452601460205283209060ff801983541691151516179055565b83346105375780600319360112610537576109c8610fe3565b6005600d556005600e5560ff19600c5416600c5580f35b83346105375780600319360112610537576109f8610fe3565b600580546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346101fc5760203660031901126101fc5760209181906001600160a01b03610a64610f83565b16815280845220549051908152f35b5050346101fc57816003193601126101fc57602090600f549051908152f35b5050346101fc57816003193601126101fc5760209060ff600c5460101c1690519015158152f35b5050346101fc5760203660031901126101fc5760209160ff9082906001600160a01b03610ae4610f83565b1681526013855220541690519015158152f35b5050346101fc57816003193601126101fc5760209060ff600c541690519015158152f35b5050346101fc57816003193601126101fc5760125490516001600160a01b039091168152602090f35b5050346101fc57816003193601126101fc5760075490516001600160a01b039091168152602090f35b5050346101fc57806003193601126101fc5761048b602092610bb6610b90610f83565b338352600186528483206001600160a01b03821684528652918490205460243590611073565b9033611096565b5050346101fc57816003193601126101fc576020905160128152f35b5050346101fc57816003193601126101fc576020906010549051908152f35b5050346101fc57806003193601126101fc576001610c14610f83565b91610c1d610f9e565b610c25610fe3565b828060a01b038094816001600160601b0360a01b93168360075416176007551680916006541617600655610c57610fe3565b845260136020528084209260ff199383858254161790558060075416610c7b610fe3565b8552601360205281852083858254161790558060065416610c9a610fe3565b85526014602052818520838582541617905560075416610cb8610fe3565b8452601460205283209182541617905580f35b839150346101fc5760603660031901126101fc57610ce7610f83565b610cef610f9e565b91846044359460018060a01b038416815260016020528181203382526020522054906000198203610d29575b60208661048b8787876112b8565b848210610d525750918391610d476020969561048b95033383611096565b919394819350610d1b565b606490602087519162461bcd60e51b8352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b5050346101fc57816003193601126101fc576020906002549051908152f35b5050346101fc57816003193601126101fc5760115490516001600160a01b039091168152602090f35b5050346101fc5760203660031901126101fc5760209160ff9082906001600160a01b03610e08610f83565b1681526014855220541690519015158152f35b5050346101fc57806003193601126101fc5760209061048b610e3b610f83565b6024359033611096565b92915034610f365783600319360112610f3657600354600181811c9186908281168015610f2c575b6020958686108214610f195750848852908115610ef75750600114610e9e575b61087c8686610872828b038361103b565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610ee4575050508261087c94610872928201019438610e8d565b8054868501880152928601928101610ec7565b60ff191687860152505050151560051b83010192506108728261087c38610e8d565b634e487b7160e01b845260229052602483fd5b93607f1693610e6d565b8380fd5b6020808252825181830181905290939260005b828110610f6f57505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610f4d565b600435906001600160a01b0382168203610f9957565b600080fd5b602435906001600160a01b0382168203610f9957565b6040906003190112610f99576004356001600160a01b0381168103610f9957906024358015158103610f995790565b6005546001600160a01b03163303610ff757565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90601f8019910116810190811067ffffffffffffffff82111761105d57604052565b634e487b7160e01b600052604160045260246000fd5b9190820180921161108057565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0390811691821561114757169182156110f75760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b90816020910312610f9957516001600160a01b0381168103610f995790565b156111be57565b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b1561121857565b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b1561127057565b60405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606490fd5b9190820391821161108057565b9291906001600160a01b03808516906112d28215156111b7565b80831690811515906112e382611211565b851561174e57600c5460ff928380938184166114c4575b50505060101c16806114b5575b8061149d575b80611485575b8061146d575b611443575b8060055460a01c1615926000928184526013602052826040852054168015611433575b61142a575b839461135e575b505050505061135c92936117a5565b565b83989698526015602052816040842054168061141f575b156113d5575050600e548681029250868304036113c1575061135c939460646113a59204905b816113b1576112ab565b9193923880808061134d565b6113bc8230876117a5565b6112ab565b634e487b7160e01b81526011600452602490fd5b825260408220541680611414575b6113f7575b506113a59061135c949561139b565b600d548681029250868304036113c157506064900461135c6113e8565b50600d5415156113e3565b50600e541515611375565b93508293611346565b5080845282604085205416611341565b6005805460ff60a01b19908116600160a01b179091556114616118b9565b6005541660055561131e565b50816000526013602052806040600020541615611319565b50826000526013602052806040600020541615611313565b5082600052601560205280604060002054161561130d565b508060055460a01c1615611307565b60055490811692838914159384611743575b508361173b575b508261172e575b82611720575b50506114f9575b3882816112fa565b908160081c16156116ad575b6000848152602090601582526040918480848420541680611697575b156115b8575060095489116115575784939282806115489389611552965252205489611073565b600b541015611269565b6114f1565b60849083519062461bcd60e51b82526004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152fd5b9092918681526015845281838220541680611683575b1561164957505060095488116115e757505081906114f1565b60849250519062461bcd60e51b82526004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152fd5b91868395949295526014825284818420541615611669575b5050506114f1565b8261167b936115489352205489611073565b388080611661565b5087815260148452818382205416156115ce565b5050858252601481528480848420541615611521565b8360005260136020528160406000205416801561170e575b6115055760405162461bcd60e51b815260206004820152601b60248201527f54726164696e67206973206e6f7420656e61626c6564207965742e00000000006044820152606490fd5b508260005281604060002054166116c5565b60a01c1615905082386114ea565b61dead87141592506114e4565b9250386114dd565b8814159350386114d6565b60405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608490fd5b6001600160a01b03908116916117bc8315156111b7565b16916117c9831515611211565b60008281528060205260408120549180831061182557604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b3d156118b4573d9067ffffffffffffffff821161105d57604051916118a8601f8201601f19166020018461103b565b82523d6000602084013e565b606090565b60003081526020818152604090818320549283156118dd57600a54809410156118e3575b50505050565b825167ffffffffffffffff91906060810183811182821017611b1a578552600281528381019285368537815115611b065730845260115486516315ab88c960e31b81526001600160a01b0395909186168783600481845afa928315611afc578693611add575b50845192600193841015611ac95761196991888c92168b88015230611096565b856011541691823b15611ac557885163791ac94760e01b8152600481018b90526024810187905260a06044820152945160a4860181905286938693909260c4850192865b8c828210611aaa5750505050508383809230606483015242608483015203925af18015611aa057611a7d575b50504791600f54808402908482041484151715611a695791808080606098969460647fe9f689eb4d290dd3a40869ea626055ee4a55d40f20286208d04ef55f39254cff9b9997049082808080611a2f868c6112ab565b9585600654165af150611a40611879565b50600754165af191611a50611879565b508351948552840152151590820152a1388080806118dd565b634e487b7160e01b83526011600452602483fd5b8111611a8c57845238806119d9565b634e487b7160e01b82526041600452602482fd5b86513d85823e3d90fd5b84518d1686528b98508a9750948501949093019282016119ad565b8580fd5b634e487b7160e01b87526032600452602487fd5b611af5919350883d8a1161072d5761071f818361103b565b9138611949565b89513d88823e3d90fd5b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b83526041600452602483fdfea2646970667358221220b79d167b7cfebf35fc38b227256cf82ddca24858abede79035c8d91501b19d3964736f6c63430008130033
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.