Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
MEME
Overview
Max Total Supply
99,243,541 MFERS
Holders
990 (0.00%)
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$70,509.56
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
3,937.85292170128187735 MFERSValue
$2.80 ( ~0.000907547597395429 Eth) [0.0040%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
MFERS
Compiler Version
v0.8.24+commit.e11b9ed9
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.24; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract MFERS is Context, ERC20, Ownable { using Address for address; uint256 public constant LAUNCH_BLOCK_LIMIT = 15; uint256 public blockNumberLaunched; uint256 public constant MIN_WALLET = 750000; // 0.75% of MAX_SUPPLY uint256 public constant MAX_WALLET = 890000; // 0.89% of MAX_SUPPLY bool private tradingLive; mapping(uint256 => bool) alreadyPurchased; constructor() ERC20("MFERS", "MFERS") Ownable(msg.sender) { _mint(owner(), 1 * 10 ** 8 * 10 ** decimals()); } receive() external payable { } function burn(uint256 amount) public { _burn(msg.sender, amount * 10 ** decimals()); } function enableTrading() public onlyOwner { require(!tradingLive, "Trading is already live"); tradingLive = true; blockNumberLaunched = block.number; } function _update( address from, address to, uint256 amount ) internal override { if (block.number <= blockNumberLaunched + LAUNCH_BLOCK_LIMIT && from != owner() && to != owner()) { require(tx.gasprice <= block.basefee + 7 gwei, "Gas price too high"); require(balanceOf(to) + amount <= MAX_WALLET * 10**18, "Exceeds max wallet" ); require(amount >= MIN_WALLET * 10**18, "Below min wallet size"); require(checkBuyConditions(amount), "Anti-snipe conditions failed"); require(!alreadyPurchased[amount], "Invalid purchase amount"); alreadyPurchased[amount] = true; } super._update(from, to, amount); } function checkBuyConditions(uint256 amount) internal pure returns (bool) { uint256 firstThree = (amount / 10 ** 21) % 1000; uint256 lastThree = (amount / 10 ** 18) % 1000; uint256 firstDecimal = amount % 10**18; uint256 secondDecimal = amount % 10**17; firstDecimal /= 10**17; secondDecimal /= 10**16; (uint256 lastDecimal, uint256 secondToLastDecimal) = findNonZeroDecimals(amount); uint256 firstDigit = firstThree / 100; uint256 secondDigit = (firstThree / 10) % 10; uint256 thirdDigit = firstThree % 10; uint256 lastDigit = lastThree % 10; uint256 secondToLastDigit = (lastThree / 10) % 10; uint256 thirdToLastDigit = lastThree / 100; return (firstDigit > 5 && secondDigit > 5 && thirdDigit > 5 && lastDigit < 5 && secondToLastDigit < 5 && thirdToLastDigit < 5 && firstDecimal > 5 && secondDecimal > 5 && lastDecimal < 5 && secondToLastDecimal < 5); } function findNonZeroDecimals(uint256 amount) internal pure returns (uint256, uint256) { uint256 decimalsFound = 0; uint256 lastDecimal = 0; uint256 secondToLastDecimal = 0; amount %= 10**18; // Isolate the decimal portion // Iterate through all decimal places for (uint256 i = 0; i < 18; i++) { uint256 digit = (amount / (10**i)); // Extract the ith decimal digit if ((digit % 10) != 0) { decimalsFound += 1; // Capture the last two non-zero decimals if (decimalsFound == 1) { lastDecimal = digit % 10; } else if( decimalsFound == 2) { secondToLastDecimal = digit % 10; } } } // Enforce 4-11 non-zero decimal places if (decimalsFound < 4 && decimalsFound > 11) { revert("AntiBot"); } // Return the calculated values return (lastDecimal, secondToLastDecimal); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"LAUNCH_BLOCK_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockNumberLaunched","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","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":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801562000010575f80fd5b506040805180820182526005808252644d4645525360d81b6020808401829052845180860190955291845290830152339160036200004f83826200086b565b5060046200005e82826200086b565b5050506001600160a01b0381166200009057604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6200009b81620000dd565b50620000d7620000b36005546001600160a01b031690565b620000c16012600a62000a46565b620000d1906305f5e10062000a5d565b6200012e565b62000ada565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620001595760405163ec442f0560e01b81525f600482015260240162000087565b620001665f83836200016a565b5050565b600f6006546200017b919062000a77565b43111580156200019957506005546001600160a01b03848116911614155b8015620001b457506005546001600160a01b03838116911614155b15620003d357620001cb486401a13b860062000a77565b3a1115620002115760405162461bcd60e51b815260206004820152601260248201527108ec2e640e0e4d2c6ca40e8dede40d0d2ced60731b604482015260640162000087565b62000228620d9490670de0b6b3a764000062000a5d565b8162000248846001600160a01b03165f9081526020819052604090205490565b62000254919062000a77565b1115620002995760405162461bcd60e51b8152602060048201526012602482015271115e18d959591cc81b585e081dd85b1b195d60721b604482015260640162000087565b620002b0620b71b0670de0b6b3a764000062000a5d565b811015620003015760405162461bcd60e51b815260206004820152601560248201527f42656c6f77206d696e2077616c6c65742073697a650000000000000000000000604482015260640162000087565b6200030c81620003e5565b6200035a5760405162461bcd60e51b815260206004820152601c60248201527f416e74692d736e69706520636f6e646974696f6e73206661696c656400000000604482015260640162000087565b5f8181526008602052604090205460ff1615620003ba5760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420707572636861736520616d6f756e74000000000000000000604482015260640162000087565b5f818152600860205260409020805460ff191660011790555b620003e0838383620005a3565b505050565b5f806103e8620003ff683635c9adc5dea000008562000aa1565b6200040b919062000ab7565b90505f6103e862000425670de0b6b3a76400008662000aa1565b62000431919062000ab7565b90505f62000448670de0b6b3a76400008662000ab7565b90505f6200045f67016345785d8a00008762000ab7565b90506200047567016345785d8a00008362000aa1565b91506200048a662386f26fc100008262000aa1565b90505f806200049988620006d2565b90925090505f620004ac60648862000aa1565b90505f600a620004bd818a62000aa1565b620004c9919062000ab7565b90505f620004d9600a8a62000ab7565b90505f620004e9600a8a62000ab7565b90505f600a620004fa818c62000aa1565b62000506919062000ab7565b90505f6200051660648c62000aa1565b9050600586118015620005295750600585115b8015620005365750600584115b8015620005435750600583105b8015620005505750600582105b80156200055d5750600581105b80156200056a575060058a115b8015620005775750600589115b8015620005845750600588105b8015620005915750600587105b9e9d5050505050505050505050505050565b6001600160a01b038316620005d1578060025f828254620005c5919062000a77565b90915550620006439050565b6001600160a01b0383165f9081526020819052604090205481811015620006255760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000087565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821662000661576002805482900390556200067f565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620006c591815260200190565b60405180910390a3505050565b5f80808080620006eb670de0b6b3a76400008762000ab7565b95505f5b601281101562000778575f6200070782600a62000acd565b62000713908962000aa1565b905062000722600a8262000ab7565b156200076e576200073560018662000a77565b94508460010362000755576200074d600a8262000ab7565b93506200076e565b846002036200076e576200076b600a8262000ab7565b92505b50600101620006ef565b506004831080156200078a5750600b83115b15620007c35760405162461bcd60e51b8152602060048201526007602482015266105b9d1a509bdd60ca1b604482015260640162000087565b909590945092505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620007f757607f821691505b6020821081036200081657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620003e057805f5260205f20601f840160051c81016020851015620008435750805b601f840160051c820191505b8181101562000864575f81556001016200084f565b5050505050565b81516001600160401b03811115620008875762000887620007ce565b6200089f81620008988454620007e2565b846200081c565b602080601f831160018114620008d5575f8415620008bd5750858301515b5f19600386901b1c1916600185901b1785556200092f565b5f85815260208120601f198616915b828110156200090557888601518255948401946001909101908401620008e4565b50858210156200092357878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200098b57815f19048211156200096f576200096f62000937565b808516156200097d57918102915b93841c939080029062000950565b509250929050565b5f82620009a35750600162000a40565b81620009b157505f62000a40565b8160018114620009ca5760028114620009d557620009f5565b600191505062000a40565b60ff841115620009e957620009e962000937565b50506001821b62000a40565b5060208310610133831016604e8410600b841016171562000a1a575081810a62000a40565b62000a2683836200094b565b805f190482111562000a3c5762000a3c62000937565b0290505b92915050565b5f62000a5660ff84168362000993565b9392505050565b808202811582820484141762000a405762000a4062000937565b8082018082111562000a405762000a4062000937565b634e487b7160e01b5f52601260045260245ffd5b5f8262000ab25762000ab262000a8d565b500490565b5f8262000ac85762000ac862000a8d565b500690565b5f62000a56838362000993565b6110928062000ae85f395ff3fe608060405260043610610108575f3560e01c8063715018a6116100925780639965560c116100625780639965560c146102a9578063a9059cbb146102bf578063dd62ed3e146102de578063df7787a414610322578063f2fde38b14610338575f80fd5b8063715018a6146102465780638a8c523c1461025a5780638da5cb5b1461026e57806395d89b4114610295575f80fd5b806323b872dd116100d857806323b872dd146101a2578063313ce567146101c157806342966c68146101dc57806356b07b4a146101fd57806370a0823114610212575f80fd5b806306fdde0314610113578063095ea7b31461013d5780630e3e10441461016c57806318160ddd1461018e575f80fd5b3661010f57005b5f80fd5b34801561011e575f80fd5b50610127610357565b6040516101349190610d83565b60405180910390f35b348015610148575f80fd5b5061015c610157366004610dea565b6103e7565b6040519015158152602001610134565b348015610177575f80fd5b50610180600f81565b604051908152602001610134565b348015610199575f80fd5b50600254610180565b3480156101ad575f80fd5b5061015c6101bc366004610e12565b610400565b3480156101cc575f80fd5b5060405160128152602001610134565b3480156101e7575f80fd5b506101fb6101f6366004610e4b565b610423565b005b348015610208575f80fd5b5061018060065481565b34801561021d575f80fd5b5061018061022c366004610e62565b6001600160a01b03165f9081526020819052604090205490565b348015610251575f80fd5b506101fb610445565b348015610265575f80fd5b506101fb610458565b348015610279575f80fd5b506005546040516001600160a01b039091168152602001610134565b3480156102a0575f80fd5b506101276104cb565b3480156102b4575f80fd5b50610180620b71b081565b3480156102ca575f80fd5b5061015c6102d9366004610dea565b6104da565b3480156102e9575f80fd5b506101806102f8366004610e82565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561032d575f80fd5b50610180620d949081565b348015610343575f80fd5b506101fb610352366004610e62565b6104e7565b60606003805461036690610eb3565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610eb3565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b5f336103f4818585610521565b60019150505b92915050565b5f3361040d858285610533565b6104188585856105ae565b506001949350505050565b610442336104336012600a610fdf565b61043d9084610fed565b61060b565b50565b61044d610643565b6104565f610670565b565b610460610643565b60075460ff16156104b85760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206c69766500000000000000000060448201526064015b60405180910390fd5b6007805460ff1916600117905543600655565b60606004805461036690610eb3565b5f336103f48185856105ae565b6104ef610643565b6001600160a01b03811661051857604051631e4fbdf760e01b81525f60048201526024016104af565b61044281610670565b61052e83838360016106c1565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146105a8578181101561059a57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104af565b6105a884848484035f6106c1565b50505050565b6001600160a01b0383166105d757604051634b637e8f60e11b81525f60048201526024016104af565b6001600160a01b0382166106005760405163ec442f0560e01b81525f60048201526024016104af565b61052e838383610793565b6001600160a01b03821661063457604051634b637e8f60e11b81525f60048201526024016104af565b61063f825f83610793565b5050565b6005546001600160a01b031633146104565760405163118cdaa760e01b81523360048201526024016104af565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166106ea5760405163e602df0560e01b81525f60048201526024016104af565b6001600160a01b03831661071357604051634a1406b160e11b81525f60048201526024016104af565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156105a857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161078591815260200190565b60405180910390a350505050565b600f6006546107a29190611004565b43111580156107bf57506005546001600160a01b03848116911614155b80156107d957506005546001600160a01b03838116911614155b156109da576107ed486401a13b8600611004565b3a11156108315760405162461bcd60e51b815260206004820152601260248201527108ec2e640e0e4d2c6ca40e8dede40d0d2ced60731b60448201526064016104af565b610846620d9490670de0b6b3a7640000610fed565b81610865846001600160a01b03165f9081526020819052604090205490565b61086f9190611004565b11156108b25760405162461bcd60e51b8152602060048201526012602482015271115e18d959591cc81b585e081dd85b1b195d60721b60448201526064016104af565b6108c7620b71b0670de0b6b3a7640000610fed565b81101561090e5760405162461bcd60e51b815260206004820152601560248201527442656c6f77206d696e2077616c6c65742073697a6560581b60448201526064016104af565b610917816109e5565b6109635760405162461bcd60e51b815260206004820152601c60248201527f416e74692d736e69706520636f6e646974696f6e73206661696c65640000000060448201526064016104af565b5f8181526008602052604090205460ff16156109c15760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420707572636861736520616d6f756e7400000000000000000060448201526064016104af565b5f818152600860205260409020805460ff191660011790555b61052e838383610b78565b5f806103e86109fd683635c9adc5dea000008561102b565b610a07919061103e565b90505f6103e8610a1f670de0b6b3a76400008661102b565b610a29919061103e565b90505f610a3e670de0b6b3a76400008661103e565b90505f610a5367016345785d8a00008761103e565b9050610a6767016345785d8a00008361102b565b9150610a7a662386f26fc100008261102b565b90505f80610a8788610c9e565b90925090505f610a9860648861102b565b90505f600a610aa7818a61102b565b610ab1919061103e565b90505f610abf600a8a61103e565b90505f610acd600a8a61103e565b90505f600a610adc818c61102b565b610ae6919061103e565b90505f610af460648c61102b565b9050600586118015610b065750600585115b8015610b125750600584115b8015610b1e5750600583105b8015610b2a5750600582105b8015610b365750600581105b8015610b42575060058a115b8015610b4e5750600589115b8015610b5a5750600588105b8015610b665750600587105b9e9d5050505050505050505050505050565b6001600160a01b038316610ba2578060025f828254610b979190611004565b90915550610c129050565b6001600160a01b0383165f9081526020819052604090205481811015610bf45760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104af565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610c2e57600280548290039055610c4c565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c9191815260200190565b60405180910390a3505050565b5f80808080610cb5670de0b6b3a76400008761103e565b95505f5b6012811015610d30575f610cce82600a611051565b610cd8908961102b565b9050610ce5600a8261103e565b15610d2757610cf5600186611004565b945084600103610d1157610d0a600a8261103e565b9350610d27565b84600203610d2757610d24600a8261103e565b92505b50600101610cb9565b50600483108015610d415750600b83115b15610d785760405162461bcd60e51b8152602060048201526007602482015266105b9d1a509bdd60ca1b60448201526064016104af565b909590945092505050565b5f602080835283518060208501525f5b81811015610daf57858101830151858201604001528201610d93565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610de5575f80fd5b919050565b5f8060408385031215610dfb575f80fd5b610e0483610dcf565b946020939093013593505050565b5f805f60608486031215610e24575f80fd5b610e2d84610dcf565b9250610e3b60208501610dcf565b9150604084013590509250925092565b5f60208284031215610e5b575f80fd5b5035919050565b5f60208284031215610e72575f80fd5b610e7b82610dcf565b9392505050565b5f8060408385031215610e93575f80fd5b610e9c83610dcf565b9150610eaa60208401610dcf565b90509250929050565b600181811c90821680610ec757607f821691505b602082108103610ee557634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115610f3957815f1904821115610f1f57610f1f610eeb565b80851615610f2c57918102915b93841c9390800290610f04565b509250929050565b5f82610f4f575060016103fa565b81610f5b57505f6103fa565b8160018114610f715760028114610f7b57610f97565b60019150506103fa565b60ff841115610f8c57610f8c610eeb565b50506001821b6103fa565b5060208310610133831016604e8410600b8410161715610fba575081810a6103fa565b610fc48383610eff565b805f1904821115610fd757610fd7610eeb565b029392505050565b5f610e7b60ff841683610f41565b80820281158282048414176103fa576103fa610eeb565b808201808211156103fa576103fa610eeb565b634e487b7160e01b5f52601260045260245ffd5b5f8261103957611039611017565b500490565b5f8261104c5761104c611017565b500690565b5f610e7b8383610f4156fea26469706673582212208f916cae828d878f8dab1f51227b6b19eea39578950ee413b9a9bc84481ec0b564736f6c63430008180033
Deployed Bytecode
0x608060405260043610610108575f3560e01c8063715018a6116100925780639965560c116100625780639965560c146102a9578063a9059cbb146102bf578063dd62ed3e146102de578063df7787a414610322578063f2fde38b14610338575f80fd5b8063715018a6146102465780638a8c523c1461025a5780638da5cb5b1461026e57806395d89b4114610295575f80fd5b806323b872dd116100d857806323b872dd146101a2578063313ce567146101c157806342966c68146101dc57806356b07b4a146101fd57806370a0823114610212575f80fd5b806306fdde0314610113578063095ea7b31461013d5780630e3e10441461016c57806318160ddd1461018e575f80fd5b3661010f57005b5f80fd5b34801561011e575f80fd5b50610127610357565b6040516101349190610d83565b60405180910390f35b348015610148575f80fd5b5061015c610157366004610dea565b6103e7565b6040519015158152602001610134565b348015610177575f80fd5b50610180600f81565b604051908152602001610134565b348015610199575f80fd5b50600254610180565b3480156101ad575f80fd5b5061015c6101bc366004610e12565b610400565b3480156101cc575f80fd5b5060405160128152602001610134565b3480156101e7575f80fd5b506101fb6101f6366004610e4b565b610423565b005b348015610208575f80fd5b5061018060065481565b34801561021d575f80fd5b5061018061022c366004610e62565b6001600160a01b03165f9081526020819052604090205490565b348015610251575f80fd5b506101fb610445565b348015610265575f80fd5b506101fb610458565b348015610279575f80fd5b506005546040516001600160a01b039091168152602001610134565b3480156102a0575f80fd5b506101276104cb565b3480156102b4575f80fd5b50610180620b71b081565b3480156102ca575f80fd5b5061015c6102d9366004610dea565b6104da565b3480156102e9575f80fd5b506101806102f8366004610e82565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561032d575f80fd5b50610180620d949081565b348015610343575f80fd5b506101fb610352366004610e62565b6104e7565b60606003805461036690610eb3565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610eb3565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b5f336103f4818585610521565b60019150505b92915050565b5f3361040d858285610533565b6104188585856105ae565b506001949350505050565b610442336104336012600a610fdf565b61043d9084610fed565b61060b565b50565b61044d610643565b6104565f610670565b565b610460610643565b60075460ff16156104b85760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206c69766500000000000000000060448201526064015b60405180910390fd5b6007805460ff1916600117905543600655565b60606004805461036690610eb3565b5f336103f48185856105ae565b6104ef610643565b6001600160a01b03811661051857604051631e4fbdf760e01b81525f60048201526024016104af565b61044281610670565b61052e83838360016106c1565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146105a8578181101561059a57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104af565b6105a884848484035f6106c1565b50505050565b6001600160a01b0383166105d757604051634b637e8f60e11b81525f60048201526024016104af565b6001600160a01b0382166106005760405163ec442f0560e01b81525f60048201526024016104af565b61052e838383610793565b6001600160a01b03821661063457604051634b637e8f60e11b81525f60048201526024016104af565b61063f825f83610793565b5050565b6005546001600160a01b031633146104565760405163118cdaa760e01b81523360048201526024016104af565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166106ea5760405163e602df0560e01b81525f60048201526024016104af565b6001600160a01b03831661071357604051634a1406b160e11b81525f60048201526024016104af565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156105a857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161078591815260200190565b60405180910390a350505050565b600f6006546107a29190611004565b43111580156107bf57506005546001600160a01b03848116911614155b80156107d957506005546001600160a01b03838116911614155b156109da576107ed486401a13b8600611004565b3a11156108315760405162461bcd60e51b815260206004820152601260248201527108ec2e640e0e4d2c6ca40e8dede40d0d2ced60731b60448201526064016104af565b610846620d9490670de0b6b3a7640000610fed565b81610865846001600160a01b03165f9081526020819052604090205490565b61086f9190611004565b11156108b25760405162461bcd60e51b8152602060048201526012602482015271115e18d959591cc81b585e081dd85b1b195d60721b60448201526064016104af565b6108c7620b71b0670de0b6b3a7640000610fed565b81101561090e5760405162461bcd60e51b815260206004820152601560248201527442656c6f77206d696e2077616c6c65742073697a6560581b60448201526064016104af565b610917816109e5565b6109635760405162461bcd60e51b815260206004820152601c60248201527f416e74692d736e69706520636f6e646974696f6e73206661696c65640000000060448201526064016104af565b5f8181526008602052604090205460ff16156109c15760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420707572636861736520616d6f756e7400000000000000000060448201526064016104af565b5f818152600860205260409020805460ff191660011790555b61052e838383610b78565b5f806103e86109fd683635c9adc5dea000008561102b565b610a07919061103e565b90505f6103e8610a1f670de0b6b3a76400008661102b565b610a29919061103e565b90505f610a3e670de0b6b3a76400008661103e565b90505f610a5367016345785d8a00008761103e565b9050610a6767016345785d8a00008361102b565b9150610a7a662386f26fc100008261102b565b90505f80610a8788610c9e565b90925090505f610a9860648861102b565b90505f600a610aa7818a61102b565b610ab1919061103e565b90505f610abf600a8a61103e565b90505f610acd600a8a61103e565b90505f600a610adc818c61102b565b610ae6919061103e565b90505f610af460648c61102b565b9050600586118015610b065750600585115b8015610b125750600584115b8015610b1e5750600583105b8015610b2a5750600582105b8015610b365750600581105b8015610b42575060058a115b8015610b4e5750600589115b8015610b5a5750600588105b8015610b665750600587105b9e9d5050505050505050505050505050565b6001600160a01b038316610ba2578060025f828254610b979190611004565b90915550610c129050565b6001600160a01b0383165f9081526020819052604090205481811015610bf45760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104af565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610c2e57600280548290039055610c4c565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c9191815260200190565b60405180910390a3505050565b5f80808080610cb5670de0b6b3a76400008761103e565b95505f5b6012811015610d30575f610cce82600a611051565b610cd8908961102b565b9050610ce5600a8261103e565b15610d2757610cf5600186611004565b945084600103610d1157610d0a600a8261103e565b9350610d27565b84600203610d2757610d24600a8261103e565b92505b50600101610cb9565b50600483108015610d415750600b83115b15610d785760405162461bcd60e51b8152602060048201526007602482015266105b9d1a509bdd60ca1b60448201526064016104af565b909590945092505050565b5f602080835283518060208501525f5b81811015610daf57858101830151858201604001528201610d93565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610de5575f80fd5b919050565b5f8060408385031215610dfb575f80fd5b610e0483610dcf565b946020939093013593505050565b5f805f60608486031215610e24575f80fd5b610e2d84610dcf565b9250610e3b60208501610dcf565b9150604084013590509250925092565b5f60208284031215610e5b575f80fd5b5035919050565b5f60208284031215610e72575f80fd5b610e7b82610dcf565b9392505050565b5f8060408385031215610e93575f80fd5b610e9c83610dcf565b9150610eaa60208401610dcf565b90509250929050565b600181811c90821680610ec757607f821691505b602082108103610ee557634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115610f3957815f1904821115610f1f57610f1f610eeb565b80851615610f2c57918102915b93841c9390800290610f04565b509250929050565b5f82610f4f575060016103fa565b81610f5b57505f6103fa565b8160018114610f715760028114610f7b57610f97565b60019150506103fa565b60ff841115610f8c57610f8c610eeb565b50506001821b6103fa565b5060208310610133831016604e8410600b8410161715610fba575081810a6103fa565b610fc48383610eff565b805f1904821115610fd757610fd7610eeb565b029392505050565b5f610e7b60ff841683610f41565b80820281158282048414176103fa576103fa610eeb565b808201808211156103fa576103fa610eeb565b634e487b7160e01b5f52601260045260245ffd5b5f8261103957611039611017565b500490565b5f8261104c5761104c611017565b500690565b5f610e7b8383610f4156fea26469706673582212208f916cae828d878f8dab1f51227b6b19eea39578950ee413b9a9bc84481ec0b564736f6c63430008180033
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.