ETH Price: $3,105.42 (-0.53%)

Contract

0x0531dE6c92c4690B25C1c41DD415eF869Ef33976
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve210577782024-10-27 15:12:1122 days ago1730041931IN
0x0531dE6c...69Ef33976
0 ETH0.0002452610.04266919
Approve210488942024-10-26 9:26:3524 days ago1729934795IN
0x0531dE6c...69Ef33976
0 ETH0.00008823.62069961
Approve210048092024-10-20 5:50:3530 days ago1729403435IN
0x0531dE6c...69Ef33976
0 ETH0.000170026.43501763
Approve210048082024-10-20 5:50:2330 days ago1729403423IN
0x0531dE6c...69Ef33976
0 ETH0.0001586.46963351
Approve209827132024-10-17 3:51:3533 days ago1729137095IN
0x0531dE6c...69Ef33976
0 ETH0.000250910.27370876
Approve207144362024-09-09 17:06:2370 days ago1725901583IN
0x0531dE6c...69Ef33976
0 ETH0.0006271213.5
Approve205814562024-08-22 3:26:4789 days ago1724297207IN
0x0531dE6c...69Ef33976
0 ETH0.000048951.04954095
Approve205630952024-08-19 13:53:2391 days ago1724075603IN
0x0531dE6c...69Ef33976
0 ETH0.000074593.05422455
Approve205082322024-08-11 22:03:3599 days ago1723413815IN
0x0531dE6c...69Ef33976
0 ETH0.00002571.05265381
Approve205082312024-08-11 22:03:2399 days ago1723413803IN
0x0531dE6c...69Ef33976
0 ETH0.000025171.03341941
Approve204506652024-08-03 21:20:23107 days ago1722720023IN
0x0531dE6c...69Ef33976
0 ETH0.00006382.61909381
Approve204117002024-07-29 10:44:11112 days ago1722249851IN
0x0531dE6c...69Ef33976
0 ETH0.000185814
Approve203965972024-07-27 8:10:35115 days ago1722067835IN
0x0531dE6c...69Ef33976
0 ETH0.000048481.99034106
Approve203261392024-07-17 12:06:23124 days ago1721217983IN
0x0531dE6c...69Ef33976
0 ETH0.0002559910.4821581
Approve201536182024-06-23 9:53:23148 days ago1719136403IN
0x0531dE6c...69Ef33976
0 ETH0.000152423.26766094
Approve201203132024-06-18 18:04:59153 days ago1718733899IN
0x0531dE6c...69Ef33976
0 ETH0.000424799.14434357
Approve201198572024-06-18 16:33:47153 days ago1718728427IN
0x0531dE6c...69Ef33976
0 ETH0.0008306117.88961445
Approve200789732024-06-12 23:17:23159 days ago1718234243IN
0x0531dE6c...69Ef33976
0 ETH0.00038838.3137791
Approve200702832024-06-11 18:09:23160 days ago1718129363IN
0x0531dE6c...69Ef33976
0 ETH0.0006654314.34322907
Approve200689482024-06-11 13:41:23160 days ago1718113283IN
0x0531dE6c...69Ef33976
0 ETH0.0005796821.93953882
Approve200689462024-06-11 13:40:59160 days ago1718113259IN
0x0531dE6c...69Ef33976
0 ETH0.0005722521.65832742
Approve198530432024-05-12 9:27:35191 days ago1715506055IN
0x0531dE6c...69Ef33976
0 ETH0.000095583.92360797
Transfer198242382024-05-08 8:45:35195 days ago1715157935IN
0x0531dE6c...69Ef33976
0 ETH0.000242295.18284277
Approve198240232024-05-08 8:02:35195 days ago1715155355IN
0x0531dE6c...69Ef33976
0 ETH0.000122495.01587637
Approve197925732024-05-03 22:29:35199 days ago1714775375IN
0x0531dE6c...69Ef33976
0 ETH0.000216044.62570821
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Mousetrap

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-12-26
*/

// Sources flattened with hardhat v2.19.2 https://hardhat.org

// SPDX-License-Identifier: MIT

// File @openzeppelin/contracts/utils/[email protected]

// Original license: 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;
    }
}


// File @openzeppelin/contracts/access/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

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


// File @openzeppelin/contracts/interfaces/[email protected]

// Original license: 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);
}


// File @openzeppelin/contracts/token/ERC20/[email protected]

// Original license: 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);
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

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


// File @openzeppelin/contracts/token/ERC20/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.20;


/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys a `value` amount of tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 value) public virtual {
        _burn(_msgSender(), value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, deducting from
     * the caller's allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `value`.
     */
    function burnFrom(address account, uint256 value) public virtual {
        _spendAllowance(account, _msgSender(), value);
        _burn(account, value);
    }
}


// File contracts/PubDomToken.sol

// Original license: SPDX_License_Identifier: MIT
pragma solidity ^0.8.20;
// +===========================================================+
// | __  __  ___  _   _ ____  _____ _____ ____      _    ____  |
// ||  \/  |/ _ \| | | / ___|| ____|_   _|  _ \    / \  |  _ \ |
// || |\/| | | | | | | \___ \|  _|   | | | |_) |  / _ \ | |_) ||
// || |  | | |_| | |_| |___) | |___  | | |  _ <  / ___ \|  __/ |
// ||_|  |_|\___/ \___/|____/|_____| |_| |_| \_\/_/   \_\_|    |
// +===========================================================+

//  ____   ___   ___  _   _                          
// / ___| / _ \ / _ \| \ | |                         
// \___ \| | | | | | |  \| |                         
//  ___) | |_| | |_| | |\  |_ _ _                    
// |____/ \___/ \___/|_| \_(_|_|_)_____ __  __ _____ 
// |  _ \|  _ \| ____|    |  \/  | ____|  \/  | ____|
// | |_) | |_) |  _| _____| |\/| |  _| | |\/| |  _|  
// |  __/|  _ <| |__|_____| |  | | |___| |  | | |___ 
// |_|___|_|_\_\_____|___ |_| _|_|_____|_|  |_|_____|
// |_   _/ _ \| |/ / ____| \ | |                     
//   | || | | | ' /|  _| |  \| |                     
//   | || |_| | . \| |___| |\  |                     
//   |_| \___/|_|\_\_____|_| \_|                     
                                                                                            
//     -%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#:                        
//    +@@@%############################################%@@@=                       
//    *@%.                                              .@@*                       
//    *@#                                               .@@*                       
//    *@#                                               .@@*                       
//    *@#                     +@@@@.                    .@@*                       
//    *@#                     +@@@@:                    .@@*                       
//    *@#                     +@@@@:                    .@@*                       
//    *@#                     +@@@@:                    .@@*                       
//    *@#                     +@@@@:                    .@@*                       
//    *@#                     .===-                     .@@*                       
//    *@#                                               .@@*                       
//    *@#                                               .@@*                       
//    *@#                                               .@@*                       
//    *@#                                               .@@*                       
//    *@#  .@@@@.    .@@@-    .#@@*    .+@@@     .@@@@. .@@*                       
//    *@#  :@@@@@    @@@@@:   *@@@@=   :@@@@#   .@@@@@: .@@*                       
//    *@#  :@@@@@#  #@@@@@@. -@@@@@@. .@@@@@@-  %@@@@@: .@@*                       
//    *@#  :@@@@@@::@@@+@@@*.@@@#%@@%.%@@@*@@@.*@@@@@@: .@@*                       
//    *@#  :@@@@@@@@@@*.-@@@@@@@.:@@@@@@@..@@@@@@@@@@@: .@@*                       
//    *@#  :@@@.@@@@@@.  +@@@@@-  -@@@@@=  .@@@@@*-@@@: .@@*                       
//    *@#  :@@@..****.    =***:    :***-    .***=.-@@@: .@@*                       
//    *@#  :@@@.                                  -@@@: .@@*                       
//    *@#  :@@@.                                  -@@@: .@@*                       
//    *@#  :@@@.                                  -@@@: .@@*                       
//    *@#  :@@@.                                  -@@@: .@@*                       
//    *@#  :@@@.   .+@@@@=.            .*@@@@=.   -@@@: .@@*                       
//    *@#  :@@@.  -@@@@@@@@:          +@@@@@@@@:  -@@@: .@@*                       
//    *@#  :@@@. .@@@@@@@@@%  .:--:. :@@@@@@@@@@. -@@@: .@@*                       
//    *@#  :@@@. .@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@. -@@@: .@@*                       
//    *@#  :@@@.  .@@@@@@@@@@@@@@@@@@@@@@@@@@@%.  =@@@: .@@*                       
//    *@#  .@@@@.    =#%@@@@@@@@@@@@@@@@@@%#-    .@@@@. .@@*                       
//    *@#   :@@@@@%%%%%%@@@@@@@@@@@@@@@@@@%%%%%@@@@@@.  .@@*                       
//    *@#    .+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#.    .@@*                       
//    *@#             .%@@@@@@@@@@@@@@@@@@%.            .@@*                       
//    *@#              :@@@@@@@@@@@@@@@@@@:             .@@*                       
//    *@#               *@@@@@@@@@@@@@@@@#              .@@*                       
//    *@#                -@@@@@@@@@@@@@@-               .@@*                       
//    *@#                  :@@@@@@@@@@:                 .@@*                       
//    *@#                     ..::..                    .@@*                       
//    *@#                                               .@@*                       
//    *@#                                               .@@*                       
//    *@@*:............................................:%@@+                       
//    .%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*.                       
                                                                                                                                                                                                                                                                                                              
contract Mousetrap is ERC20, ERC20Burnable, Ownable {
    uint256 public constant MAX_SUPPLY = 192800000000000000000000000000; // MAX PRE-MEME TOKEN SUPPLY, MAX MEME TOKEN SUPPLY

    constructor()
        ERC20("Mousetrap", "SOON")
        Ownable(msg.sender)
    {
        uint256 initialSupply = 192800000000000000000000000000;
        require(initialSupply <= MAX_SUPPLY, "Initial supply exceeds max supply");
        _mint(msg.sender, initialSupply); 
    }

    function mint(address to, uint256 amount) public onlyOwner {
        require(totalSupply() + amount <= MAX_SUPPLY, "Minting exceeds max supply");
        _mint(to, amount);
    }

    function renounceOwnership() public override onlyOwner {
        super.renounceOwnership();
    }
}

Contract Security Audit

Contract ABI

[{"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":"MAX_SUPPLY","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":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","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":[],"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"}]

60806040523480156200001157600080fd5b50336040518060400160405280600981526020016804d6f757365747261760bc1b8152506040518060400160405280600481526020016329a7a7a760e11b81525081600390816200006391906200033a565b5060046200007282826200033a565b5050506001600160a01b038116620000a557604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000b081620000d2565b506c026ef86c0ec2a0944520000000620000cb338262000124565b506200042e565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001505760405163ec442f0560e01b8152600060048201526024016200009c565b6200015e6000838362000162565b5050565b6001600160a01b0383166200019157806002600082825462000185919062000406565b90915550620002059050565b6001600160a01b03831660009081526020819052604090205481811015620001e65760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016200009c565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620002235760028054829003905562000242565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200028891815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002c057607f821691505b602082108103620002e157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033557600081815260208120601f850160051c81016020861015620003105750805b601f850160051c820191505b8181101562000331578281556001016200031c565b5050505b505050565b81516001600160401b0381111562000356576200035662000295565b6200036e81620003678454620002ab565b84620002e7565b602080601f831160018114620003a657600084156200038d5750858301515b600019600386901b1c1916600185901b17855562000331565b600085815260208120601f198616915b82811015620003d757888601518255948401946001909101908401620003b6565b5085821015620003f65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200042857634e487b7160e01b600052601160045260246000fd5b92915050565b610a19806200043e6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a082311161009757806395d89b411161006657806395d89b4114610215578063a9059cbb1461021d578063dd62ed3e14610230578063f2fde38b1461026957600080fd5b806370a08231146101b6578063715018a6146101df57806379cc6790146101e75780638da5cb5b146101fa57600080fd5b8063313ce567116100d3578063313ce5671461016b57806332cb6b0c1461017a57806340c10f191461018e57806342966c68146101a357600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d61027c565b60405161011a919061084a565b60405180910390f35b6101366101313660046108b4565b61030e565b604051901515815260200161011a565b6002545b60405190815260200161011a565b6101366101663660046108de565b610328565b6040516012815260200161011a565b61014a6c026ef86c0ec2a094452000000081565b6101a161019c3660046108b4565b61034c565b005b6101a16101b136600461091a565b6103d7565b61014a6101c4366004610933565b6001600160a01b031660009081526020819052604090205490565b6101a16103e4565b6101a16101f53660046108b4565b6103f6565b6005546040516001600160a01b03909116815260200161011a565b61010d61040b565b61013661022b3660046108b4565b61041a565b61014a61023e366004610955565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101a1610277366004610933565b610428565b60606003805461028b90610988565b80601f01602080910402602001604051908101604052809291908181526020018280546102b790610988565b80156103045780601f106102d957610100808354040283529160200191610304565b820191906000526020600020905b8154815290600101906020018083116102e757829003601f168201915b5050505050905090565b60003361031c818585610463565b60019150505b92915050565b600033610336858285610475565b6103418585856104f3565b506001949350505050565b610354610552565b6c026ef86c0ec2a09445200000008161036c60025490565b61037691906109c2565b11156103c95760405162461bcd60e51b815260206004820152601a60248201527f4d696e74696e672065786365656473206d617820737570706c7900000000000060448201526064015b60405180910390fd5b6103d3828261057f565b5050565b6103e133826105b5565b50565b6103ec610552565b6103f46105eb565b565b610401823383610475565b6103d382826105b5565b60606004805461028b90610988565b60003361031c8185856104f3565b610430610552565b6001600160a01b03811661045a57604051631e4fbdf760e01b8152600060048201526024016103c0565b6103e1816105f9565b610470838383600161064b565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146104ed57818110156104de57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103c0565b6104ed8484848403600061064b565b50505050565b6001600160a01b03831661051d57604051634b637e8f60e11b8152600060048201526024016103c0565b6001600160a01b0382166105475760405163ec442f0560e01b8152600060048201526024016103c0565b610470838383610720565b6005546001600160a01b031633146103f45760405163118cdaa760e01b81523360048201526024016103c0565b6001600160a01b0382166105a95760405163ec442f0560e01b8152600060048201526024016103c0565b6103d360008383610720565b6001600160a01b0382166105df57604051634b637e8f60e11b8152600060048201526024016103c0565b6103d382600083610720565b6105f3610552565b6103f460005b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166106755760405163e602df0560e01b8152600060048201526024016103c0565b6001600160a01b03831661069f57604051634a1406b160e11b8152600060048201526024016103c0565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156104ed57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161071291815260200190565b60405180910390a350505050565b6001600160a01b03831661074b57806002600082825461074091906109c2565b909155506107bd9050565b6001600160a01b0383166000908152602081905260409020548181101561079e5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103c0565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166107d9576002805482900390556107f8565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161083d91815260200190565b60405180910390a3505050565b600060208083528351808285015260005b818110156108775785810183015185820160400152820161085b565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108af57600080fd5b919050565b600080604083850312156108c757600080fd5b6108d083610898565b946020939093013593505050565b6000806000606084860312156108f357600080fd5b6108fc84610898565b925061090a60208501610898565b9150604084013590509250925092565b60006020828403121561092c57600080fd5b5035919050565b60006020828403121561094557600080fd5b61094e82610898565b9392505050565b6000806040838503121561096857600080fd5b61097183610898565b915061097f60208401610898565b90509250929050565b600181811c9082168061099c57607f821691505b6020821081036109bc57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561032257634e487b7160e01b600052601160045260246000fdfea2646970667358221220b5cddddb1c99d95617e8806e4c11c1e353283af5eae872310c9cca356487c08564736f6c63430008140033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c806370a082311161009757806395d89b411161006657806395d89b4114610215578063a9059cbb1461021d578063dd62ed3e14610230578063f2fde38b1461026957600080fd5b806370a08231146101b6578063715018a6146101df57806379cc6790146101e75780638da5cb5b146101fa57600080fd5b8063313ce567116100d3578063313ce5671461016b57806332cb6b0c1461017a57806340c10f191461018e57806342966c68146101a357600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d61027c565b60405161011a919061084a565b60405180910390f35b6101366101313660046108b4565b61030e565b604051901515815260200161011a565b6002545b60405190815260200161011a565b6101366101663660046108de565b610328565b6040516012815260200161011a565b61014a6c026ef86c0ec2a094452000000081565b6101a161019c3660046108b4565b61034c565b005b6101a16101b136600461091a565b6103d7565b61014a6101c4366004610933565b6001600160a01b031660009081526020819052604090205490565b6101a16103e4565b6101a16101f53660046108b4565b6103f6565b6005546040516001600160a01b03909116815260200161011a565b61010d61040b565b61013661022b3660046108b4565b61041a565b61014a61023e366004610955565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101a1610277366004610933565b610428565b60606003805461028b90610988565b80601f01602080910402602001604051908101604052809291908181526020018280546102b790610988565b80156103045780601f106102d957610100808354040283529160200191610304565b820191906000526020600020905b8154815290600101906020018083116102e757829003601f168201915b5050505050905090565b60003361031c818585610463565b60019150505b92915050565b600033610336858285610475565b6103418585856104f3565b506001949350505050565b610354610552565b6c026ef86c0ec2a09445200000008161036c60025490565b61037691906109c2565b11156103c95760405162461bcd60e51b815260206004820152601a60248201527f4d696e74696e672065786365656473206d617820737570706c7900000000000060448201526064015b60405180910390fd5b6103d3828261057f565b5050565b6103e133826105b5565b50565b6103ec610552565b6103f46105eb565b565b610401823383610475565b6103d382826105b5565b60606004805461028b90610988565b60003361031c8185856104f3565b610430610552565b6001600160a01b03811661045a57604051631e4fbdf760e01b8152600060048201526024016103c0565b6103e1816105f9565b610470838383600161064b565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146104ed57818110156104de57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103c0565b6104ed8484848403600061064b565b50505050565b6001600160a01b03831661051d57604051634b637e8f60e11b8152600060048201526024016103c0565b6001600160a01b0382166105475760405163ec442f0560e01b8152600060048201526024016103c0565b610470838383610720565b6005546001600160a01b031633146103f45760405163118cdaa760e01b81523360048201526024016103c0565b6001600160a01b0382166105a95760405163ec442f0560e01b8152600060048201526024016103c0565b6103d360008383610720565b6001600160a01b0382166105df57604051634b637e8f60e11b8152600060048201526024016103c0565b6103d382600083610720565b6105f3610552565b6103f460005b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166106755760405163e602df0560e01b8152600060048201526024016103c0565b6001600160a01b03831661069f57604051634a1406b160e11b8152600060048201526024016103c0565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156104ed57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161071291815260200190565b60405180910390a350505050565b6001600160a01b03831661074b57806002600082825461074091906109c2565b909155506107bd9050565b6001600160a01b0383166000908152602081905260409020548181101561079e5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103c0565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166107d9576002805482900390556107f8565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161083d91815260200190565b60405180910390a3505050565b600060208083528351808285015260005b818110156108775785810183015185820160400152820161085b565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108af57600080fd5b919050565b600080604083850312156108c757600080fd5b6108d083610898565b946020939093013593505050565b6000806000606084860312156108f357600080fd5b6108fc84610898565b925061090a60208501610898565b9150604084013590509250925092565b60006020828403121561092c57600080fd5b5035919050565b60006020828403121561094557600080fd5b61094e82610898565b9392505050565b6000806040838503121561096857600080fd5b61097183610898565b915061097f60208401610898565b90509250929050565b600181811c9082168061099c57607f821691505b6020821081036109bc57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561032257634e487b7160e01b600052601160045260246000fdfea2646970667358221220b5cddddb1c99d95617e8806e4c11c1e353283af5eae872310c9cca356487c08564736f6c63430008140033

Deployed Bytecode Sourcemap

32920:771:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16921:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19214:190;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;19214:190:0;1004:187:1;18023:99:0;18102:12;;18023:99;;;1342:25:1;;;1330:2;1315:18;18023:99:0;1196:177:1;19982:249:0;;;;;;:::i;:::-;;:::i;17874:84::-;;;17948:2;1853:36:1;;1841:2;1826:18;17874:84:0;1711:184:1;32979:67:0;;33016:30;32979:67;;33400:181;;;;;;:::i;:::-;;:::i;:::-;;26901:89;;;;;;:::i;:::-;;:::i;18185:118::-;;;;;;:::i;:::-;-1:-1:-1;;;;;18277:18:0;18250:7;18277:18;;;;;;;;;;;;18185:118;33589:99;;;:::i;27319:161::-;;;;;;:::i;:::-;;:::i;2896:87::-;2969:6;;2896:87;;-1:-1:-1;;;;;2969:6:0;;;2422:51:1;;2410:2;2395:18;2896:87:0;2276:203:1;17131:95:0;;;:::i;18508:182::-;;;;;;:::i;:::-;;:::i;18753:142::-;;;;;;:::i;:::-;-1:-1:-1;;;;;18860:18:0;;;18833:7;18860:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;18753:142;3829:220;;;;;;:::i;:::-;;:::i;16921:91::-;16966:13;16999:5;16992:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16921:91;:::o;19214:190::-;19287:4;930:10;19343:31;930:10;19359:7;19368:5;19343:8;:31::i;:::-;19392:4;19385:11;;;19214:190;;;;;:::o;19982:249::-;20069:4;930:10;20127:37;20143:4;930:10;20158:5;20127:15;:37::i;:::-;20175:26;20185:4;20191:2;20195:5;20175:9;:26::i;:::-;-1:-1:-1;20219:4:0;;19982:249;-1:-1:-1;;;;19982:249:0:o;33400:181::-;2782:13;:11;:13::i;:::-;33016:30:::1;33494:6;33478:13;18102:12:::0;;;18023:99;33478:13:::1;:22;;;;:::i;:::-;:36;;33470:75;;;::::0;-1:-1:-1;;;33470:75:0;;3563:2:1;33470:75:0::1;::::0;::::1;3545:21:1::0;3602:2;3582:18;;;3575:30;3641:28;3621:18;;;3614:56;3687:18;;33470:75:0::1;;;;;;;;;33556:17;33562:2;33566:6;33556:5;:17::i;:::-;33400:181:::0;;:::o;26901:89::-;26956:26;930:10;26976:5;26956;:26::i;:::-;26901:89;:::o;33589:99::-;2782:13;:11;:13::i;:::-;33655:25:::1;:23;:25::i;:::-;33589:99::o:0;27319:161::-;27395:45;27411:7;930:10;27434:5;27395:15;:45::i;:::-;27451:21;27457:7;27466:5;27451;:21::i;17131:95::-;17178:13;17211:7;17204:14;;;;;:::i;18508:182::-;18577:4;930:10;18633:27;930:10;18650:2;18654:5;18633:9;:27::i;3829:220::-;2782:13;:11;:13::i;:::-;-1:-1:-1;;;;;3914:22:0;::::1;3910:93;;3960:31;::::0;-1:-1:-1;;;3960:31:0;;3988:1:::1;3960:31;::::0;::::1;2422:51:1::0;2395:18;;3960:31:0::1;2276:203:1::0;3910:93:0::1;4013:28;4032:8;4013:18;:28::i;24041:130::-:0;24126:37;24135:5;24142:7;24151:5;24158:4;24126:8;:37::i;:::-;24041:130;;;:::o;25757:487::-;-1:-1:-1;;;;;18860:18:0;;;25857:24;18860:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;25924:37:0;;25920:317;;26001:5;25982:16;:24;25978:132;;;26034:60;;-1:-1:-1;;;26034:60:0;;-1:-1:-1;;;;;3936:32:1;;26034:60:0;;;3918:51:1;3985:18;;;3978:34;;;4028:18;;;4021:34;;;3891:18;;26034:60:0;3716:345:1;25978:132:0;26153:57;26162:5;26169:7;26197:5;26178:16;:24;26204:5;26153:8;:57::i;:::-;25846:398;25757:487;;;:::o;20616:308::-;-1:-1:-1;;;;;20700:18:0;;20696:88;;20742:30;;-1:-1:-1;;;20742:30:0;;20769:1;20742:30;;;2422:51:1;2395:18;;20742:30:0;2276:203:1;20696:88:0;-1:-1:-1;;;;;20798:16:0;;20794:88;;20838:32;;-1:-1:-1;;;20838:32:0;;20867:1;20838:32;;;2422:51:1;2395:18;;20838:32:0;2276:203:1;20794:88:0;20892:24;20900:4;20906:2;20910:5;20892:7;:24::i;3061:166::-;2969:6;;-1:-1:-1;;;;;2969:6:0;930:10;3121:23;3117:103;;3168:40;;-1:-1:-1;;;3168:40:0;;930:10;3168:40;;;2422:51:1;2395:18;;3168:40:0;2276:203:1;22736:213:0;-1:-1:-1;;;;;22807:21:0;;22803:93;;22852:32;;-1:-1:-1;;;22852:32:0;;22881:1;22852:32;;;2422:51:1;2395:18;;22852:32:0;2276:203:1;22803:93:0;22906:35;22922:1;22926:7;22935:5;22906:7;:35::i;23277:211::-;-1:-1:-1;;;;;23348:21:0;;23344:91;;23393:30;;-1:-1:-1;;;23393:30:0;;23420:1;23393:30;;;2422:51:1;2395:18;;23393:30:0;2276:203:1;23344:91:0;23445:35;23453:7;23470:1;23474:5;23445:7;:35::i;3571:103::-;2782:13;:11;:13::i;:::-;3636:30:::1;3663:1;4209:191:::0;4302:6;;;-1:-1:-1;;;;;4319:17:0;;;-1:-1:-1;;;;;;4319:17:0;;;;;;;4352:40;;4302:6;;;4319:17;4302:6;;4352:40;;4283:16;;4352:40;4272:128;4209:191;:::o;25022:443::-;-1:-1:-1;;;;;25135:19:0;;25131:91;;25178:32;;-1:-1:-1;;;25178:32:0;;25207:1;25178:32;;;2422:51:1;2395:18;;25178:32:0;2276:203:1;25131:91:0;-1:-1:-1;;;;;25236:21:0;;25232:92;;25281:31;;-1:-1:-1;;;25281:31:0;;25309:1;25281:31;;;2422:51:1;2395:18;;25281:31:0;2276:203:1;25232:92:0;-1:-1:-1;;;;;25334:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;25380:78;;;;25431:7;-1:-1:-1;;;;;25415:31:0;25424:5;-1:-1:-1;;;;;25415:31:0;;25440:5;25415:31;;;;1342:25:1;;1330:2;1315:18;;1196:177;25415:31:0;;;;;;;;25022:443;;;;:::o;21248:1135::-;-1:-1:-1;;;;;21338:18:0;;21334:552;;21492:5;21476:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;21334:552:0;;-1:-1:-1;21334:552:0;;-1:-1:-1;;;;;21552:15:0;;21530:19;21552:15;;;;;;;;;;;21586:19;;;21582:117;;;21633:50;;-1:-1:-1;;;21633:50:0;;-1:-1:-1;;;;;3936:32:1;;21633:50:0;;;3918:51:1;3985:18;;;3978:34;;;4028:18;;;4021:34;;;3891:18;;21633:50:0;3716:345:1;21582:117:0;-1:-1:-1;;;;;21822:15:0;;:9;:15;;;;;;;;;;21840:19;;;;21822:37;;21334:552;-1:-1:-1;;;;;21902:16:0;;21898:435;;22068:12;:21;;;;;;;21898:435;;;-1:-1:-1;;;;;22284:13:0;;:9;:13;;;;;;;;;;:22;;;;;;21898:435;22365:2;-1:-1:-1;;;;;22350:25:0;22359:4;-1:-1:-1;;;;;22350:25:0;;22369:5;22350:25;;;;1342::1;;1330:2;1315:18;;1196:177;22350:25:0;;;;;;;;21248:1135;;;:::o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:180::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;-1:-1:-1;2051:23:1;;1900:180;-1:-1:-1;1900:180:1:o;2085:186::-;2144:6;2197:2;2185:9;2176:7;2172:23;2168:32;2165:52;;;2213:1;2210;2203:12;2165:52;2236:29;2255:9;2236:29;:::i;:::-;2226:39;2085:186;-1:-1:-1;;;2085:186:1:o;2484:260::-;2552:6;2560;2613:2;2601:9;2592:7;2588:23;2584:32;2581:52;;;2629:1;2626;2619:12;2581:52;2652:29;2671:9;2652:29;:::i;:::-;2642:39;;2700:38;2734:2;2723:9;2719:18;2700:38;:::i;:::-;2690:48;;2484:260;;;;;:::o;2749:380::-;2828:1;2824:12;;;;2871;;;2892:61;;2946:4;2938:6;2934:17;2924:27;;2892:61;2999:2;2991:6;2988:14;2968:18;2965:38;2962:161;;3045:10;3040:3;3036:20;3033:1;3026:31;3080:4;3077:1;3070:15;3108:4;3105:1;3098:15;2962:161;;2749:380;;;:::o;3134:222::-;3199:9;;;3220:10;;;3217:133;;;3272:10;3267:3;3263:20;3260:1;3253:31;3307:4;3304:1;3297:15;3335:4;3332:1;3325:15

Swarm Source

ipfs://b5cddddb1c99d95617e8806e4c11c1e353283af5eae872310c9cca356487c085

Block Transaction Difficulty 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
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.