ETH Price: $3,852.18 (-1.87%)

Contract

0x7613867D44186ab1933b99864CC865329a05BE81
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve213044742024-12-01 1:48:1114 days ago1733017691IN
0x7613867D...29a05BE81
0 ETH0.000438169.28680233
Approve208904682024-10-04 6:49:1172 days ago1728024551IN
0x7613867D...29a05BE81
0 ETH0.000252755.38587664
Approve203267362024-07-17 14:06:11150 days ago1721225171IN
0x7613867D...29a05BE81
0 ETH0.0007695716.29015624
Approve202460892024-07-06 7:50:35162 days ago1720252235IN
0x7613867D...29a05BE81
0 ETH0.000142113.00814298
Approve201706622024-06-25 19:03:23172 days ago1719342203IN
0x7613867D...29a05BE81
0 ETH0.00040338.54790981
Approve201613242024-06-24 11:44:47173 days ago1719229487IN
0x7613867D...29a05BE81
0 ETH0.000239375.07337355
Approve201604942024-06-24 8:57:23173 days ago1719219443IN
0x7613867D...29a05BE81
0 ETH0.000313016.62583915
Approve201554342024-06-23 15:58:23174 days ago1719158303IN
0x7613867D...29a05BE81
0 ETH0.000197854.18801564
Approve201549482024-06-23 14:20:47174 days ago1719152447IN
0x7613867D...29a05BE81
0 ETH0.000222014.69948595
Approve201494882024-06-22 20:00:35175 days ago1719086435IN
0x7613867D...29a05BE81
0 ETH0.000188734.00007522
Approve201486782024-06-22 17:17:11175 days ago1719076631IN
0x7613867D...29a05BE81
0 ETH0.000115792.45414361
Approve201453492024-06-22 6:06:47176 days ago1719036407IN
0x7613867D...29a05BE81
0 ETH0.000101592.15332981
Approve201442722024-06-22 2:29:23176 days ago1719023363IN
0x7613867D...29a05BE81
0 ETH0.00014553.08391705
Approve201390772024-06-21 9:03:59176 days ago1718960639IN
0x7613867D...29a05BE81
0 ETH0.0007421815.71029456
Approve201379862024-06-21 5:24:35177 days ago1718947475IN
0x7613867D...29a05BE81
0 ETH0.000120052.55808291
Approve201356192024-06-20 21:28:35177 days ago1718918915IN
0x7613867D...29a05BE81
0 ETH0.000457139.67648976
Approve201356102024-06-20 21:26:47177 days ago1718918807IN
0x7613867D...29a05BE81
0 ETH0.000333357.06539935
Approve201355872024-06-20 21:22:11177 days ago1718918531IN
0x7613867D...29a05BE81
0 ETH0.000335897.11911727
Approve201354662024-06-20 20:57:59177 days ago1718917079IN
0x7613867D...29a05BE81
0 ETH0.0002695.69417549
Approve201352662024-06-20 20:17:23177 days ago1718914643IN
0x7613867D...29a05BE81
0 ETH0.00030596.48358842
Approve201351192024-06-20 19:47:47177 days ago1718912867IN
0x7613867D...29a05BE81
0 ETH0.000148985.46089027
Approve201351162024-06-20 19:47:11177 days ago1718912831IN
0x7613867D...29a05BE81
0 ETH0.000238515.05510654
Approve201350532024-06-20 19:34:35177 days ago1718912075IN
0x7613867D...29a05BE81
0 ETH0.000359697.62349913
Approve201346582024-06-20 18:14:35177 days ago1718907275IN
0x7613867D...29a05BE81
0 ETH0.000450639.55093195
Approve201346362024-06-20 18:10:11177 days ago1718907011IN
0x7613867D...29a05BE81
0 ETH0.000410018.69005058
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:
Shrek

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-06-19
*/

// SPDX-License-Identifier: MIT

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/utils/Context.sol


// 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/Ownable.sol


// 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/token/ERC20/IERC20.sol


// 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/IERC20Metadata.sol


// 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/ERC20.sol


// 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: shrek.sol


pragma solidity ^0.8.0;

contract Shrek is ERC20, Ownable {
    constructor() ERC20("Shrek", "SHREK") Ownable(msg.sender) {
        uint256 totalSupply = 999999999 * 10**decimals();
        _mint(msg.sender, totalSupply);
    }
}

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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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"}]

608060405234801562000010575f80fd5b50336040518060400160405280600581526020017f536872656b0000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f534852454b00000000000000000000000000000000000000000000000000000081525081600390816200008f919062000751565b508060049081620000a1919062000751565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000117575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200010e919062000878565b60405180910390fd5b62000128816200017460201b60201c565b505f6200013a6200023760201b60201c565b600a62000148919062000a1c565b633b9ac9ff62000159919062000a6c565b90506200016d33826200023f60201b60201c565b5062000b57565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6012905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620002b2575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620002a9919062000878565b60405180910390fd5b620002c55f8383620002c960201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200031d578060025f82825462000310919062000ab6565b92505081905550620003ee565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015620003a9578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620003a09392919062000b01565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000437578060025f828254039250508190555062000481565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620004e0919062000b3c565b60405180910390a3505050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200056957607f821691505b6020821081036200057f576200057e62000524565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620005e37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620005a6565b620005ef8683620005a6565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f62000639620006336200062d8462000607565b62000610565b62000607565b9050919050565b5f819050919050565b620006548362000619565b6200066c620006638262000640565b848454620005b2565b825550505050565b5f90565b6200068262000674565b6200068f81848462000649565b505050565b5b81811015620006b657620006aa5f8262000678565b60018101905062000695565b5050565b601f8211156200070557620006cf8162000585565b620006da8462000597565b81016020851015620006ea578190505b62000702620006f98562000597565b83018262000694565b50505b505050565b5f82821c905092915050565b5f620007275f19846008026200070a565b1980831691505092915050565b5f62000741838362000716565b9150826002028217905092915050565b6200075c82620004ed565b67ffffffffffffffff811115620007785762000777620004f7565b5b62000784825462000551565b62000791828285620006ba565b5f60209050601f831160018114620007c7575f8415620007b2578287015190505b620007be858262000734565b8655506200082d565b601f198416620007d78662000585565b5f5b828110156200080057848901518255600182019150602085019450602081019050620007d9565b868310156200082057848901516200081c601f89168262000716565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620008608262000835565b9050919050565b620008728162000854565b82525050565b5f6020820190506200088d5f83018462000867565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b60018511156200091d57808604811115620008f557620008f462000893565b5b6001851615620009055780820291505b80810290506200091585620008c0565b9450620008d5565b94509492505050565b5f8262000937576001905062000a09565b8162000946575f905062000a09565b81600181146200095f57600281146200096a57620009a0565b600191505062000a09565b60ff8411156200097f576200097e62000893565b5b8360020a91508482111562000999576200099862000893565b5b5062000a09565b5060208310610133831016604e8410600b8410161715620009da5782820a905083811115620009d457620009d362000893565b5b62000a09565b620009e98484846001620008cc565b9250905081840481111562000a035762000a0262000893565b5b81810290505b9392505050565b5f60ff82169050919050565b5f62000a288262000607565b915062000a358362000a10565b925062000a647fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000926565b905092915050565b5f62000a788262000607565b915062000a858362000607565b925082820262000a958162000607565b9150828204841483151762000aaf5762000aae62000893565b5b5092915050565b5f62000ac28262000607565b915062000acf8362000607565b925082820190508082111562000aea5762000ae962000893565b5b92915050565b62000afb8162000607565b82525050565b5f60608201905062000b165f83018662000867565b62000b25602083018562000af0565b62000b34604083018462000af0565b949350505050565b5f60208201905062000b515f83018462000af0565b92915050565b6110698062000b655f395ff3fe608060405234801561000f575f80fd5b50600436106100b2575f3560e01c8063715018a61161006f578063715018a6146101a05780638da5cb5b146101aa57806395d89b41146101c8578063a9059cbb146101e6578063dd62ed3e14610216578063f2fde38b14610246576100b2565b806306fdde03146100b6578063095ea7b3146100d457806318160ddd1461010457806323b872dd14610122578063313ce5671461015257806370a0823114610170575b5f80fd5b6100be610262565b6040516100cb9190610ce2565b60405180910390f35b6100ee60048036038101906100e99190610d93565b6102f2565b6040516100fb9190610deb565b60405180910390f35b61010c610314565b6040516101199190610e13565b60405180910390f35b61013c60048036038101906101379190610e2c565b61031d565b6040516101499190610deb565b60405180910390f35b61015a61034b565b6040516101679190610e97565b60405180910390f35b61018a60048036038101906101859190610eb0565b610353565b6040516101979190610e13565b60405180910390f35b6101a8610398565b005b6101b26103ab565b6040516101bf9190610eea565b60405180910390f35b6101d06103d3565b6040516101dd9190610ce2565b60405180910390f35b61020060048036038101906101fb9190610d93565b610463565b60405161020d9190610deb565b60405180910390f35b610230600480360381019061022b9190610f03565b610485565b60405161023d9190610e13565b60405180910390f35b610260600480360381019061025b9190610eb0565b610507565b005b60606003805461027190610f6e565b80601f016020809104026020016040519081016040528092919081815260200182805461029d90610f6e565b80156102e85780601f106102bf576101008083540402835291602001916102e8565b820191905f5260205f20905b8154815290600101906020018083116102cb57829003601f168201915b5050505050905090565b5f806102fc61058b565b9050610309818585610592565b600191505092915050565b5f600254905090565b5f8061032761058b565b90506103348582856105a4565b61033f858585610636565b60019150509392505050565b5f6012905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6103a0610726565b6103a95f6107ad565b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546103e290610f6e565b80601f016020809104026020016040519081016040528092919081815260200182805461040e90610f6e565b80156104595780601f1061043057610100808354040283529160200191610459565b820191905f5260205f20905b81548152906001019060200180831161043c57829003601f168201915b5050505050905090565b5f8061046d61058b565b905061047a818585610636565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b61050f610726565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361057f575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016105769190610eea565b60405180910390fd5b610588816107ad565b50565b5f33905090565b61059f8383836001610870565b505050565b5f6105af8484610485565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106305781811015610621578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161061893929190610f9e565b60405180910390fd5b61062f84848484035f610870565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036106a6575f6040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161069d9190610eea565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610716575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161070d9190610eea565b60405180910390fd5b610721838383610a3f565b505050565b61072e61058b565b73ffffffffffffffffffffffffffffffffffffffff1661074c6103ab565b73ffffffffffffffffffffffffffffffffffffffff16146107ab5761076f61058b565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016107a29190610eea565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036108e0575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016108d79190610eea565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610950575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016109479190610eea565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610a39578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a309190610e13565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a8f578060025f828254610a839190611000565b92505081905550610b5d565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610b18578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610b0f93929190610f9e565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ba4578060025f8282540392505081905550610bee565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c4b9190610e13565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610c8f578082015181840152602081019050610c74565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610cb482610c58565b610cbe8185610c62565b9350610cce818560208601610c72565b610cd781610c9a565b840191505092915050565b5f6020820190508181035f830152610cfa8184610caa565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610d2f82610d06565b9050919050565b610d3f81610d25565b8114610d49575f80fd5b50565b5f81359050610d5a81610d36565b92915050565b5f819050919050565b610d7281610d60565b8114610d7c575f80fd5b50565b5f81359050610d8d81610d69565b92915050565b5f8060408385031215610da957610da8610d02565b5b5f610db685828601610d4c565b9250506020610dc785828601610d7f565b9150509250929050565b5f8115159050919050565b610de581610dd1565b82525050565b5f602082019050610dfe5f830184610ddc565b92915050565b610e0d81610d60565b82525050565b5f602082019050610e265f830184610e04565b92915050565b5f805f60608486031215610e4357610e42610d02565b5b5f610e5086828701610d4c565b9350506020610e6186828701610d4c565b9250506040610e7286828701610d7f565b9150509250925092565b5f60ff82169050919050565b610e9181610e7c565b82525050565b5f602082019050610eaa5f830184610e88565b92915050565b5f60208284031215610ec557610ec4610d02565b5b5f610ed284828501610d4c565b91505092915050565b610ee481610d25565b82525050565b5f602082019050610efd5f830184610edb565b92915050565b5f8060408385031215610f1957610f18610d02565b5b5f610f2685828601610d4c565b9250506020610f3785828601610d4c565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610f8557607f821691505b602082108103610f9857610f97610f41565b5b50919050565b5f606082019050610fb15f830186610edb565b610fbe6020830185610e04565b610fcb6040830184610e04565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61100a82610d60565b915061101583610d60565b925082820190508082111561102d5761102c610fd3565b5b9291505056fea2646970667358221220ab622d1e89734677843eb4e342fe4d1da8165ea787a989fa04f5750acf95cbf464736f6c63430008140033

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106100b2575f3560e01c8063715018a61161006f578063715018a6146101a05780638da5cb5b146101aa57806395d89b41146101c8578063a9059cbb146101e6578063dd62ed3e14610216578063f2fde38b14610246576100b2565b806306fdde03146100b6578063095ea7b3146100d457806318160ddd1461010457806323b872dd14610122578063313ce5671461015257806370a0823114610170575b5f80fd5b6100be610262565b6040516100cb9190610ce2565b60405180910390f35b6100ee60048036038101906100e99190610d93565b6102f2565b6040516100fb9190610deb565b60405180910390f35b61010c610314565b6040516101199190610e13565b60405180910390f35b61013c60048036038101906101379190610e2c565b61031d565b6040516101499190610deb565b60405180910390f35b61015a61034b565b6040516101679190610e97565b60405180910390f35b61018a60048036038101906101859190610eb0565b610353565b6040516101979190610e13565b60405180910390f35b6101a8610398565b005b6101b26103ab565b6040516101bf9190610eea565b60405180910390f35b6101d06103d3565b6040516101dd9190610ce2565b60405180910390f35b61020060048036038101906101fb9190610d93565b610463565b60405161020d9190610deb565b60405180910390f35b610230600480360381019061022b9190610f03565b610485565b60405161023d9190610e13565b60405180910390f35b610260600480360381019061025b9190610eb0565b610507565b005b60606003805461027190610f6e565b80601f016020809104026020016040519081016040528092919081815260200182805461029d90610f6e565b80156102e85780601f106102bf576101008083540402835291602001916102e8565b820191905f5260205f20905b8154815290600101906020018083116102cb57829003601f168201915b5050505050905090565b5f806102fc61058b565b9050610309818585610592565b600191505092915050565b5f600254905090565b5f8061032761058b565b90506103348582856105a4565b61033f858585610636565b60019150509392505050565b5f6012905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6103a0610726565b6103a95f6107ad565b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546103e290610f6e565b80601f016020809104026020016040519081016040528092919081815260200182805461040e90610f6e565b80156104595780601f1061043057610100808354040283529160200191610459565b820191905f5260205f20905b81548152906001019060200180831161043c57829003601f168201915b5050505050905090565b5f8061046d61058b565b905061047a818585610636565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b61050f610726565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361057f575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016105769190610eea565b60405180910390fd5b610588816107ad565b50565b5f33905090565b61059f8383836001610870565b505050565b5f6105af8484610485565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106305781811015610621578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161061893929190610f9e565b60405180910390fd5b61062f84848484035f610870565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036106a6575f6040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161069d9190610eea565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610716575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161070d9190610eea565b60405180910390fd5b610721838383610a3f565b505050565b61072e61058b565b73ffffffffffffffffffffffffffffffffffffffff1661074c6103ab565b73ffffffffffffffffffffffffffffffffffffffff16146107ab5761076f61058b565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016107a29190610eea565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036108e0575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016108d79190610eea565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610950575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016109479190610eea565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610a39578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a309190610e13565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a8f578060025f828254610a839190611000565b92505081905550610b5d565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610b18578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610b0f93929190610f9e565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ba4578060025f8282540392505081905550610bee565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c4b9190610e13565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610c8f578082015181840152602081019050610c74565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610cb482610c58565b610cbe8185610c62565b9350610cce818560208601610c72565b610cd781610c9a565b840191505092915050565b5f6020820190508181035f830152610cfa8184610caa565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610d2f82610d06565b9050919050565b610d3f81610d25565b8114610d49575f80fd5b50565b5f81359050610d5a81610d36565b92915050565b5f819050919050565b610d7281610d60565b8114610d7c575f80fd5b50565b5f81359050610d8d81610d69565b92915050565b5f8060408385031215610da957610da8610d02565b5b5f610db685828601610d4c565b9250506020610dc785828601610d7f565b9150509250929050565b5f8115159050919050565b610de581610dd1565b82525050565b5f602082019050610dfe5f830184610ddc565b92915050565b610e0d81610d60565b82525050565b5f602082019050610e265f830184610e04565b92915050565b5f805f60608486031215610e4357610e42610d02565b5b5f610e5086828701610d4c565b9350506020610e6186828701610d4c565b9250506040610e7286828701610d7f565b9150509250925092565b5f60ff82169050919050565b610e9181610e7c565b82525050565b5f602082019050610eaa5f830184610e88565b92915050565b5f60208284031215610ec557610ec4610d02565b5b5f610ed284828501610d4c565b91505092915050565b610ee481610d25565b82525050565b5f602082019050610efd5f830184610edb565b92915050565b5f8060408385031215610f1957610f18610d02565b5b5f610f2685828601610d4c565b9250506020610f3785828601610d4c565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610f8557607f821691505b602082108103610f9857610f97610f41565b5b50919050565b5f606082019050610fb15f830186610edb565b610fbe6020830185610e04565b610fcb6040830184610e04565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61100a82610d60565b915061101583610d60565b925082820190508082111561102d5761102c610fd3565b5b9291505056fea2646970667358221220ab622d1e89734677843eb4e342fe4d1da8165ea787a989fa04f5750acf95cbf464736f6c63430008140033

Deployed Bytecode Sourcemap

25745:209:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16364:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18657:190;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17466:99;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19425:249;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17317:84;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17628:118;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9977:103;;;:::i;:::-;;9302:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16574:95;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17951:182;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18196:142;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10235:220;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;16364:91;16409:13;16442:5;16435:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16364:91;:::o;18657:190::-;18730:4;18747:13;18763:12;:10;:12::i;:::-;18747:28;;18786:31;18795:5;18802:7;18811:5;18786:8;:31::i;:::-;18835:4;18828:11;;;18657:190;;;;:::o;17466:99::-;17518:7;17545:12;;17538:19;;17466:99;:::o;19425:249::-;19512:4;19529:15;19547:12;:10;:12::i;:::-;19529:30;;19570:37;19586:4;19592:7;19601:5;19570:15;:37::i;:::-;19618:26;19628:4;19634:2;19638:5;19618:9;:26::i;:::-;19662:4;19655:11;;;19425:249;;;;;:::o;17317:84::-;17366:5;17391:2;17384:9;;17317:84;:::o;17628:118::-;17693:7;17720:9;:18;17730:7;17720:18;;;;;;;;;;;;;;;;17713:25;;17628:118;;;:::o;9977:103::-;9188:13;:11;:13::i;:::-;10042:30:::1;10069:1;10042:18;:30::i;:::-;9977:103::o:0;9302:87::-;9348:7;9375:6;;;;;;;;;;;9368:13;;9302:87;:::o;16574:95::-;16621:13;16654:7;16647:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16574:95;:::o;17951:182::-;18020:4;18037:13;18053:12;:10;:12::i;:::-;18037:28;;18076:27;18086:5;18093:2;18097:5;18076:9;:27::i;:::-;18121:4;18114:11;;;17951:182;;;;:::o;18196:142::-;18276:7;18303:11;:18;18315:5;18303:18;;;;;;;;;;;;;;;:27;18322:7;18303:27;;;;;;;;;;;;;;;;18296:34;;18196:142;;;;:::o;10235:220::-;9188:13;:11;:13::i;:::-;10340:1:::1;10320:22;;:8;:22;;::::0;10316:93:::1;;10394:1;10366:31;;;;;;;;;;;:::i;:::-;;;;;;;;10316:93;10419:28;10438:8;10419:18;:28::i;:::-;10235:220:::0;:::o;7311:98::-;7364:7;7391:10;7384:17;;7311:98;:::o;23484:130::-;23569:37;23578:5;23585:7;23594:5;23601:4;23569:8;:37::i;:::-;23484:130;;;:::o;25200:487::-;25300:24;25327:25;25337:5;25344:7;25327:9;:25::i;:::-;25300:52;;25387:17;25367:16;:37;25363:317;;25444:5;25425:16;:24;25421:132;;;25504:7;25513:16;25531:5;25477:60;;;;;;;;;;;;;:::i;:::-;;;;;;;;25421:132;25596:57;25605:5;25612:7;25640:5;25621:16;:24;25647:5;25596:8;:57::i;:::-;25363:317;25289:398;25200:487;;;:::o;20059:308::-;20159:1;20143:18;;:4;:18;;;20139:88;;20212:1;20185:30;;;;;;;;;;;:::i;:::-;;;;;;;;20139:88;20255:1;20241:16;;:2;:16;;;20237:88;;20310:1;20281:32;;;;;;;;;;;:::i;:::-;;;;;;;;20237:88;20335:24;20343:4;20349:2;20353:5;20335:7;:24::i;:::-;20059:308;;;:::o;9467:166::-;9538:12;:10;:12::i;:::-;9527:23;;:7;:5;:7::i;:::-;:23;;;9523:103;;9601:12;:10;:12::i;:::-;9574:40;;;;;;;;;;;:::i;:::-;;;;;;;;9523:103;9467:166::o;10615:191::-;10689:16;10708:6;;;;;;;;;;;10689:25;;10734:8;10725:6;;:17;;;;;;;;;;;;;;;;;;10789:8;10758:40;;10779:8;10758:40;;;;;;;;;;;;10678:128;10615:191;:::o;24465:443::-;24595:1;24578:19;;:5;:19;;;24574:91;;24650:1;24621:32;;;;;;;;;;;:::i;:::-;;;;;;;;24574:91;24698:1;24679:21;;:7;:21;;;24675:92;;24752:1;24724:31;;;;;;;;;;;:::i;:::-;;;;;;;;24675:92;24807:5;24777:11;:18;24789:5;24777:18;;;;;;;;;;;;;;;:27;24796:7;24777:27;;;;;;;;;;;;;;;:35;;;;24827:9;24823:78;;;24874:7;24858:31;;24867:5;24858:31;;;24883:5;24858:31;;;;;;:::i;:::-;;;;;;;;24823:78;24465:443;;;;:::o;20691:1135::-;20797:1;20781:18;;:4;:18;;;20777:552;;20935:5;20919:12;;:21;;;;;;;:::i;:::-;;;;;;;;20777:552;;;20973:19;20995:9;:15;21005:4;20995:15;;;;;;;;;;;;;;;;20973:37;;21043:5;21029:11;:19;21025:117;;;21101:4;21107:11;21120:5;21076:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;21025:117;21297:5;21283:11;:19;21265:9;:15;21275:4;21265:15;;;;;;;;;;;;;;;:37;;;;20958:371;20777:552;21359:1;21345:16;;:2;:16;;;21341:435;;21527:5;21511:12;;:21;;;;;;;;;;;21341:435;;;21744:5;21727:9;:13;21737:2;21727:13;;;;;;;;;;;;;;;;:22;;;;;;;;;;;21341:435;21808:2;21793:25;;21802:4;21793:25;;;21812:5;21793:25;;;;;;:::i;:::-;;;;;;;;20691:1135;;;:::o;7:99:1:-;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:169::-;196:11;230:6;225:3;218:19;270:4;265:3;261:14;246:29;;112:169;;;;:::o;287:246::-;368:1;378:113;392:6;389:1;386:13;378:113;;;477:1;472:3;468:11;462:18;458:1;453:3;449:11;442:39;414:2;411:1;407:10;402:15;;378:113;;;525:1;516:6;511:3;507:16;500:27;349:184;287:246;;;:::o;539:102::-;580:6;631:2;627:7;622:2;615:5;611:14;607:28;597:38;;539:102;;;:::o;647:377::-;735:3;763:39;796:5;763:39;:::i;:::-;818:71;882:6;877:3;818:71;:::i;:::-;811:78;;898:65;956:6;951:3;944:4;937:5;933:16;898:65;:::i;:::-;988:29;1010:6;988:29;:::i;:::-;983:3;979:39;972:46;;739:285;647:377;;;;:::o;1030:313::-;1143:4;1181:2;1170:9;1166:18;1158:26;;1230:9;1224:4;1220:20;1216:1;1205:9;1201:17;1194:47;1258:78;1331:4;1322:6;1258:78;:::i;:::-;1250:86;;1030:313;;;;:::o;1430:117::-;1539:1;1536;1529:12;1676:126;1713:7;1753:42;1746:5;1742:54;1731:65;;1676:126;;;:::o;1808:96::-;1845:7;1874:24;1892:5;1874:24;:::i;:::-;1863:35;;1808:96;;;:::o;1910:122::-;1983:24;2001:5;1983:24;:::i;:::-;1976:5;1973:35;1963:63;;2022:1;2019;2012:12;1963:63;1910:122;:::o;2038:139::-;2084:5;2122:6;2109:20;2100:29;;2138:33;2165:5;2138:33;:::i;:::-;2038:139;;;;:::o;2183:77::-;2220:7;2249:5;2238:16;;2183:77;;;:::o;2266:122::-;2339:24;2357:5;2339:24;:::i;:::-;2332:5;2329:35;2319:63;;2378:1;2375;2368:12;2319:63;2266:122;:::o;2394:139::-;2440:5;2478:6;2465:20;2456:29;;2494:33;2521:5;2494:33;:::i;:::-;2394:139;;;;:::o;2539:474::-;2607:6;2615;2664:2;2652:9;2643:7;2639:23;2635:32;2632:119;;;2670:79;;:::i;:::-;2632:119;2790:1;2815:53;2860:7;2851:6;2840:9;2836:22;2815:53;:::i;:::-;2805:63;;2761:117;2917:2;2943:53;2988:7;2979:6;2968:9;2964:22;2943:53;:::i;:::-;2933:63;;2888:118;2539:474;;;;;:::o;3019:90::-;3053:7;3096:5;3089:13;3082:21;3071:32;;3019:90;;;:::o;3115:109::-;3196:21;3211:5;3196:21;:::i;:::-;3191:3;3184:34;3115:109;;:::o;3230:210::-;3317:4;3355:2;3344:9;3340:18;3332:26;;3368:65;3430:1;3419:9;3415:17;3406:6;3368:65;:::i;:::-;3230:210;;;;:::o;3446:118::-;3533:24;3551:5;3533:24;:::i;:::-;3528:3;3521:37;3446:118;;:::o;3570:222::-;3663:4;3701:2;3690:9;3686:18;3678:26;;3714:71;3782:1;3771:9;3767:17;3758:6;3714:71;:::i;:::-;3570:222;;;;:::o;3798:619::-;3875:6;3883;3891;3940:2;3928:9;3919:7;3915:23;3911:32;3908:119;;;3946:79;;:::i;:::-;3908:119;4066:1;4091:53;4136:7;4127:6;4116:9;4112:22;4091:53;:::i;:::-;4081:63;;4037:117;4193:2;4219:53;4264:7;4255:6;4244:9;4240:22;4219:53;:::i;:::-;4209:63;;4164:118;4321:2;4347:53;4392:7;4383:6;4372:9;4368:22;4347:53;:::i;:::-;4337:63;;4292:118;3798:619;;;;;:::o;4423:86::-;4458:7;4498:4;4491:5;4487:16;4476:27;;4423:86;;;:::o;4515:112::-;4598:22;4614:5;4598:22;:::i;:::-;4593:3;4586:35;4515:112;;:::o;4633:214::-;4722:4;4760:2;4749:9;4745:18;4737:26;;4773:67;4837:1;4826:9;4822:17;4813:6;4773:67;:::i;:::-;4633:214;;;;:::o;4853:329::-;4912:6;4961:2;4949:9;4940:7;4936:23;4932:32;4929:119;;;4967:79;;:::i;:::-;4929:119;5087:1;5112:53;5157:7;5148:6;5137:9;5133:22;5112:53;:::i;:::-;5102:63;;5058:117;4853:329;;;;:::o;5188:118::-;5275:24;5293:5;5275:24;:::i;:::-;5270:3;5263:37;5188:118;;:::o;5312:222::-;5405:4;5443:2;5432:9;5428:18;5420:26;;5456:71;5524:1;5513:9;5509:17;5500:6;5456:71;:::i;:::-;5312:222;;;;:::o;5540:474::-;5608:6;5616;5665:2;5653:9;5644:7;5640:23;5636:32;5633:119;;;5671:79;;:::i;:::-;5633:119;5791:1;5816:53;5861:7;5852:6;5841:9;5837:22;5816:53;:::i;:::-;5806:63;;5762:117;5918:2;5944:53;5989:7;5980:6;5969:9;5965:22;5944:53;:::i;:::-;5934:63;;5889:118;5540:474;;;;;:::o;6020:180::-;6068:77;6065:1;6058:88;6165:4;6162:1;6155:15;6189:4;6186:1;6179:15;6206:320;6250:6;6287:1;6281:4;6277:12;6267:22;;6334:1;6328:4;6324:12;6355:18;6345:81;;6411:4;6403:6;6399:17;6389:27;;6345:81;6473:2;6465:6;6462:14;6442:18;6439:38;6436:84;;6492:18;;:::i;:::-;6436:84;6257:269;6206:320;;;:::o;6532:442::-;6681:4;6719:2;6708:9;6704:18;6696:26;;6732:71;6800:1;6789:9;6785:17;6776:6;6732:71;:::i;:::-;6813:72;6881:2;6870:9;6866:18;6857:6;6813:72;:::i;:::-;6895;6963:2;6952:9;6948:18;6939:6;6895:72;:::i;:::-;6532:442;;;;;;:::o;6980:180::-;7028:77;7025:1;7018:88;7125:4;7122:1;7115:15;7149:4;7146:1;7139:15;7166:191;7206:3;7225:20;7243:1;7225:20;:::i;:::-;7220:25;;7259:20;7277:1;7259:20;:::i;:::-;7254:25;;7302:1;7299;7295:9;7288:16;;7323:3;7320:1;7317:10;7314:36;;;7330:18;;:::i;:::-;7314:36;7166:191;;;;:::o

Swarm Source

ipfs://ab622d1e89734677843eb4e342fe4d1da8165ea787a989fa04f5750acf95cbf4

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.