S Price: $0.526816 (+8.22%)

Contract

0x0c29DBfCdb73eEEE2579b768812642AA7296848e

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve58541932025-01-30 3:46:4713 hrs ago1738208807IN
0x0c29DBfC...A7296848e
0 S0.0026797555.01
Approve58541422025-01-30 3:45:5213 hrs ago1738208752IN
0x0c29DBfC...A7296848e
0 S0.0026811855.01
Approve58340142025-01-29 23:30:3118 hrs ago1738193431IN
0x0c29DBfC...A7296848e
0 S0.0027774357
Approve58336672025-01-29 23:26:0018 hrs ago1738193160IN
0x0c29DBfC...A7296848e
0 S0.0014075550
Approve58336642025-01-29 23:25:5618 hrs ago1738193156IN
0x0c29DBfC...A7296848e
0 S0.0014231655.01
Approve58335922025-01-29 23:25:0318 hrs ago1738193103IN
0x0c29DBfC...A7296848e
0 S0.0032159866
Approve58301942025-01-29 22:48:5218 hrs ago1738190932IN
0x0c29DBfC...A7296848e
0 S0.0025530455
Approve58275392025-01-29 22:20:2519 hrs ago1738189225IN
0x0c29DBfC...A7296848e
0 S0.0023209550
Approve58275332025-01-29 22:20:2119 hrs ago1738189221IN
0x0c29DBfC...A7296848e
0 S0.0023209550
Approve57453042025-01-29 4:31:3037 hrs ago1738125090IN
0x0c29DBfC...A7296848e
0 S0.0026833355.01
Approve56470002025-01-28 4:05:262 days ago1738037126IN
0x0c29DBfC...A7296848e
0 S0.0017416956.6
Transfer56238042025-01-27 21:57:362 days ago1738015056IN
0x0c29DBfC...A7296848e
0 S0.0021250955.01
Approve56060702025-01-27 18:51:452 days ago1738003905IN
0x0c29DBfC...A7296848e
0 S0.0017186155.85
Approve56057662025-01-27 18:48:232 days ago1738003703IN
0x0c29DBfC...A7296848e
0 S0.00243750
Approve56057642025-01-27 18:48:192 days ago1738003699IN
0x0c29DBfC...A7296848e
0 S0.0032168466
Approve56053932025-01-27 18:43:022 days ago1738003382IN
0x0c29DBfC...A7296848e
0 S0.002435750
Approve56053872025-01-27 18:42:592 days ago1738003379IN
0x0c29DBfC...A7296848e
0 S0.0026797555.01
Approve55907852025-01-27 16:01:323 days ago1737993692IN
0x0c29DBfC...A7296848e
0 S0.0032168466
Approve55720192025-01-27 12:10:203 days ago1737979820IN
0x0c29DBfC...A7296848e
0 S0.0025530455
Approve55711142025-01-27 11:57:083 days ago1737979028IN
0x0c29DBfC...A7296848e
0 S0.0025523855
Approve55438552025-01-27 6:49:253 days ago1737960565IN
0x0c29DBfC...A7296848e
0 S0.0020318166
Approve55436862025-01-27 6:47:563 days ago1737960476IN
0x0c29DBfC...A7296848e
0 S0.0032173266.01
Approve55422632025-01-27 6:32:593 days ago1737959579IN
0x0c29DBfC...A7296848e
0 S0.0016934855.01
Approve55405852025-01-27 6:12:563 days ago1737958376IN
0x0c29DBfC...A7296848e
0 S0.0016927655.01
Approve55402242025-01-27 6:07:033 days ago1737958023IN
0x0c29DBfC...A7296848e
0 S0.0026835555.01
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MemeToken

Compiler Version
v0.8.27+commit.40a35a09

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at SonicScan.org on 2025-01-19
*/

//SPDX-License-Identifier: None


pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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);
}



pragma solidity ^0.8.20;


/**
 * @dev Interface for the optional metadata functions from the ERC-20 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);
}



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;
    }
}




// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 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 ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-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 ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 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);
}



pragma solidity ^0.8.20;





/**
 * @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 ERC-20
 * applications.
 */
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}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * 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:
     *
     * ```solidity
     * 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);
            }
        }
    }
}



pragma solidity ^0.8.20;


/**
 * @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);
    }
}





pragma solidity ^0.8.4;

interface IVoter {
    function isBribeWhitelisted(address token) external view returns (bool);
    function setWhitelistedBribe(address token, bool status) external;
    function bribe(uint256 pid, address reward, uint256 amount) external;
    function _lastEpoch() external view returns (uint256);
    function _epochLength() external view returns(uint256);
    function _unlockTokens(address owner) external;
}


pragma solidity 0.8.27;





contract MemeToken is ERC20, Ownable {

    struct UserLocks{
        uint256 epoch;
        uint256 amount;
    }

    uint256 internal _totalSupply;
    uint256 internal _maxSupply;
    mapping (address => UserLocks) public locks;
    IVoter voter;

    constructor(uint256 initialSupply, uint256 maximumSupply)ERC20("Only Memes", "ONLY")Ownable(msg.sender){
        _totalSupply = initialSupply;
        _maxSupply = maximumSupply;
        _mint(msg.sender, initialSupply);
    }

     function totalSupply() public view override returns (uint256) {
        return _totalSupply - balanceOf(address(0));
    }

    function mint( address account, uint256 amount) external onlyOwner {
        
            uint256 _maxMint = _maxSupply - totalSupply();
     
          if (amount > _maxMint){ 
             amount = _maxMint; }
 
             _mint(account, amount);
             _totalSupply += amount;
    }

    function burn(uint256 amount) external {
        _totalSupply -= amount; 
        _burn(msg.sender, amount);
  
    }

    function maxSupply() external view returns (uint256) {
        return _maxSupply;
    }
    
    function setVoter(IVoter _voter) external onlyOwner{
        require(address(voter) == address(0)); 
        voter = _voter;  
 }
    function lockTokens(uint256 amount, address user) external {
        require (msg.sender == address(voter), "only Voter can lock");
        require (amount + locks[user].amount <= balanceOf(user), "Fully Locked");
        locks[user].amount += amount;
        locks[user].epoch = voter._lastEpoch();

 }

 function transfer(address to, uint256 value) public override returns (bool) {
        address owner = msg.sender;
        uint256 lockedAmount = locks[owner].amount;
    
    // Most common case first - no locks
    if (lockedAmount == 0) {
        _transfer(owner, to, value);
        return true;
    }
    
    // Check if lock expired and handle it
    if (isLockExpired(owner)) {
        // Unlock tokens if lock expired
        voter._unlockTokens(owner);
        // Reset locked amount since tokens are unlocked
        locks[owner].amount = 0; 
    }
    
    // Check transfer amount against available balance
    uint256 availableBalance = balanceOf(owner) - lockedAmount;
    require(value <= availableBalance, "Value exceeds unlocked balance");
    
    _transfer(owner, to, value);
    return true;

    }
  function transferFrom(address from, address to, uint256 value) public override returns (bool) {
    uint256 locked = locks[from].amount;
    
    if (locked > 0) {
        if (isLockExpired(from)) {
            voter._unlockTokens(from);
        } else {
            require(
                value <= balanceOf(from) - locked,
                "Value exceeds unlocked balance"
            );
        }
    }
    
    _spendAllowance(from, _msgSender(), value);
    _transfer(from, to, value);
    return true;
}

    function isLockExpired(address user) public view returns (bool) {
        if (locks[user].epoch < voter._lastEpoch()) {
            return true;
        }
        else return false;
    } 
 }

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"uint256","name":"maximumSupply","type":"uint256"}],"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":[{"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":[{"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":[{"internalType":"address","name":"user","type":"address"}],"name":"isLockExpired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"user","type":"address"}],"name":"lockTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"locks","outputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","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":[{"internalType":"contract IVoter","name":"_voter","type":"address"}],"name":"setVoter","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"}]

608060405234801561000f575f5ffd5b5060405161136338038061136383398101604081905261002e91610290565b336040518060400160405280600a8152602001694f6e6c79204d656d657360b01b815250604051806040016040528060048152602001634f4e4c5960e01b815250816003908161007e919061034a565b50600461008b828261034a565b5050506001600160a01b0381166100bc57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100c5816100e1565b50600682905560078190556100da3383610132565b5050610429565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661015b5760405163ec442f0560e01b81525f60048201526024016100b3565b6101665f838361016a565b5050565b6001600160a01b038316610194578060025f8282546101899190610404565b909155506102049050565b6001600160a01b0383165f90815260208190526040902054818110156101e65760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100b3565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166102205760028054829003905561023e565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161028391815260200190565b60405180910390a3505050565b5f5f604083850312156102a1575f5ffd5b505080516020909101519092909150565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806102da57607f821691505b6020821081036102f857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561034557805f5260205f20601f840160051c810160208510156103235750805b601f840160051c820191505b81811015610342575f815560010161032f565b50505b505050565b81516001600160401b03811115610363576103636102b2565b6103778161037184546102c6565b846102fe565b6020601f8211600181146103a9575f83156103925750848201515b5f19600385901b1c1916600184901b178455610342565b5f84815260208120601f198516915b828110156103d857878501518255602094850194600190920191016103b8565b50848210156103f557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b8082018082111561042357634e487b7160e01b5f52601160045260245ffd5b92915050565b610f2d806104365f395ff3fe608060405234801561000f575f5ffd5b506004361061011c575f3560e01c806370a08231116100a9578063aa68acde1161006e578063aa68acde14610275578063b9d5083214610288578063d5abeb011461029b578063dd62ed3e146102a3578063f2fde38b146102db575f5ffd5b806370a082311461020f578063715018a6146102375780638da5cb5b1461023f57806395d89b411461025a578063a9059cbb14610262575f5ffd5b8063313ce567116100ef578063313ce5671461018a57806340c10f191461019957806342966c68146101ae5780634bc2a657146101c15780635de9a137146101d4575f5ffd5b806306fdde0314610120578063095ea7b31461013e57806318160ddd1461016157806323b872dd14610177575b5f5ffd5b6101286102ee565b6040516101359190610d2a565b60405180910390f35b61015161014c366004610d73565b61037e565b6040519015158152602001610135565b610169610397565b604051908152602001610135565b610151610185366004610d9d565b6103d4565b60405160128152602001610135565b6101ac6101a7366004610d73565b610500565b005b6101ac6101bc366004610ddb565b610551565b6101ac6101cf366004610df2565b610575565b6101fa6101e2366004610df2565b60086020525f90815260409020805460019091015482565b60408051928352602083019190915201610135565b61016961021d366004610df2565b6001600160a01b03165f9081526020819052604090205490565b6101ac6105b4565b6005546040516001600160a01b039091168152602001610135565b6101286105c7565b610151610270366004610d73565b6105d6565b6101ac610283366004610e14565b610718565b610151610296366004610df2565b61088b565b600754610169565b6101696102b1366004610e42565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101ac6102e9366004610df2565b610923565b6060600380546102fd90610e6e565b80601f016020809104026020016040519081016040528092919081815260200182805461032990610e6e565b80156103745780601f1061034b57610100808354040283529160200191610374565b820191905f5260205f20905b81548152906001019060200180831161035757829003601f168201915b5050505050905090565b5f3361038b81858561095d565b60019150505b92915050565b5f80805260208190527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5546006546103cf9190610eba565b905090565b6001600160a01b0383165f9081526008602052604081206001015480156104df576103fe8561088b565b1561046257600954604051631423300f60e31b81526001600160a01b0387811660048301529091169063a1198078906024015f604051808303815f87803b158015610447575f5ffd5b505af1158015610459573d5f5f3e3d5ffd5b505050506104df565b80610481866001600160a01b03165f9081526020819052604090205490565b61048b9190610eba565b8311156104df5760405162461bcd60e51b815260206004820152601e60248201527f56616c7565206578636565647320756e6c6f636b65642062616c616e6365000060448201526064015b60405180910390fd5b6104ea85338561096f565b6104f58585856109eb565b506001949350505050565b610508610a48565b5f610511610397565b60075461051e9190610eba565b90508082111561052c578091505b6105368383610a75565b8160065f8282546105479190610ecd565b9091555050505050565b8060065f8282546105629190610eba565b9091555061057290503382610aad565b50565b61057d610a48565b6009546001600160a01b031615610592575f5ffd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6105bc610a48565b6105c55f610ae1565b565b6060600480546102fd90610e6e565b335f81815260086020526040812060010154909190808303610608576105fd8286866109eb565b600192505050610391565b6106118261088b565b1561068c57600954604051631423300f60e31b81526001600160a01b0384811660048301529091169063a1198078906024015f604051808303815f87803b15801561065a575f5ffd5b505af115801561066c573d5f5f3e3d5ffd5b5050506001600160a01b0383165f90815260086020526040812060010155505b6001600160a01b0382165f908152602081905260408120546106af908390610eba565b9050808511156107015760405162461bcd60e51b815260206004820152601e60248201527f56616c7565206578636565647320756e6c6f636b65642062616c616e6365000060448201526064016104d6565b61070c8387876109eb565b50600195945050505050565b6009546001600160a01b031633146107685760405162461bcd60e51b81526020600482015260136024820152726f6e6c7920566f7465722063616e206c6f636b60681b60448201526064016104d6565b6001600160a01b0381165f90815260208181526040808320546008909252909120600101546107979084610ecd565b11156107d45760405162461bcd60e51b815260206004820152600c60248201526b119d5b1b1e48131bd8dad95960a21b60448201526064016104d6565b6001600160a01b0381165f90815260086020526040812060010180548492906107fe908490610ecd565b9091555050600954604080516310e9489560e01b815290516001600160a01b03909216916310e94895916004808201926020929091908290030181865afa15801561084b573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086f9190610ee0565b6001600160a01b039091165f9081526008602052604090205550565b600954604080516310e9489560e01b815290515f926001600160a01b0316916310e948959160048083019260209291908290030181865afa1580156108d2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f69190610ee0565b6001600160a01b0383165f90815260086020526040902054101561091c57506001919050565b505f919050565b61092b610a48565b6001600160a01b03811661095457604051631e4fbdf760e01b81525f60048201526024016104d6565b61057281610ae1565b61096a8383836001610b32565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198110156109e557818110156109d757604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104d6565b6109e584848484035f610b32565b50505050565b6001600160a01b038316610a1457604051634b637e8f60e11b81525f60048201526024016104d6565b6001600160a01b038216610a3d5760405163ec442f0560e01b81525f60048201526024016104d6565b61096a838383610c04565b6005546001600160a01b031633146105c55760405163118cdaa760e01b81523360048201526024016104d6565b6001600160a01b038216610a9e5760405163ec442f0560e01b81525f60048201526024016104d6565b610aa95f8383610c04565b5050565b6001600160a01b038216610ad657604051634b637e8f60e11b81525f60048201526024016104d6565b610aa9825f83610c04565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038416610b5b5760405163e602df0560e01b81525f60048201526024016104d6565b6001600160a01b038316610b8457604051634a1406b160e11b81525f60048201526024016104d6565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156109e557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610bf691815260200190565b60405180910390a350505050565b6001600160a01b038316610c2e578060025f828254610c239190610ecd565b90915550610c9e9050565b6001600160a01b0383165f9081526020819052604090205481811015610c805760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104d6565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610cba57600280548290039055610cd8565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610d1d91815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610572575f5ffd5b5f5f60408385031215610d84575f5ffd5b8235610d8f81610d5f565b946020939093013593505050565b5f5f5f60608486031215610daf575f5ffd5b8335610dba81610d5f565b92506020840135610dca81610d5f565b929592945050506040919091013590565b5f60208284031215610deb575f5ffd5b5035919050565b5f60208284031215610e02575f5ffd5b8135610e0d81610d5f565b9392505050565b5f5f60408385031215610e25575f5ffd5b823591506020830135610e3781610d5f565b809150509250929050565b5f5f60408385031215610e53575f5ffd5b8235610e5e81610d5f565b91506020830135610e3781610d5f565b600181811c90821680610e8257607f821691505b602082108103610ea057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561039157610391610ea6565b8082018082111561039157610391610ea6565b5f60208284031215610ef0575f5ffd5b505191905056fea2646970667358221220ae816de0d8287c2fe69c79ac1adab68ac447f3ab7118ef3382b6b55542e139a264736f6c634300081b00330000000000000000000000000000000000000000000008e890a7c0e2a4340000000000000000000000000000000000000000000000037ad88187588824500000

Deployed Bytecode

0x608060405234801561000f575f5ffd5b506004361061011c575f3560e01c806370a08231116100a9578063aa68acde1161006e578063aa68acde14610275578063b9d5083214610288578063d5abeb011461029b578063dd62ed3e146102a3578063f2fde38b146102db575f5ffd5b806370a082311461020f578063715018a6146102375780638da5cb5b1461023f57806395d89b411461025a578063a9059cbb14610262575f5ffd5b8063313ce567116100ef578063313ce5671461018a57806340c10f191461019957806342966c68146101ae5780634bc2a657146101c15780635de9a137146101d4575f5ffd5b806306fdde0314610120578063095ea7b31461013e57806318160ddd1461016157806323b872dd14610177575b5f5ffd5b6101286102ee565b6040516101359190610d2a565b60405180910390f35b61015161014c366004610d73565b61037e565b6040519015158152602001610135565b610169610397565b604051908152602001610135565b610151610185366004610d9d565b6103d4565b60405160128152602001610135565b6101ac6101a7366004610d73565b610500565b005b6101ac6101bc366004610ddb565b610551565b6101ac6101cf366004610df2565b610575565b6101fa6101e2366004610df2565b60086020525f90815260409020805460019091015482565b60408051928352602083019190915201610135565b61016961021d366004610df2565b6001600160a01b03165f9081526020819052604090205490565b6101ac6105b4565b6005546040516001600160a01b039091168152602001610135565b6101286105c7565b610151610270366004610d73565b6105d6565b6101ac610283366004610e14565b610718565b610151610296366004610df2565b61088b565b600754610169565b6101696102b1366004610e42565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101ac6102e9366004610df2565b610923565b6060600380546102fd90610e6e565b80601f016020809104026020016040519081016040528092919081815260200182805461032990610e6e565b80156103745780601f1061034b57610100808354040283529160200191610374565b820191905f5260205f20905b81548152906001019060200180831161035757829003601f168201915b5050505050905090565b5f3361038b81858561095d565b60019150505b92915050565b5f80805260208190527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5546006546103cf9190610eba565b905090565b6001600160a01b0383165f9081526008602052604081206001015480156104df576103fe8561088b565b1561046257600954604051631423300f60e31b81526001600160a01b0387811660048301529091169063a1198078906024015f604051808303815f87803b158015610447575f5ffd5b505af1158015610459573d5f5f3e3d5ffd5b505050506104df565b80610481866001600160a01b03165f9081526020819052604090205490565b61048b9190610eba565b8311156104df5760405162461bcd60e51b815260206004820152601e60248201527f56616c7565206578636565647320756e6c6f636b65642062616c616e6365000060448201526064015b60405180910390fd5b6104ea85338561096f565b6104f58585856109eb565b506001949350505050565b610508610a48565b5f610511610397565b60075461051e9190610eba565b90508082111561052c578091505b6105368383610a75565b8160065f8282546105479190610ecd565b9091555050505050565b8060065f8282546105629190610eba565b9091555061057290503382610aad565b50565b61057d610a48565b6009546001600160a01b031615610592575f5ffd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6105bc610a48565b6105c55f610ae1565b565b6060600480546102fd90610e6e565b335f81815260086020526040812060010154909190808303610608576105fd8286866109eb565b600192505050610391565b6106118261088b565b1561068c57600954604051631423300f60e31b81526001600160a01b0384811660048301529091169063a1198078906024015f604051808303815f87803b15801561065a575f5ffd5b505af115801561066c573d5f5f3e3d5ffd5b5050506001600160a01b0383165f90815260086020526040812060010155505b6001600160a01b0382165f908152602081905260408120546106af908390610eba565b9050808511156107015760405162461bcd60e51b815260206004820152601e60248201527f56616c7565206578636565647320756e6c6f636b65642062616c616e6365000060448201526064016104d6565b61070c8387876109eb565b50600195945050505050565b6009546001600160a01b031633146107685760405162461bcd60e51b81526020600482015260136024820152726f6e6c7920566f7465722063616e206c6f636b60681b60448201526064016104d6565b6001600160a01b0381165f90815260208181526040808320546008909252909120600101546107979084610ecd565b11156107d45760405162461bcd60e51b815260206004820152600c60248201526b119d5b1b1e48131bd8dad95960a21b60448201526064016104d6565b6001600160a01b0381165f90815260086020526040812060010180548492906107fe908490610ecd565b9091555050600954604080516310e9489560e01b815290516001600160a01b03909216916310e94895916004808201926020929091908290030181865afa15801561084b573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086f9190610ee0565b6001600160a01b039091165f9081526008602052604090205550565b600954604080516310e9489560e01b815290515f926001600160a01b0316916310e948959160048083019260209291908290030181865afa1580156108d2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f69190610ee0565b6001600160a01b0383165f90815260086020526040902054101561091c57506001919050565b505f919050565b61092b610a48565b6001600160a01b03811661095457604051631e4fbdf760e01b81525f60048201526024016104d6565b61057281610ae1565b61096a8383836001610b32565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198110156109e557818110156109d757604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104d6565b6109e584848484035f610b32565b50505050565b6001600160a01b038316610a1457604051634b637e8f60e11b81525f60048201526024016104d6565b6001600160a01b038216610a3d5760405163ec442f0560e01b81525f60048201526024016104d6565b61096a838383610c04565b6005546001600160a01b031633146105c55760405163118cdaa760e01b81523360048201526024016104d6565b6001600160a01b038216610a9e5760405163ec442f0560e01b81525f60048201526024016104d6565b610aa95f8383610c04565b5050565b6001600160a01b038216610ad657604051634b637e8f60e11b81525f60048201526024016104d6565b610aa9825f83610c04565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038416610b5b5760405163e602df0560e01b81525f60048201526024016104d6565b6001600160a01b038316610b8457604051634a1406b160e11b81525f60048201526024016104d6565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156109e557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610bf691815260200190565b60405180910390a350505050565b6001600160a01b038316610c2e578060025f828254610c239190610ecd565b90915550610c9e9050565b6001600160a01b0383165f9081526020819052604090205481811015610c805760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104d6565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610cba57600280548290039055610cd8565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610d1d91815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610572575f5ffd5b5f5f60408385031215610d84575f5ffd5b8235610d8f81610d5f565b946020939093013593505050565b5f5f5f60608486031215610daf575f5ffd5b8335610dba81610d5f565b92506020840135610dca81610d5f565b929592945050506040919091013590565b5f60208284031215610deb575f5ffd5b5035919050565b5f60208284031215610e02575f5ffd5b8135610e0d81610d5f565b9392505050565b5f5f60408385031215610e25575f5ffd5b823591506020830135610e3781610d5f565b809150509250929050565b5f5f60408385031215610e53575f5ffd5b8235610e5e81610d5f565b91506020830135610e3781610d5f565b600181811c90821680610e8257607f821691505b602082108103610ea057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561039157610391610ea6565b8082018082111561039157610391610ea6565b5f60208284031215610ef0575f5ffd5b505191905056fea2646970667358221220ae816de0d8287c2fe69c79ac1adab68ac447f3ab7118ef3382b6b55542e139a264736f6c634300081b0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000008e890a7c0e2a4340000000000000000000000000000000000000000000000037ad88187588824500000

-----Decoded View---------------
Arg [0] : initialSupply (uint256): 42069000000000000000000
Arg [1] : maximumSupply (uint256): 4206900000000000000000000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000008e890a7c0e2a4340000
Arg [1] : 000000000000000000000000000000000000000000037ad88187588824500000


Deployed Bytecode Sourcemap

25347:3210:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12418:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;14711:190;;;;;;:::i;:::-;;:::i;:::-;;;1110:14:1;;1103:22;1085:41;;1073:2;1058:18;14711:190:0;945:187:1;25854:124:0;;;:::i;:::-;;;1283:25:1;;;1271:2;1256:18;25854:124:0;1137:177:1;27825:527:0;;;;;;:::i;:::-;;:::i;13371:84::-;;;13445:2;1974:36:1;;1962:2;1947:18;13371:84:0;1832:184:1;25986:302:0;;;;;;:::i;:::-;;:::i;:::-;;26296:121;;;;;;:::i;:::-;;:::i;26526:132::-;;;;;;:::i;:::-;;:::i;25544:43::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;2944:25:1;;;3000:2;2985:18;;2978:34;;;;2917:18;25544:43:0;2770:248:1;13682:118:0;;;;;;:::i;:::-;-1:-1:-1;;;;;13774:18:0;13747:7;13774:18;;;;;;;;;;;;13682:118;24015:103;;;:::i;23340:87::-;23413:6;;23340:87;;-1:-1:-1;;;;;23413:6:0;;;3169:51:1;;3157:2;3142:18;23340:87:0;3023:203:1;12628:95:0;;;:::i;26978:843::-;;;;;;:::i;:::-;;:::i;26664:309::-;;;;;;:::i;:::-;;:::i;28360:192::-;;;;;;:::i;:::-;;:::i;26425:89::-;26496:10;;26425:89;;14250:142;;;;;;:::i;:::-;-1:-1:-1;;;;;14357:18:0;;;14330:7;14357:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;14250:142;24273:220;;;;;;:::i;:::-;;:::i;12418:91::-;12463:13;12496:5;12489:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12418:91;:::o;14711:190::-;14784:4;3990:10;14840:31;3990:10;14856:7;14865:5;14840:8;:31::i;:::-;14889:4;14882:11;;;14711:190;;;;;:::o;25854:124::-;25907:7;13774:18;;;;;;;;;25934:12;;:36;;;;:::i;:::-;25927:43;;25854:124;:::o;27825:527::-;-1:-1:-1;;;;;27943:11:0;;27913:4;27943:11;;;:5;:11;;;;;:18;;;27978:10;;27974:269;;28005:19;28019:4;28005:13;:19::i;:::-;28001:235;;;28041:5;;:25;;-1:-1:-1;;;28041:25:0;;-1:-1:-1;;;;;3187:32:1;;;28041:25:0;;;3169:51:1;28041:5:0;;;;:19;;3142:18:1;;28041:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28001:235;;;28152:6;28134:15;28144:4;-1:-1:-1;;;;;13774:18:0;13747:7;13774:18;;;;;;;;;;;;13682:118;28134:15;:24;;;;:::i;:::-;28125:5;:33;;28099:125;;;;-1:-1:-1;;;28099:125:0;;4848:2:1;28099:125:0;;;4830:21:1;4887:2;4867:18;;;4860:30;4926:32;4906:18;;;4899:60;4976:18;;28099:125:0;;;;;;;;;28255:42;28271:4;3990:10;28291:5;28255:15;:42::i;:::-;28304:26;28314:4;28320:2;28324:5;28304:9;:26::i;:::-;-1:-1:-1;28344:4:0;;27825:527;-1:-1:-1;;;;27825:527:0:o;25986:302::-;23226:13;:11;:13::i;:::-;26078:16:::1;26110:13;:11;:13::i;:::-;26097:10;;:26;;;;:::i;:::-;26078:45;;26156:8;26147:6;:17;26143:59;;;26191:8;26182:17;;26143:59;26220:22;26226:7;26235:6;26220:5;:22::i;:::-;26274:6;26258:12;;:22;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;25986:302:0:o;26296:121::-;26362:6;26346:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;26380:25:0;;-1:-1:-1;26386:10:0;26398:6;26380:5;:25::i;:::-;26296:121;:::o;26526:132::-;23226:13;:11;:13::i;:::-;26604:5:::1;::::0;-1:-1:-1;;;;;26604:5:0::1;26596:28:::0;26588:37:::1;;;;;;26637:5;:14:::0;;-1:-1:-1;;;;;;26637:14:0::1;-1:-1:-1::0;;;;;26637:14:0;;;::::1;::::0;;;::::1;::::0;;26526:132::o;24015:103::-;23226:13;:11;:13::i;:::-;24080:30:::1;24107:1;24080:18;:30::i;:::-;24015:103::o:0;12628:95::-;12675:13;12708:7;12701:14;;;;;:::i;26978:843::-;27081:10;27048:4;27125:12;;;:5;:12;;;;;:19;;;27048:4;;27081:10;27203:17;;;27199:91;;27233:27;27243:5;27250:2;27254:5;27233:9;:27::i;:::-;27278:4;27271:11;;;;;;27199:91;27350:20;27364:5;27350:13;:20::i;:::-;27346:206;;;27425:5;;:26;;-1:-1:-1;;;27425:26:0;;-1:-1:-1;;;;;3187:32:1;;;27425:26:0;;;3169:51:1;27425:5:0;;;;:19;;3142:18:1;;27425:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;27520:12:0;;27542:1;27520:12;;;:5;:12;;;;;:19;;:23;-1:-1:-1;27346:206:0;-1:-1:-1;;;;;13774:18:0;;27620:24;13774:18;;;;;;;;;;;27647:31;;27666:12;;27647:31;:::i;:::-;27620:58;;27702:16;27693:5;:25;;27685:68;;;;-1:-1:-1;;;27685:68:0;;4848:2:1;27685:68:0;;;4830:21:1;4887:2;4867:18;;;4860:30;4926:32;4906:18;;;4899:60;4976:18;;27685:68:0;4646:354:1;27685:68:0;27766:27;27776:5;27783:2;27787:5;27766:9;:27::i;:::-;-1:-1:-1;27807:4:0;;26978:843;-1:-1:-1;;;;;26978:843:0:o;26664:309::-;26765:5;;-1:-1:-1;;;;;26765:5:0;26743:10;:28;26734:61;;;;-1:-1:-1;;;26734:61:0;;5337:2:1;26734:61:0;;;5319:21:1;5376:2;5356:18;;;5349:30;-1:-1:-1;;;5395:18:1;;;5388:49;5454:18;;26734:61:0;5135:343:1;26734:61:0;-1:-1:-1;;;;;13774:18:0;;13747:7;13774:18;;;;;;;;;;;;26824:5;:11;;;;;;:18;;;26815:27;;:6;:27;:::i;:::-;:46;;26806:72;;;;-1:-1:-1;;;26806:72:0;;5685:2:1;26806:72:0;;;5667:21:1;5724:2;5704:18;;;5697:30;-1:-1:-1;;;5743:18:1;;;5736:42;5795:18;;26806:72:0;5483:336:1;26806:72:0;-1:-1:-1;;;;;26889:11:0;;;;;;:5;:11;;;;;:18;;:28;;26911:6;;26889:11;:28;;26911:6;;26889:28;:::i;:::-;;;;-1:-1:-1;;26948:5:0;;:18;;;-1:-1:-1;;;26948:18:0;;;;-1:-1:-1;;;;;26948:5:0;;;;:16;;:18;;;;;;;;;;;;;;;:5;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;26928:11:0;;;;;;;:5;:11;;;;;:38;-1:-1:-1;26664:309:0:o;28360:192::-;28459:5;;:18;;;-1:-1:-1;;;28459:18:0;;;;28418:4;;-1:-1:-1;;;;;28459:5:0;;:16;;:18;;;;;;;;;;;;;;:5;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;28439:11:0;;;;;;:5;:11;;;;;:17;:38;28435:109;;;-1:-1:-1;28501:4:0;;28360:192;-1:-1:-1;28360:192:0:o;28435:109::-;-1:-1:-1;28539:5:0;;28360:192;-1:-1:-1;28360:192:0:o;24273:220::-;23226:13;:11;:13::i;:::-;-1:-1:-1;;;;;24358:22:0;::::1;24354:93;;24404:31;::::0;-1:-1:-1;;;24404:31:0;;24432:1:::1;24404:31;::::0;::::1;3169:51:1::0;3142:18;;24404:31:0::1;3023:203:1::0;24354:93:0::1;24457:28;24476:8;24457:18;:28::i;19570:130::-:0;19655:37;19664:5;19671:7;19680:5;19687:4;19655:8;:37::i;:::-;19570:130;;;:::o;21302:486::-;-1:-1:-1;;;;;14357:18:0;;;21402:24;14357:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;21469:36:0;;21465:316;;;21545:5;21526:16;:24;21522:132;;;21578:60;;-1:-1:-1;;;21578:60:0;;-1:-1:-1;;;;;6233:32:1;;21578:60:0;;;6215:51:1;6282:18;;;6275:34;;;6325:18;;;6318:34;;;6188:18;;21578:60:0;6013:345:1;21522:132:0;21697:57;21706:5;21713:7;21741:5;21722:16;:24;21748:5;21697:8;:57::i;:::-;21391:397;21302:486;;;:::o;16145:308::-;-1:-1:-1;;;;;16229:18:0;;16225:88;;16271:30;;-1:-1:-1;;;16271:30:0;;16298:1;16271:30;;;3169:51:1;3142:18;;16271:30:0;3023:203:1;16225:88:0;-1:-1:-1;;;;;16327:16:0;;16323:88;;16367:32;;-1:-1:-1;;;16367:32:0;;16396:1;16367:32;;;3169:51:1;3142:18;;16367:32:0;3023:203:1;16323:88:0;16421:24;16429:4;16435:2;16439:5;16421:7;:24::i;23505:166::-;23413:6;;-1:-1:-1;;;;;23413:6:0;3990:10;23565:23;23561:103;;23612:40;;-1:-1:-1;;;23612:40:0;;3990:10;23612:40;;;3169:51:1;3142:18;;23612:40:0;3023:203:1;18265:213:0;-1:-1:-1;;;;;18336:21:0;;18332:93;;18381:32;;-1:-1:-1;;;18381:32:0;;18410:1;18381:32;;;3169:51:1;3142:18;;18381:32:0;3023:203:1;18332:93:0;18435:35;18451:1;18455:7;18464:5;18435:7;:35::i;:::-;18265:213;;:::o;18806:211::-;-1:-1:-1;;;;;18877:21:0;;18873:91;;18922:30;;-1:-1:-1;;;18922:30:0;;18949:1;18922:30;;;3169:51:1;3142:18;;18922:30:0;3023:203:1;18873:91:0;18974:35;18982:7;18999:1;19003:5;18974:7;:35::i;24653:191::-;24746:6;;;-1:-1:-1;;;;;24763:17:0;;;-1:-1:-1;;;;;;24763:17:0;;;;;;;24796:40;;24746:6;;;24763:17;24746:6;;24796:40;;24727:16;;24796:40;24716:128;24653:191;:::o;20567:443::-;-1:-1:-1;;;;;20680:19:0;;20676:91;;20723:32;;-1:-1:-1;;;20723:32:0;;20752:1;20723:32;;;3169:51:1;3142:18;;20723:32:0;3023:203:1;20676:91:0;-1:-1:-1;;;;;20781:21:0;;20777:92;;20826:31;;-1:-1:-1;;;20826:31:0;;20854:1;20826:31;;;3169:51:1;3142:18;;20826:31:0;3023:203:1;20777:92:0;-1:-1:-1;;;;;20879:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;20925:78;;;;20976:7;-1:-1:-1;;;;;20960:31:0;20969:5;-1:-1:-1;;;;;20960:31:0;;20985:5;20960:31;;;;1283:25:1;;1271:2;1256:18;;1137:177;20960:31:0;;;;;;;;20567:443;;;;:::o;16777:1135::-;-1:-1:-1;;;;;16867:18:0;;16863:552;;17021:5;17005:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;16863:552:0;;-1:-1:-1;16863:552:0;;-1:-1:-1;;;;;17081:15:0;;17059:19;17081:15;;;;;;;;;;;17115:19;;;17111:117;;;17162:50;;-1:-1:-1;;;17162:50:0;;-1:-1:-1;;;;;6233:32:1;;17162:50:0;;;6215:51:1;6282:18;;;6275:34;;;6325:18;;;6318:34;;;6188:18;;17162:50:0;6013:345:1;17111:117:0;-1:-1:-1;;;;;17351:15:0;;:9;:15;;;;;;;;;;17369:19;;;;17351:37;;16863:552;-1:-1:-1;;;;;17431:16:0;;17427:435;;17597:12;:21;;;;;;;17427:435;;;-1:-1:-1;;;;;17813:13:0;;:9;:13;;;;;;;;;;:22;;;;;;17427:435;17894:2;-1:-1:-1;;;;;17879:25:0;17888:4;-1:-1:-1;;;;;17879:25:0;;17898:5;17879:25;;;;1283::1;;1271:2;1256:18;;1137:177;17879:25:0;;;;;;;;16777:1135;;;:::o;14:418:1:-;163:2;152:9;145:21;126:4;195:6;189:13;238:6;233:2;222:9;218:18;211:34;297:6;292:2;284:6;280:15;275:2;264:9;260:18;254:50;353:1;348:2;339:6;328:9;324:22;320:31;313:42;423:2;416;412:7;407:2;399:6;395:15;391:29;380:9;376:45;372:54;364:62;;;14:418;;;;:::o;437:131::-;-1:-1:-1;;;;;512:31:1;;502:42;;492:70;;558:1;555;548:12;573:367;641:6;649;702:2;690:9;681:7;677:23;673:32;670:52;;;718:1;715;708:12;670:52;757:9;744:23;776:31;801:5;776:31;:::i;:::-;826:5;904:2;889:18;;;;876:32;;-1:-1:-1;;;573:367:1:o;1319:508::-;1396:6;1404;1412;1465:2;1453:9;1444:7;1440:23;1436:32;1433:52;;;1481:1;1478;1471:12;1433:52;1520:9;1507:23;1539:31;1564:5;1539:31;:::i;:::-;1589:5;-1:-1:-1;1646:2:1;1631:18;;1618:32;1659:33;1618:32;1659:33;:::i;:::-;1319:508;;1711:7;;-1:-1:-1;;;1791:2:1;1776:18;;;;1763:32;;1319:508::o;2021:226::-;2080:6;2133:2;2121:9;2112:7;2108:23;2104:32;2101:52;;;2149:1;2146;2139:12;2101:52;-1:-1:-1;2194:23:1;;2021:226;-1:-1:-1;2021:226:1:o;2252:261::-;2325:6;2378:2;2366:9;2357:7;2353:23;2349:32;2346:52;;;2394:1;2391;2384:12;2346:52;2433:9;2420:23;2452:31;2477:5;2452:31;:::i;:::-;2502:5;2252:261;-1:-1:-1;;;2252:261:1:o;3231:367::-;3299:6;3307;3360:2;3348:9;3339:7;3335:23;3331:32;3328:52;;;3376:1;3373;3366:12;3328:52;3421:23;;;-1:-1:-1;3520:2:1;3505:18;;3492:32;3533:33;3492:32;3533:33;:::i;:::-;3585:7;3575:17;;;3231:367;;;;;:::o;3603:388::-;3671:6;3679;3732:2;3720:9;3711:7;3707:23;3703:32;3700:52;;;3748:1;3745;3738:12;3700:52;3787:9;3774:23;3806:31;3831:5;3806:31;:::i;:::-;3856:5;-1:-1:-1;3913:2:1;3898:18;;3885:32;3926:33;3885:32;3926:33;:::i;3996:380::-;4075:1;4071:12;;;;4118;;;4139:61;;4193:4;4185:6;4181:17;4171:27;;4139:61;4246:2;4238:6;4235:14;4215:18;4212:38;4209:161;;4292:10;4287:3;4283:20;4280:1;4273:31;4327:4;4324:1;4317:15;4355:4;4352:1;4345:15;4209:161;;3996:380;;;:::o;4381:127::-;4442:10;4437:3;4433:20;4430:1;4423:31;4473:4;4470:1;4463:15;4497:4;4494:1;4487:15;4513:128;4580:9;;;4601:11;;;4598:37;;;4615:18;;:::i;5005:125::-;5070:9;;;5091:10;;;5088:36;;;5104:18;;:::i;5824:184::-;5894:6;5947:2;5935:9;5926:7;5922:23;5918:32;5915:52;;;5963:1;5960;5953:12;5915:52;-1:-1:-1;5986:16:1;;5824:184;-1:-1:-1;5824:184:1:o

Swarm Source

ipfs://ae816de0d8287c2fe69c79ac1adab68ac447f3ab7118ef3382b6b55542e139a2

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.