Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,451 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 23095915 | 199 days ago | IN | 0 ETH | 0.00000944 | ||||
| Approve | 21964528 | 357 days ago | IN | 0 ETH | 0.00005422 | ||||
| Approve | 21844411 | 374 days ago | IN | 0 ETH | 0.00002018 | ||||
| Approve | 21705593 | 393 days ago | IN | 0 ETH | 0.00009728 | ||||
| Approve | 21486229 | 424 days ago | IN | 0 ETH | 0.00014073 | ||||
| Approve | 21426544 | 432 days ago | IN | 0 ETH | 0.00025377 | ||||
| Approve | 20671418 | 537 days ago | IN | 0 ETH | 0.00005594 | ||||
| Approve | 20671415 | 537 days ago | IN | 0 ETH | 0.00005095 | ||||
| Approve | 20325028 | 586 days ago | IN | 0 ETH | 0.00029108 | ||||
| Approve | 19887941 | 647 days ago | IN | 0 ETH | 0.0000767 | ||||
| Transfer | 19859224 | 651 days ago | IN | 0 ETH | 0.00019312 | ||||
| Transfer | 19850960 | 652 days ago | IN | 0 ETH | 0.00081404 | ||||
| Approve | 19477689 | 704 days ago | IN | 0 ETH | 0.0006952 | ||||
| Approve | 19411922 | 714 days ago | IN | 0 ETH | 0.00498797 | ||||
| Approve | 19411917 | 714 days ago | IN | 0 ETH | 0.0092856 | ||||
| Approve | 19022202 | 768 days ago | IN | 0 ETH | 0.00097018 | ||||
| Approve | 18632894 | 823 days ago | IN | 0 ETH | 0.0007493 | ||||
| Approve | 18632893 | 823 days ago | IN | 0 ETH | 0.00077464 | ||||
| Approve | 18423025 | 852 days ago | IN | 0 ETH | 0.00100707 | ||||
| Approve | 18398304 | 856 days ago | IN | 0 ETH | 0.00015433 | ||||
| Approve | 18258910 | 875 days ago | IN | 0 ETH | 0.00033716 | ||||
| Approve | 18222204 | 880 days ago | IN | 0 ETH | 0.00079339 | ||||
| Approve | 18161270 | 889 days ago | IN | 0 ETH | 0.00039557 | ||||
| Approve | 18161262 | 889 days ago | IN | 0 ETH | 0.00037185 | ||||
| Approve | 18136856 | 892 days ago | IN | 0 ETH | 0.00095885 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
UnimoonToken
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
import "./interfaces/IPair.sol";
import "./interfaces/IFactory.sol";
import "./interfaces/ITreasury.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./pancake-swap/libraries/TransferHelper.sol";
contract UnimoonToken is ERC20, Ownable {
uint8 public constant DENOMINATOR = 100;
address public immutable FACTORY;
address public immutable PAIR;
address public treasury;
uint256 public threshold;
uint8 public sellFee = 5;
uint8 public buyFee = 5;
AntiBotInfo public antibot;
mapping(address => bool) public isExcludedFromFee;
mapping(address => uint256) private _totalPurchased;
struct AntiBotInfo {
bool perTxnEnabled;
bool perWalletEnabled;
uint16 maxPercPerTxn;
uint16 maxPercPerWallet;
uint16 denominator;
}
event FeeClaimed(uint256 totalFee);
constructor(
address _factory,
address _firstHolder,
uint256 _initialSupply,
uint256 _threshold,
address _usdc,
AntiBotInfo memory _antibot
) ERC20("Unimoon", "Umoon") {
require(
_factory != address(0) &&
_firstHolder != address(0) &&
_usdc != address(0),
"UnimoonToken: address 0x0..."
);
require(_initialSupply > 0, "UnimoonToken: amount 0");
require(
_antibot.maxPercPerTxn <= _antibot.denominator &&
_antibot.maxPercPerWallet <= _antibot.denominator,
"UnimoonToken: wrong antibot values"
);
FACTORY = _factory;
threshold = _threshold;
antibot = _antibot;
PAIR = IFactory(_factory).createPair(address(this), _usdc);
isExcludedFromFee[_firstHolder] = true;
_mint(_firstHolder, _initialSupply);
}
/** @dev Function to change treasury contract address
* @notice available for owner only
* @param _treasury new treasury contract address
*/
function setTreasury(address _treasury) external onlyOwner {
require(_treasury != address(0), "UnimoonToken: wrong input");
if (treasury != address(0)) isExcludedFromFee[treasury] = false;
isExcludedFromFee[_treasury] = true;
treasury = _treasury;
}
/** @dev Function to change liquidity threshold
* @notice available for owner only
* @param _threshold new liquidity threshold
*/
function setThreshold(uint256 _threshold) external onlyOwner {
threshold = _threshold;
}
/** @dev Function to change swap fees
* @notice available for owner only
* @param _sell new sell fee precent
* @param _buy new buy fee precent
*/
function setSwapFees(uint8 _sell, uint8 _buy) external onlyOwner {
require(
_sell < DENOMINATOR && _buy < DENOMINATOR,
"UnimoonToken: wrong fee percents"
);
sellFee = _sell;
buyFee = _buy;
}
/** @dev Function to include/exclude an account from/to swap fees
* @notice available for owner only
* @param account account is necessary to include/exclude
*/
function changeExcludedFromFee(address account) external onlyOwner {
require(account != treasury, "UnimoonToken: wrong input");
isExcludedFromFee[account] = !isExcludedFromFee[account];
}
/** @dev Function to change antibot limit percents
* @notice available for owner only
* @param perTxnPercent new percent value
* @param perWalletPercent new percent value
*/
function changeAntibotConfiguration(
uint16 perTxnPercent,
uint16 perWalletPercent
) external onlyOwner {
require(
perTxnPercent <= antibot.denominator &&
perWalletPercent <= antibot.denominator,
"UnimoonToken: wrong values"
);
antibot.maxPercPerTxn = perTxnPercent;
antibot.maxPercPerWallet = perWalletPercent;
}
/** @dev Function to change antibot limit status
* @notice available for owner only
* @param perTxn new status value
* @param perWallet new status value
*/
function changeAntibotStatus(bool perTxn, bool perWallet)
external
onlyOwner
{
antibot.perTxnEnabled = perTxn;
antibot.perWalletEnabled = perWallet;
}
function _transfer(
address from,
address to,
uint256 amount
) internal override {
bool isSell = _pairCheck(to);
bool isBuy = _pairCheck(from);
if (isBuy) {
if (antibot.perTxnEnabled && antibot.maxPercPerTxn > 0)
require(
amount <=
(antibot.maxPercPerTxn * totalSupply()) /
(antibot.denominator),
"UnimoonToken: antibot: too large purchase"
);
if (antibot.perWalletEnabled && antibot.maxPercPerWallet > 0)
require(
_totalPurchased[to] + amount <=
(antibot.maxPercPerWallet * totalSupply()) /
antibot.denominator,
"UnimoonToken: antibot: limit has been reached"
);
_totalPurchased[to] += amount;
}
uint256 fees;
if (
((isSell && !isExcludedFromFee[from]) ||
(isBuy && !isExcludedFromFee[to])) && treasury != address(0)
) {
if (isSell) fees = (amount * sellFee) / DENOMINATOR;
else fees = (amount * buyFee) / DENOMINATOR;
}
if (fees > 0) {
super._transfer(from, treasury, fees);
emit FeeClaimed(fees);
}
(uint256 reserve0, uint256 reserve1, ) = IPair(PAIR).getReserves();
if (
from != PAIR &&
balanceOf(treasury) >= threshold &&
treasury != address(0) &&
from != treasury &&
reserve0 != 0 &&
reserve1 != 0
) ITreasury(treasury).swapUnimoonToUSDC();
super._transfer(from, to, amount - fees);
}
function _pairCheck(address _token) internal view returns (bool) {
address token0;
address token1;
if (isContract(_token)) {
try IPair(_token).token0() returns (address _token0) {
token0 = _token0;
} catch {
return false;
}
try IPair(_token).token1() returns (address _token1) {
token1 = _token1;
} catch {
return false;
}
address goodPair = IFactory(FACTORY).getPair(token0, token1);
if (goodPair != _token) {
return false;
}
if (token0 == address(this) || token1 == address(this)) return true;
else return false;
} else return false;
}
function isContract(address addr) internal view returns (bool) {
uint256 size;
assembly {
size := extcodesize(addr)
}
return size > 0;
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
interface IFactory {
function getPair(address tokenA, address tokenB)
external
view
returns (address pair);
function createPair(address tokenA, address tokenB)
external
returns (address pair);
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
interface IPair {
function token0() external view returns (address);
function token1() external view returns (address);
function getReserves()
external
view
returns (
uint112 reserve0,
uint112 reserve1,
uint32 blockTimestampLast
);
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
interface ITreasury {
function swapUnimoonToUSDC() external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
function safeApprove(
address token,
address to,
uint256 value
) internal {
// bytes4(keccak256(bytes('approve(address,uint256)')));
(bool success, bytes memory data) =
token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
require(
success && (data.length == 0 || abi.decode(data, (bool))),
"TransferHelper::safeApprove: approve failed"
);
}
function safeTransfer(
address token,
address to,
uint256 value
) internal {
// bytes4(keccak256(bytes('transfer(address,uint256)')));
(bool success, bytes memory data) =
token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
require(
success && (data.length == 0 || abi.decode(data, (bool))),
"TransferHelper::safeTransfer: transfer failed"
);
}
function safeTransferFrom(
address token,
address from,
address to,
uint256 value
) internal {
// bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
(bool success, bytes memory data) =
token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
require(
success && (data.length == 0 || abi.decode(data, (bool))),
"TransferHelper::transferFrom: transferFrom failed"
);
}
function safeTransferETH(address to, uint256 value) internal {
(bool success, ) = to.call{value: value}(new bytes(0));
require(
success,
"TransferHelper::safeTransferETH: ETH transfer failed"
);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `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;
}
_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;
_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;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}{
"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
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_firstHolder","type":"address"},{"internalType":"uint256","name":"_initialSupply","type":"uint256"},{"internalType":"uint256","name":"_threshold","type":"uint256"},{"internalType":"address","name":"_usdc","type":"address"},{"components":[{"internalType":"bool","name":"perTxnEnabled","type":"bool"},{"internalType":"bool","name":"perWalletEnabled","type":"bool"},{"internalType":"uint16","name":"maxPercPerTxn","type":"uint16"},{"internalType":"uint16","name":"maxPercPerWallet","type":"uint16"},{"internalType":"uint16","name":"denominator","type":"uint16"}],"internalType":"struct UnimoonToken.AntiBotInfo","name":"_antibot","type":"tuple"}],"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":false,"internalType":"uint256","name":"totalFee","type":"uint256"}],"name":"FeeClaimed","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":"DENOMINATOR","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FACTORY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAIR","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"antibot","outputs":[{"internalType":"bool","name":"perTxnEnabled","type":"bool"},{"internalType":"bool","name":"perWalletEnabled","type":"bool"},{"internalType":"uint16","name":"maxPercPerTxn","type":"uint16"},{"internalType":"uint16","name":"maxPercPerWallet","type":"uint16"},{"internalType":"uint16","name":"denominator","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"perTxnPercent","type":"uint16"},{"internalType":"uint16","name":"perWalletPercent","type":"uint16"}],"name":"changeAntibotConfiguration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"perTxn","type":"bool"},{"internalType":"bool","name":"perWallet","type":"bool"}],"name":"changeAntibotStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"changeExcludedFromFee","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":[{"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":"","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_sell","type":"uint8"},{"internalType":"uint8","name":"_buy","type":"uint8"}],"name":"setSwapFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_threshold","type":"uint256"}],"name":"setThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"threshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60c06040526008805461ffff19166105051790553480156200002057600080fd5b5060405162001f6d38038062001f6d83398101604081905262000043916200058e565b60408051808201825260078152662ab734b6b7b7b760c91b6020808301918252835180850190945260058452642ab6b7b7b760d91b9084015281519192916200008f91600391620004a7565b508051620000a5906004906020840190620004a7565b505050620000c2620000bc6200036c60201b60201c565b62000370565b6001600160a01b03861615801590620000e357506001600160a01b03851615155b8015620000f857506001600160a01b03821615155b6200014a5760405162461bcd60e51b815260206004820152601c60248201527f556e696d6f6f6e546f6b656e3a2061646472657373203078302e2e2e0000000060448201526064015b60405180910390fd5b600084116200019c5760405162461bcd60e51b815260206004820152601660248201527f556e696d6f6f6e546f6b656e3a20616d6f756e74203000000000000000000000604482015260640162000141565b806080015161ffff16816040015161ffff1611158015620001cd5750806080015161ffff16816060015161ffff1611155b620002265760405162461bcd60e51b815260206004820152602260248201527f556e696d6f6f6e546f6b656e3a2077726f6e6720616e7469626f742076616c75604482015261657360f01b606482015260840162000141565b6001600160a01b0386811660808181526007869055835160098054602087015160408089015160608a0151968a015161ffff1990941695151561ff00191695909517610100921515929092029190911765ffffffff000019166201000061ffff9586160261ffff60201b191617640100000000958516959095029490941761ffff60301b191666010000000000009390911692909202919091179055516364e329cb60e11b815230600482015291841660248301529063c9c65396906044016020604051808303816000875af115801562000305573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200032b919062000699565b6001600160a01b0390811660a05285166000908152600a60205260409020805460ff19166001179055620003608585620003c2565b50505050505062000721565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200041a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000141565b80600260008282546200042e9190620006be565b90915550506001600160a01b038216600090815260208190526040812080548392906200045d908490620006be565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620004b590620006e5565b90600052602060002090601f016020900481019282620004d9576000855562000524565b82601f10620004f457805160ff191683800117855562000524565b8280016001018555821562000524579182015b828111156200052457825182559160200191906001019062000507565b506200053292915062000536565b5090565b5b8082111562000532576000815560010162000537565b80516001600160a01b03811681146200056557600080fd5b919050565b805180151581146200056557600080fd5b805161ffff811681146200056557600080fd5b600080600080600080868803610140811215620005aa57600080fd5b620005b5886200054d565b9650620005c5602089016200054d565b95506040880151945060608801519350620005e3608089016200054d565b925060a0609f1982011215620005f857600080fd5b5060405160a081016001600160401b03811182821017156200062a57634e487b7160e01b600052604160045260246000fd5b6040526200063b60a089016200056a565b81526200064b60c089016200056a565b60208201526200065e60e089016200057b565b60408201526200067261010089016200057b565b60608201526200068661012089016200057b565b6080820152809150509295509295509295565b600060208284031215620006ac57600080fd5b620006b7826200054d565b9392505050565b60008219821115620006e057634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620006fa57607f821691505b6020821081036200071b57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516118116200075c6000396000818161042701528181610e6b0152610f0401526000818161025e01526111e801526118116000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806361d027b311610104578063a457c2d7116100a2578063dd62ed3e11610071578063dd62ed3e1461045c578063f0c8295f1461046f578063f0f4426014610482578063f2fde38b1461049557600080fd5b8063a457c2d7146103fc578063a9059cbb1461040f578063ace3a8a714610422578063bed772751461044957600080fd5b80638da5cb5b116100de5780638da5cb5b146103c8578063918f8674146103d957806395d89b41146103e1578063960bfe04146103e957600080fd5b806361d027b31461038457806370a0823114610397578063715018a6146103c057600080fd5b8063313ce56711610171578063470624021161014b578063470624021461032757806351c439b6146103395780635342acb41461034e5780636059364a1461037157600080fd5b8063313ce56714610304578063395093511461030b57806342cde4e81461031e57600080fd5b806323b872dd116101ad57806323b872dd146102275780632b14ca561461023a5780632dd3100014610259578063305c4c801461029857600080fd5b806306fdde03146101d4578063095ea7b3146101f257806318160ddd14610215575b600080fd5b6101dc6104a8565b6040516101e9919061148b565b60405180910390f35b6102056102003660046114f5565b61053a565b60405190151581526020016101e9565b6002545b6040519081526020016101e9565b610205610235366004611521565b610552565b6008546102479060ff1681565b60405160ff90911681526020016101e9565b6102807f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101e9565b6009546102d19060ff8082169161010081049091169061ffff6201000082048116916401000000008104821691600160301b9091041685565b604080519515158652931515602086015261ffff928316938501939093528116606084015216608082015260a0016101e9565b6012610247565b6102056103193660046114f5565b610576565b61021960075481565b60085461024790610100900460ff1681565b61034c610347366004611562565b610598565b005b61020561035c366004611562565b600a6020526000908152604090205460ff1681565b61034c61037f36600461159b565b610628565b600654610280906001600160a01b031681565b6102196103a5366004611562565b6001600160a01b031660009081526020819052604090205490565b61034c610654565b6005546001600160a01b0316610280565b610247606481565b6101dc610668565b61034c6103f73660046115ce565b610677565b61020561040a3660046114f5565b610684565b61020561041d3660046114f5565b6106ff565b6102807f000000000000000000000000000000000000000000000000000000000000000081565b61034c6104573660046115f9565b61070d565b61021961046a366004611623565b6107cb565b61034c61047d36600461166d565b6107f6565b61034c610490366004611562565b610884565b61034c6104a3366004611562565b610949565b6060600380546104b790611697565b80601f01602080910402602001604051908101604052809291908181526020018280546104e390611697565b80156105305780601f1061050557610100808354040283529160200191610530565b820191906000526020600020905b81548152906001019060200180831161051357829003601f168201915b5050505050905090565b6000336105488185856109c2565b5060019392505050565b600033610560858285610ae6565b61056b858585610b60565b506001949350505050565b60003361054881858561058983836107cb565b61059391906116e7565b6109c2565b6105a0611032565b6006546001600160a01b03908116908216036105ff5760405162461bcd60e51b8152602060048201526019602482015278155b9a5b5bdbdb951bdad95b8e881ddc9bdb99c81a5b9c1d5d603a1b60448201526064015b60405180910390fd5b6001600160a01b03166000908152600a60205260409020805460ff19811660ff90911615179055565b610630611032565b6009805461ffff191692151561ff0019169290921761010091151591909102179055565b61065c611032565b610666600061108c565b565b6060600480546104b790611697565b61067f611032565b600755565b6000338161069282866107cb565b9050838110156106f25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105f6565b61056b82868684036109c2565b600033610548818585610b60565b610715611032565b60095461ffff600160301b909104811690831611801590610747575060095461ffff600160301b909104811690821611155b6107935760405162461bcd60e51b815260206004820152601a60248201527f556e696d6f6f6e546f6b656e3a2077726f6e672076616c75657300000000000060448201526064016105f6565b6009805465ffffffff000019166201000061ffff9485160265ffff000000001916176401000000009290931691909102919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6107fe611032565b606460ff83161080156108145750606460ff8216105b6108605760405162461bcd60e51b815260206004820181905260248201527f556e696d6f6f6e546f6b656e3a2077726f6e67206665652070657263656e747360448201526064016105f6565b6008805460ff9283166101000261ffff199091169290931691909117919091179055565b61088c611032565b6001600160a01b0381166108de5760405162461bcd60e51b8152602060048201526019602482015278155b9a5b5bdbdb951bdad95b8e881ddc9bdb99c81a5b9c1d5d603a1b60448201526064016105f6565b6006546001600160a01b031615610912576006546001600160a01b03166000908152600a60205260409020805460ff191690555b6001600160a01b03166000818152600a60205260409020805460ff19166001179055600680546001600160a01b0319169091179055565b610951611032565b6001600160a01b0381166109b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f6565b6109bf8161108c565b50565b6001600160a01b038316610a245760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105f6565b6001600160a01b038216610a855760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105f6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610af284846107cb565b90506000198114610b5a5781811015610b4d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105f6565b610b5a84848484036109c2565b50505050565b6000610b6b836110de565b90506000610b78856110de565b90508015610d565760095460ff168015610b9d575060095462010000900461ffff1615155b15610c3c5760095461ffff600160301b90910416610bba60025490565b600954610bd1919062010000900461ffff166116ff565b610bdb919061171e565b831115610c3c5760405162461bcd60e51b815260206004820152602960248201527f556e696d6f6f6e546f6b656e3a20616e7469626f743a20746f6f206c6172676560448201526820707572636861736560b81b60648201526084016105f6565b600954610100900460ff168015610c605750600954640100000000900461ffff1615155b15610d285760095461ffff600160301b90910416610c7d60025490565b600954610c969190640100000000900461ffff166116ff565b610ca0919061171e565b6001600160a01b0385166000908152600b6020526040902054610cc49085906116e7565b1115610d285760405162461bcd60e51b815260206004820152602d60248201527f556e696d6f6f6e546f6b656e3a20616e7469626f743a206c696d69742068617360448201526c081899595b881c995858da1959609a1b60648201526084016105f6565b6001600160a01b0384166000908152600b602052604081208054859290610d509084906116e7565b90915550505b6000828015610d7e57506001600160a01b0386166000908152600a602052604090205460ff16155b80610daa5750818015610daa57506001600160a01b0385166000908152600a602052604090205460ff16155b8015610dc057506006546001600160a01b031615155b15610e14578215610def57600854606490610dde9060ff16866116ff565b610de8919061171e565b9050610e14565b600854606490610e0790610100900460ff16866116ff565b610e11919061171e565b90505b8015610e6657600654610e329087906001600160a01b0316836112bd565b6040518181527f62b10e3ff3d45b5ff546e740b893897facb1680285f989a64ae932d62c5388e19060200160405180910390a15b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eeb9190611757565b506001600160701b031691506001600160701b031691507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316886001600160a01b031614158015610f6057506007546006546001600160a01b031660009081526020819052604090205410155b8015610f7657506006546001600160a01b031615155b8015610f9057506006546001600160a01b03898116911614155b8015610f9b57508115155b8015610fa657508015155b1561101457600660009054906101000a90046001600160a01b03166001600160a01b031663498d1a046040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610ffb57600080fd5b505af115801561100f573d6000803e3d6000fd5b505050505b6110288888611023868a6117a7565b6112bd565b5050505050505050565b6005546001600160a01b031633146106665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105f6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008080833b156112b357836001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611143575060408051601f3d908101601f19168201909252611140918101906117be565b60015b611151575060009392505050565b9150836001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156111ad575060408051601f3d908101601f191682019092526111aa918101906117be565b60015b6111bb575060009392505050565b60405163e6a4390560e01b81526001600160a01b03848116600483015280831660248301529192506000917f0000000000000000000000000000000000000000000000000000000000000000169063e6a4390590604401602060405180830381865afa15801561122f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125391906117be565b9050846001600160a01b0316816001600160a01b03161461127957506000949350505050565b6001600160a01b03831630148061129857506001600160a01b03821630145b156112a857506001949350505050565b506000949350505050565b5060009392505050565b6001600160a01b0383166113215760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105f6565b6001600160a01b0382166113835760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105f6565b6001600160a01b038316600090815260208190526040902054818110156113fb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105f6565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906114329084906116e7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161147e91815260200190565b60405180910390a3610b5a565b600060208083528351808285015260005b818110156114b85785810183015185820160400152820161149c565b818111156114ca576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146109bf57600080fd5b6000806040838503121561150857600080fd5b8235611513816114e0565b946020939093013593505050565b60008060006060848603121561153657600080fd5b8335611541816114e0565b92506020840135611551816114e0565b929592945050506040919091013590565b60006020828403121561157457600080fd5b813561157f816114e0565b9392505050565b8035801515811461159657600080fd5b919050565b600080604083850312156115ae57600080fd5b6115b783611586565b91506115c560208401611586565b90509250929050565b6000602082840312156115e057600080fd5b5035919050565b803561ffff8116811461159657600080fd5b6000806040838503121561160c57600080fd5b611615836115e7565b91506115c5602084016115e7565b6000806040838503121561163657600080fd5b8235611641816114e0565b91506020830135611651816114e0565b809150509250929050565b803560ff8116811461159657600080fd5b6000806040838503121561168057600080fd5b6116898361165c565b91506115c56020840161165c565b600181811c908216806116ab57607f821691505b6020821081036116cb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156116fa576116fa6116d1565b500190565b6000816000190483118215151615611719576117196116d1565b500290565b60008261173b57634e487b7160e01b600052601260045260246000fd5b500490565b80516001600160701b038116811461159657600080fd5b60008060006060848603121561176c57600080fd5b61177584611740565b925061178360208501611740565b9150604084015163ffffffff8116811461179c57600080fd5b809150509250925092565b6000828210156117b9576117b96116d1565b500390565b6000602082840312156117d057600080fd5b815161157f816114e056fea2646970667358221220b401508a4a848200066c3a7e2617d2b440a6da773c0fef426686817b27167bf264736f6c634300080d00330000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000138f22f9100bc7dec7c7873e842cfccb3fad61eb0000000000000000000000000000000000000000033b2e3c9fd0803ce800000000000000000000000000000000000000000000000000003635c9adc5dea00000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000002710
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806361d027b311610104578063a457c2d7116100a2578063dd62ed3e11610071578063dd62ed3e1461045c578063f0c8295f1461046f578063f0f4426014610482578063f2fde38b1461049557600080fd5b8063a457c2d7146103fc578063a9059cbb1461040f578063ace3a8a714610422578063bed772751461044957600080fd5b80638da5cb5b116100de5780638da5cb5b146103c8578063918f8674146103d957806395d89b41146103e1578063960bfe04146103e957600080fd5b806361d027b31461038457806370a0823114610397578063715018a6146103c057600080fd5b8063313ce56711610171578063470624021161014b578063470624021461032757806351c439b6146103395780635342acb41461034e5780636059364a1461037157600080fd5b8063313ce56714610304578063395093511461030b57806342cde4e81461031e57600080fd5b806323b872dd116101ad57806323b872dd146102275780632b14ca561461023a5780632dd3100014610259578063305c4c801461029857600080fd5b806306fdde03146101d4578063095ea7b3146101f257806318160ddd14610215575b600080fd5b6101dc6104a8565b6040516101e9919061148b565b60405180910390f35b6102056102003660046114f5565b61053a565b60405190151581526020016101e9565b6002545b6040519081526020016101e9565b610205610235366004611521565b610552565b6008546102479060ff1681565b60405160ff90911681526020016101e9565b6102807f0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b6040516001600160a01b0390911681526020016101e9565b6009546102d19060ff8082169161010081049091169061ffff6201000082048116916401000000008104821691600160301b9091041685565b604080519515158652931515602086015261ffff928316938501939093528116606084015216608082015260a0016101e9565b6012610247565b6102056103193660046114f5565b610576565b61021960075481565b60085461024790610100900460ff1681565b61034c610347366004611562565b610598565b005b61020561035c366004611562565b600a6020526000908152604090205460ff1681565b61034c61037f36600461159b565b610628565b600654610280906001600160a01b031681565b6102196103a5366004611562565b6001600160a01b031660009081526020819052604090205490565b61034c610654565b6005546001600160a01b0316610280565b610247606481565b6101dc610668565b61034c6103f73660046115ce565b610677565b61020561040a3660046114f5565b610684565b61020561041d3660046114f5565b6106ff565b6102807f00000000000000000000000077531ae50c9353956c46c54288e196cee344fcee81565b61034c6104573660046115f9565b61070d565b61021961046a366004611623565b6107cb565b61034c61047d36600461166d565b6107f6565b61034c610490366004611562565b610884565b61034c6104a3366004611562565b610949565b6060600380546104b790611697565b80601f01602080910402602001604051908101604052809291908181526020018280546104e390611697565b80156105305780601f1061050557610100808354040283529160200191610530565b820191906000526020600020905b81548152906001019060200180831161051357829003601f168201915b5050505050905090565b6000336105488185856109c2565b5060019392505050565b600033610560858285610ae6565b61056b858585610b60565b506001949350505050565b60003361054881858561058983836107cb565b61059391906116e7565b6109c2565b6105a0611032565b6006546001600160a01b03908116908216036105ff5760405162461bcd60e51b8152602060048201526019602482015278155b9a5b5bdbdb951bdad95b8e881ddc9bdb99c81a5b9c1d5d603a1b60448201526064015b60405180910390fd5b6001600160a01b03166000908152600a60205260409020805460ff19811660ff90911615179055565b610630611032565b6009805461ffff191692151561ff0019169290921761010091151591909102179055565b61065c611032565b610666600061108c565b565b6060600480546104b790611697565b61067f611032565b600755565b6000338161069282866107cb565b9050838110156106f25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105f6565b61056b82868684036109c2565b600033610548818585610b60565b610715611032565b60095461ffff600160301b909104811690831611801590610747575060095461ffff600160301b909104811690821611155b6107935760405162461bcd60e51b815260206004820152601a60248201527f556e696d6f6f6e546f6b656e3a2077726f6e672076616c75657300000000000060448201526064016105f6565b6009805465ffffffff000019166201000061ffff9485160265ffff000000001916176401000000009290931691909102919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6107fe611032565b606460ff83161080156108145750606460ff8216105b6108605760405162461bcd60e51b815260206004820181905260248201527f556e696d6f6f6e546f6b656e3a2077726f6e67206665652070657263656e747360448201526064016105f6565b6008805460ff9283166101000261ffff199091169290931691909117919091179055565b61088c611032565b6001600160a01b0381166108de5760405162461bcd60e51b8152602060048201526019602482015278155b9a5b5bdbdb951bdad95b8e881ddc9bdb99c81a5b9c1d5d603a1b60448201526064016105f6565b6006546001600160a01b031615610912576006546001600160a01b03166000908152600a60205260409020805460ff191690555b6001600160a01b03166000818152600a60205260409020805460ff19166001179055600680546001600160a01b0319169091179055565b610951611032565b6001600160a01b0381166109b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f6565b6109bf8161108c565b50565b6001600160a01b038316610a245760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105f6565b6001600160a01b038216610a855760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105f6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610af284846107cb565b90506000198114610b5a5781811015610b4d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105f6565b610b5a84848484036109c2565b50505050565b6000610b6b836110de565b90506000610b78856110de565b90508015610d565760095460ff168015610b9d575060095462010000900461ffff1615155b15610c3c5760095461ffff600160301b90910416610bba60025490565b600954610bd1919062010000900461ffff166116ff565b610bdb919061171e565b831115610c3c5760405162461bcd60e51b815260206004820152602960248201527f556e696d6f6f6e546f6b656e3a20616e7469626f743a20746f6f206c6172676560448201526820707572636861736560b81b60648201526084016105f6565b600954610100900460ff168015610c605750600954640100000000900461ffff1615155b15610d285760095461ffff600160301b90910416610c7d60025490565b600954610c969190640100000000900461ffff166116ff565b610ca0919061171e565b6001600160a01b0385166000908152600b6020526040902054610cc49085906116e7565b1115610d285760405162461bcd60e51b815260206004820152602d60248201527f556e696d6f6f6e546f6b656e3a20616e7469626f743a206c696d69742068617360448201526c081899595b881c995858da1959609a1b60648201526084016105f6565b6001600160a01b0384166000908152600b602052604081208054859290610d509084906116e7565b90915550505b6000828015610d7e57506001600160a01b0386166000908152600a602052604090205460ff16155b80610daa5750818015610daa57506001600160a01b0385166000908152600a602052604090205460ff16155b8015610dc057506006546001600160a01b031615155b15610e14578215610def57600854606490610dde9060ff16866116ff565b610de8919061171e565b9050610e14565b600854606490610e0790610100900460ff16866116ff565b610e11919061171e565b90505b8015610e6657600654610e329087906001600160a01b0316836112bd565b6040518181527f62b10e3ff3d45b5ff546e740b893897facb1680285f989a64ae932d62c5388e19060200160405180910390a15b6000807f00000000000000000000000077531ae50c9353956c46c54288e196cee344fcee6001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eeb9190611757565b506001600160701b031691506001600160701b031691507f00000000000000000000000077531ae50c9353956c46c54288e196cee344fcee6001600160a01b0316886001600160a01b031614158015610f6057506007546006546001600160a01b031660009081526020819052604090205410155b8015610f7657506006546001600160a01b031615155b8015610f9057506006546001600160a01b03898116911614155b8015610f9b57508115155b8015610fa657508015155b1561101457600660009054906101000a90046001600160a01b03166001600160a01b031663498d1a046040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610ffb57600080fd5b505af115801561100f573d6000803e3d6000fd5b505050505b6110288888611023868a6117a7565b6112bd565b5050505050505050565b6005546001600160a01b031633146106665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105f6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008080833b156112b357836001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611143575060408051601f3d908101601f19168201909252611140918101906117be565b60015b611151575060009392505050565b9150836001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156111ad575060408051601f3d908101601f191682019092526111aa918101906117be565b60015b6111bb575060009392505050565b60405163e6a4390560e01b81526001600160a01b03848116600483015280831660248301529192506000917f0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f169063e6a4390590604401602060405180830381865afa15801561122f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125391906117be565b9050846001600160a01b0316816001600160a01b03161461127957506000949350505050565b6001600160a01b03831630148061129857506001600160a01b03821630145b156112a857506001949350505050565b506000949350505050565b5060009392505050565b6001600160a01b0383166113215760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105f6565b6001600160a01b0382166113835760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105f6565b6001600160a01b038316600090815260208190526040902054818110156113fb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105f6565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906114329084906116e7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161147e91815260200190565b60405180910390a3610b5a565b600060208083528351808285015260005b818110156114b85785810183015185820160400152820161149c565b818111156114ca576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146109bf57600080fd5b6000806040838503121561150857600080fd5b8235611513816114e0565b946020939093013593505050565b60008060006060848603121561153657600080fd5b8335611541816114e0565b92506020840135611551816114e0565b929592945050506040919091013590565b60006020828403121561157457600080fd5b813561157f816114e0565b9392505050565b8035801515811461159657600080fd5b919050565b600080604083850312156115ae57600080fd5b6115b783611586565b91506115c560208401611586565b90509250929050565b6000602082840312156115e057600080fd5b5035919050565b803561ffff8116811461159657600080fd5b6000806040838503121561160c57600080fd5b611615836115e7565b91506115c5602084016115e7565b6000806040838503121561163657600080fd5b8235611641816114e0565b91506020830135611651816114e0565b809150509250929050565b803560ff8116811461159657600080fd5b6000806040838503121561168057600080fd5b6116898361165c565b91506115c56020840161165c565b600181811c908216806116ab57607f821691505b6020821081036116cb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156116fa576116fa6116d1565b500190565b6000816000190483118215151615611719576117196116d1565b500290565b60008261173b57634e487b7160e01b600052601260045260246000fd5b500490565b80516001600160701b038116811461159657600080fd5b60008060006060848603121561176c57600080fd5b61177584611740565b925061178360208501611740565b9150604084015163ffffffff8116811461179c57600080fd5b809150509250925092565b6000828210156117b9576117b96116d1565b500390565b6000602082840312156117d057600080fd5b815161157f816114e056fea2646970667358221220b401508a4a848200066c3a7e2617d2b440a6da773c0fef426686817b27167bf264736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000138f22f9100bc7dec7c7873e842cfccb3fad61eb0000000000000000000000000000000000000000033b2e3c9fd0803ce800000000000000000000000000000000000000000000000000003635c9adc5dea00000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000002710
-----Decoded View---------------
Arg [0] : _factory (address): 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
Arg [1] : _firstHolder (address): 0x138f22f9100bC7dEc7c7873E842CFCCB3FAd61EB
Arg [2] : _initialSupply (uint256): 1000000000000000000000000000
Arg [3] : _threshold (uint256): 1000000000000000000000
Arg [4] : _usdc (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Arg [5] : _antibot (tuple):
Arg [1] : perTxnEnabled (bool): True
Arg [2] : perWalletEnabled (bool): True
Arg [3] : maxPercPerTxn (uint16): 20
Arg [4] : maxPercPerWallet (uint16): 50
Arg [5] : denominator (uint16): 10000
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Arg [1] : 000000000000000000000000138f22f9100bc7dec7c7873e842cfccb3fad61eb
Arg [2] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [3] : 00000000000000000000000000000000000000000000003635c9adc5dea00000
Arg [4] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [9] : 0000000000000000000000000000000000000000000000000000000000002710
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.