APE Price: $1.33 (-14.40%)

Contract

0x7A4c4043BDeB0785755F5AfA962b403BCb307352

Overview

APE Balance

Apechain LogoApechain LogoApechain Logo0 APE

APE Value

$0.00

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Transfer4345902024-10-21 2:35:4639 hrs ago1729478146IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4345652024-10-21 2:35:3539 hrs ago1729478135IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4345132024-10-21 2:35:1539 hrs ago1729478115IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4344632024-10-21 2:34:5539 hrs ago1729478095IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4256852024-10-21 1:30:2340 hrs ago1729474223IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4256102024-10-21 1:29:5540 hrs ago1729474195IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4255742024-10-21 1:29:3940 hrs ago1729474179IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4255242024-10-21 1:29:1940 hrs ago1729474159IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4254772024-10-21 1:29:0340 hrs ago1729474143IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4254152024-10-21 1:28:3640 hrs ago1729474116IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4253622024-10-21 1:28:1840 hrs ago1729474098IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4252912024-10-21 1:27:4940 hrs ago1729474069IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4252182024-10-21 1:27:1340 hrs ago1729474033IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4244992024-10-21 1:22:3240 hrs ago1729473752IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4179982024-10-21 0:48:5741 hrs ago1729471737IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4179672024-10-21 0:48:4441 hrs ago1729471724IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4179362024-10-21 0:48:3341 hrs ago1729471713IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4179002024-10-21 0:48:2241 hrs ago1729471702IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4178682024-10-21 0:48:0941 hrs ago1729471689IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4178382024-10-21 0:47:5641 hrs ago1729471676IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4178102024-10-21 0:47:4441 hrs ago1729471664IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4177712024-10-21 0:47:2841 hrs ago1729471648IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4177272024-10-21 0:47:1541 hrs ago1729471635IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4176962024-10-21 0:47:0141 hrs ago1729471621IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
Transfer4175782024-10-21 0:46:1441 hrs ago1729471574IN
0x7A4c4043...BCb307352
0.5 APE0.0025068325.42069
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
4345902024-10-21 2:35:4639 hrs ago1729478146
0x7A4c4043...BCb307352
0.5 APE
4345652024-10-21 2:35:3539 hrs ago1729478135
0x7A4c4043...BCb307352
0.5 APE
4345132024-10-21 2:35:1539 hrs ago1729478115
0x7A4c4043...BCb307352
0.5 APE
4344632024-10-21 2:34:5539 hrs ago1729478095
0x7A4c4043...BCb307352
0.5 APE
4256852024-10-21 1:30:2340 hrs ago1729474223
0x7A4c4043...BCb307352
0.5 APE
4256102024-10-21 1:29:5540 hrs ago1729474195
0x7A4c4043...BCb307352
0.5 APE
4255742024-10-21 1:29:3940 hrs ago1729474179
0x7A4c4043...BCb307352
0.5 APE
4255242024-10-21 1:29:1940 hrs ago1729474159
0x7A4c4043...BCb307352
0.5 APE
4254772024-10-21 1:29:0340 hrs ago1729474143
0x7A4c4043...BCb307352
0.5 APE
4254152024-10-21 1:28:3640 hrs ago1729474116
0x7A4c4043...BCb307352
0.5 APE
4253622024-10-21 1:28:1840 hrs ago1729474098
0x7A4c4043...BCb307352
0.5 APE
4252912024-10-21 1:27:4940 hrs ago1729474069
0x7A4c4043...BCb307352
0.5 APE
4252182024-10-21 1:27:1340 hrs ago1729474033
0x7A4c4043...BCb307352
0.5 APE
4244992024-10-21 1:22:3240 hrs ago1729473752
0x7A4c4043...BCb307352
0.5 APE
4179982024-10-21 0:48:5741 hrs ago1729471737
0x7A4c4043...BCb307352
0.5 APE
4179672024-10-21 0:48:4441 hrs ago1729471724
0x7A4c4043...BCb307352
0.5 APE
4179362024-10-21 0:48:3341 hrs ago1729471713
0x7A4c4043...BCb307352
0.5 APE
4179002024-10-21 0:48:2241 hrs ago1729471702
0x7A4c4043...BCb307352
0.5 APE
4178682024-10-21 0:48:0941 hrs ago1729471689
0x7A4c4043...BCb307352
0.5 APE
4178382024-10-21 0:47:5641 hrs ago1729471676
0x7A4c4043...BCb307352
0.5 APE
4178102024-10-21 0:47:4441 hrs ago1729471664
0x7A4c4043...BCb307352
0.5 APE
4177712024-10-21 0:47:2841 hrs ago1729471648
0x7A4c4043...BCb307352
0.5 APE
4177272024-10-21 0:47:1541 hrs ago1729471635
0x7A4c4043...BCb307352
0.5 APE
4176962024-10-21 0:47:0141 hrs ago1729471621
0x7A4c4043...BCb307352
0.5 APE
4175782024-10-21 0:46:1441 hrs ago1729471574
0x7A4c4043...BCb307352
0.5 APE
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MBB

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at apescan.io on 2024-10-20
*/

/*
Machi gets 5% of the total supply, and all apes are donated directly to his address (0x020ca66c30bec2c4fe3861a94e4db4a498a35872)



//////////Token Details://////////

Name: MBB
Total Supply: 10,000,000,000 tokens
Mint Price: 0.5 APE
Mint quantity: 0.001% of the total amount each time
How to mint: Transfer 0.5 ape to this contract

Note:
Each address can only be minted once.
Transfers can only be made after all the minting is completed.



// 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/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/interfaces/draft-IERC6093.sol


// 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/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: @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: contracts/1_Storage.sol





pragma solidity ^0.8.0;



contract MBB is ERC20, Ownable {
    uint256 public mintPrice = 0.5 ether;
    uint256 public totalMinted;
    uint256 public Supply = 1000000000000000000000000000;
    address payable public feeReceiver;
    uint256 public MAX_MINT_PER_ADDRESS = 1;

    mapping(address => uint256) public mintedCount;
    bool public mintingComplete = false;

    constructor(address payable _feeReceiver) ERC20("Machi Big Brother", "MBB") Ownable(msg.sender) {
    feeReceiver = _feeReceiver; 
        
        uint256 feeAmount = (Supply * 5) / 100;
        _mint(feeReceiver, feeAmount);
        
        totalMinted += feeAmount;
    }

    receive() external payable {
        
        Contribute();
    }

    function Contribute() internal {
        require(!mintingComplete, "Minting is complete");
        require(totalMinted < Supply, "Total supply limit reached");
        require(msg.sender == tx.origin, "Contracts are not allowed to call this function");
        
        uint256 amount = (Supply * 10) / 1000000; 
        require(mintedCount[msg.sender] < MAX_MINT_PER_ADDRESS, "Mint limit exceeded");
        require(msg.value == mintPrice, "Incorrect Ether value");

        mintedCount[msg.sender] += amount;
        totalMinted += amount;
        _mint(msg.sender, amount);

        feeReceiver.transfer(msg.value);

        if (totalMinted >= Supply) {
            mintingComplete = true;
        }
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        require(mintingComplete, "Transfers are disabled until minting is complete");
        return super.transfer(recipient, amount);
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        require(mintingComplete, "Transfers are disabled until minting is complete");
        return super.transferFrom(sender, recipient, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"_feeReceiver","type":"address"}],"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_MINT_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeReceiver","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingComplete","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526706f05b59d3b200006006556b033b2e3c9fd0803ce80000006008556001600a55600c805460ff1916905534801561003a575f5ffd5b5060405161124c38038061124c83398101604081905261005991610315565b336040518060400160405280601181526020017026b0b1b434902134b390213937ba3432b960791b8152506040518060400160405280600381526020016226a12160e91b81525081600390816100af91906103da565b5060046100bc82826103da565b5050506001600160a01b0381166100ed57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100f681610166565b50600980546001600160a01b0319166001600160a01b0383161790556008545f906064906101259060056104a8565b61012f91906104c5565b600954909150610148906001600160a01b0316826101b7565b8060075f82825461015991906104e4565b909155506104f792505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166101e05760405163ec442f0560e01b81525f60048201526024016100e4565b6101eb5f83836101ef565b5050565b6001600160a01b038316610219578060025f82825461020e91906104e4565b909155506102899050565b6001600160a01b0383165f908152602081905260409020548181101561026b5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100e4565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166102a5576002805482900390556102c3565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161030891815260200190565b60405180910390a3505050565b5f60208284031215610325575f5ffd5b81516001600160a01b038116811461033b575f5ffd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061036a57607f821691505b60208210810361038857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156103d557805f5260205f20601f840160051c810160208510156103b35750805b601f840160051c820191505b818110156103d2575f81556001016103bf565b50505b505050565b81516001600160401b038111156103f3576103f3610342565b610407816104018454610356565b8461038e565b6020601f821160018114610439575f83156104225750848201515b5f19600385901b1c1916600184901b1784556103d2565b5f84815260208120601f198516915b828110156104685787850151825560209485019460019092019101610448565b508482101561048557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176104bf576104bf610494565b92915050565b5f826104df57634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156104bf576104bf610494565b610d48806105045f395ff3fe608060405260043610610113575f3560e01c806374689fdf1161009d578063b3f0067411610062578063b3f00674146102db578063dd62ed3e146102fa578063ee07bf221461033e578063f2fde38b14610353578063fddcb5ea14610372575f5ffd5b806374689fdf146102495780638da5cb5b1461026257806395d89b4114610293578063a2309ff8146102a7578063a9059cbb146102bc575f5ffd5b8063313ce567116100e3578063313ce567146101bc5780633acd6cb2146101d75780636817c76c146101ec57806370a0823114610201578063715018a614610235575f5ffd5b806306fdde0314610126578063095ea7b31461015057806318160ddd1461017f57806323b872dd1461019d575f5ffd5b366101225761012061039d565b005b5f5ffd5b348015610131575f5ffd5b5061013a6105fd565b6040516101479190610b31565b60405180910390f35b34801561015b575f5ffd5b5061016f61016a366004610b81565b61068d565b6040519015158152602001610147565b34801561018a575f5ffd5b506002545b604051908152602001610147565b3480156101a8575f5ffd5b5061016f6101b7366004610ba9565b6106a6565b3480156101c7575f5ffd5b5060405160128152602001610147565b3480156101e2575f5ffd5b5061018f600a5481565b3480156101f7575f5ffd5b5061018f60065481565b34801561020c575f5ffd5b5061018f61021b366004610be3565b6001600160a01b03165f9081526020819052604090205490565b348015610240575f5ffd5b506101206106dd565b348015610254575f5ffd5b50600c5461016f9060ff1681565b34801561026d575f5ffd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610147565b34801561029e575f5ffd5b5061013a6106f0565b3480156102b2575f5ffd5b5061018f60075481565b3480156102c7575f5ffd5b5061016f6102d6366004610b81565b6106ff565b3480156102e6575f5ffd5b5060095461027b906001600160a01b031681565b348015610305575f5ffd5b5061018f610314366004610bfc565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610349575f5ffd5b5061018f60085481565b34801561035e575f5ffd5b5061012061036d366004610be3565b610734565b34801561037d575f5ffd5b5061018f61038c366004610be3565b600b6020525f908152604090205481565b600c5460ff16156103eb5760405162461bcd60e51b81526020600482015260136024820152724d696e74696e6720697320636f6d706c65746560681b60448201526064015b60405180910390fd5b6008546007541061043e5760405162461bcd60e51b815260206004820152601a60248201527f546f74616c20737570706c79206c696d6974207265616368656400000000000060448201526064016103e2565b3332146104a55760405162461bcd60e51b815260206004820152602f60248201527f436f6e74726163747320617265206e6f7420616c6c6f77656420746f2063616c60448201526e36103a3434b990333ab731ba34b7b760891b60648201526084016103e2565b5f620f4240600854600a6104b99190610c41565b6104c39190610c58565b600a54335f908152600b60205260409020549192501161051b5760405162461bcd60e51b8152602060048201526013602482015272135a5b9d081b1a5b5a5d08195e18d959591959606a1b60448201526064016103e2565b60065434146105645760405162461bcd60e51b8152602060048201526015602482015274496e636f72726563742045746865722076616c756560581b60448201526064016103e2565b335f908152600b602052604081208054839290610582908490610c77565b925050819055508060075f82825461059a9190610c77565b909155506105aa9050338261076e565b6009546040516001600160a01b03909116903480156108fc02915f818181858888f193505050501580156105e0573d5f5f3e3d5ffd5b50600854600754106105fa57600c805460ff191660011790555b50565b60606003805461060c90610c8a565b80601f016020809104026020016040519081016040528092919081815260200182805461063890610c8a565b80156106835780601f1061065a57610100808354040283529160200191610683565b820191905f5260205f20905b81548152906001019060200180831161066657829003601f168201915b5050505050905090565b5f3361069a8185856107a6565b60019150505b92915050565b600c545f9060ff166106ca5760405162461bcd60e51b81526004016103e290610cc2565b6106d58484846107b8565b949350505050565b6106e56107db565b6106ee5f610808565b565b60606004805461060c90610c8a565b600c545f9060ff166107235760405162461bcd60e51b81526004016103e290610cc2565b61072d8383610859565b9392505050565b61073c6107db565b6001600160a01b03811661076557604051631e4fbdf760e01b81525f60048201526024016103e2565b6105fa81610808565b6001600160a01b0382166107975760405163ec442f0560e01b81525f60048201526024016103e2565b6107a25f8383610866565b5050565b6107b3838383600161098c565b505050565b5f336107c5858285610a5f565b6107d0858585610ad4565b506001949350505050565b6005546001600160a01b031633146106ee5760405163118cdaa760e01b81523360048201526024016103e2565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f3361069a818585610ad4565b6001600160a01b038316610890578060025f8282546108859190610c77565b909155506109009050565b6001600160a01b0383165f90815260208190526040902054818110156108e25760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103e2565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661091c5760028054829003905561093a565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161097f91815260200190565b60405180910390a3505050565b6001600160a01b0384166109b55760405163e602df0560e01b81525f60048201526024016103e2565b6001600160a01b0383166109de57604051634a1406b160e11b81525f60048201526024016103e2565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610a5957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a5091815260200190565b60405180910390a35b50505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610a595781811015610ac657604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103e2565b610a5984848484035f61098c565b6001600160a01b038316610afd57604051634b637e8f60e11b81525f60048201526024016103e2565b6001600160a01b038216610b265760405163ec442f0560e01b81525f60048201526024016103e2565b6107b3838383610866565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610b7c575f5ffd5b919050565b5f5f60408385031215610b92575f5ffd5b610b9b83610b66565b946020939093013593505050565b5f5f5f60608486031215610bbb575f5ffd5b610bc484610b66565b9250610bd260208501610b66565b929592945050506040919091013590565b5f60208284031215610bf3575f5ffd5b61072d82610b66565b5f5f60408385031215610c0d575f5ffd5b610c1683610b66565b9150610c2460208401610b66565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176106a0576106a0610c2d565b5f82610c7257634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156106a0576106a0610c2d565b600181811c90821680610c9e57607f821691505b602082108103610cbc57634e487b7160e01b5f52602260045260245ffd5b50919050565b60208082526030908201527f5472616e7366657273206172652064697361626c656420756e74696c206d696e60408201526f74696e6720697320636f6d706c65746560801b60608201526080019056fea2646970667358221220d3243da975e1d9f24969d4afbd49c981689f699c36404323fc217e561d7be23864736f6c634300081c0033000000000000000000000000020ca66c30bec2c4fe3861a94e4db4a498a35872

Deployed Bytecode

0x608060405260043610610113575f3560e01c806374689fdf1161009d578063b3f0067411610062578063b3f00674146102db578063dd62ed3e146102fa578063ee07bf221461033e578063f2fde38b14610353578063fddcb5ea14610372575f5ffd5b806374689fdf146102495780638da5cb5b1461026257806395d89b4114610293578063a2309ff8146102a7578063a9059cbb146102bc575f5ffd5b8063313ce567116100e3578063313ce567146101bc5780633acd6cb2146101d75780636817c76c146101ec57806370a0823114610201578063715018a614610235575f5ffd5b806306fdde0314610126578063095ea7b31461015057806318160ddd1461017f57806323b872dd1461019d575f5ffd5b366101225761012061039d565b005b5f5ffd5b348015610131575f5ffd5b5061013a6105fd565b6040516101479190610b31565b60405180910390f35b34801561015b575f5ffd5b5061016f61016a366004610b81565b61068d565b6040519015158152602001610147565b34801561018a575f5ffd5b506002545b604051908152602001610147565b3480156101a8575f5ffd5b5061016f6101b7366004610ba9565b6106a6565b3480156101c7575f5ffd5b5060405160128152602001610147565b3480156101e2575f5ffd5b5061018f600a5481565b3480156101f7575f5ffd5b5061018f60065481565b34801561020c575f5ffd5b5061018f61021b366004610be3565b6001600160a01b03165f9081526020819052604090205490565b348015610240575f5ffd5b506101206106dd565b348015610254575f5ffd5b50600c5461016f9060ff1681565b34801561026d575f5ffd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610147565b34801561029e575f5ffd5b5061013a6106f0565b3480156102b2575f5ffd5b5061018f60075481565b3480156102c7575f5ffd5b5061016f6102d6366004610b81565b6106ff565b3480156102e6575f5ffd5b5060095461027b906001600160a01b031681565b348015610305575f5ffd5b5061018f610314366004610bfc565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610349575f5ffd5b5061018f60085481565b34801561035e575f5ffd5b5061012061036d366004610be3565b610734565b34801561037d575f5ffd5b5061018f61038c366004610be3565b600b6020525f908152604090205481565b600c5460ff16156103eb5760405162461bcd60e51b81526020600482015260136024820152724d696e74696e6720697320636f6d706c65746560681b60448201526064015b60405180910390fd5b6008546007541061043e5760405162461bcd60e51b815260206004820152601a60248201527f546f74616c20737570706c79206c696d6974207265616368656400000000000060448201526064016103e2565b3332146104a55760405162461bcd60e51b815260206004820152602f60248201527f436f6e74726163747320617265206e6f7420616c6c6f77656420746f2063616c60448201526e36103a3434b990333ab731ba34b7b760891b60648201526084016103e2565b5f620f4240600854600a6104b99190610c41565b6104c39190610c58565b600a54335f908152600b60205260409020549192501161051b5760405162461bcd60e51b8152602060048201526013602482015272135a5b9d081b1a5b5a5d08195e18d959591959606a1b60448201526064016103e2565b60065434146105645760405162461bcd60e51b8152602060048201526015602482015274496e636f72726563742045746865722076616c756560581b60448201526064016103e2565b335f908152600b602052604081208054839290610582908490610c77565b925050819055508060075f82825461059a9190610c77565b909155506105aa9050338261076e565b6009546040516001600160a01b03909116903480156108fc02915f818181858888f193505050501580156105e0573d5f5f3e3d5ffd5b50600854600754106105fa57600c805460ff191660011790555b50565b60606003805461060c90610c8a565b80601f016020809104026020016040519081016040528092919081815260200182805461063890610c8a565b80156106835780601f1061065a57610100808354040283529160200191610683565b820191905f5260205f20905b81548152906001019060200180831161066657829003601f168201915b5050505050905090565b5f3361069a8185856107a6565b60019150505b92915050565b600c545f9060ff166106ca5760405162461bcd60e51b81526004016103e290610cc2565b6106d58484846107b8565b949350505050565b6106e56107db565b6106ee5f610808565b565b60606004805461060c90610c8a565b600c545f9060ff166107235760405162461bcd60e51b81526004016103e290610cc2565b61072d8383610859565b9392505050565b61073c6107db565b6001600160a01b03811661076557604051631e4fbdf760e01b81525f60048201526024016103e2565b6105fa81610808565b6001600160a01b0382166107975760405163ec442f0560e01b81525f60048201526024016103e2565b6107a25f8383610866565b5050565b6107b3838383600161098c565b505050565b5f336107c5858285610a5f565b6107d0858585610ad4565b506001949350505050565b6005546001600160a01b031633146106ee5760405163118cdaa760e01b81523360048201526024016103e2565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f3361069a818585610ad4565b6001600160a01b038316610890578060025f8282546108859190610c77565b909155506109009050565b6001600160a01b0383165f90815260208190526040902054818110156108e25760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103e2565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661091c5760028054829003905561093a565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161097f91815260200190565b60405180910390a3505050565b6001600160a01b0384166109b55760405163e602df0560e01b81525f60048201526024016103e2565b6001600160a01b0383166109de57604051634a1406b160e11b81525f60048201526024016103e2565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610a5957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a5091815260200190565b60405180910390a35b50505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610a595781811015610ac657604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103e2565b610a5984848484035f61098c565b6001600160a01b038316610afd57604051634b637e8f60e11b81525f60048201526024016103e2565b6001600160a01b038216610b265760405163ec442f0560e01b81525f60048201526024016103e2565b6107b3838383610866565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610b7c575f5ffd5b919050565b5f5f60408385031215610b92575f5ffd5b610b9b83610b66565b946020939093013593505050565b5f5f5f60608486031215610bbb575f5ffd5b610bc484610b66565b9250610bd260208501610b66565b929592945050506040919091013590565b5f60208284031215610bf3575f5ffd5b61072d82610b66565b5f5f60408385031215610c0d575f5ffd5b610c1683610b66565b9150610c2460208401610b66565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176106a0576106a0610c2d565b5f82610c7257634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156106a0576106a0610c2d565b600181811c90821680610c9e57607f821691505b602082108103610cbc57634e487b7160e01b5f52602260045260245ffd5b50919050565b60208082526030908201527f5472616e7366657273206172652064697361626c656420756e74696c206d696e60408201526f74696e6720697320636f6d706c65746560801b60608201526080019056fea2646970667358221220d3243da975e1d9f24969d4afbd49c981689f699c36404323fc217e561d7be23864736f6c634300081c0033

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

000000000000000000000000020ca66c30bec2c4fe3861a94e4db4a498a35872

-----Decoded View---------------
Arg [0] : _feeReceiver (address): 0x020cA66C30beC2c4Fe3861a94E4DB4A498A35872

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000020ca66c30bec2c4fe3861a94e4db4a498a35872


Deployed Bytecode Sourcemap

26355:1962:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27052:12;:10;:12::i;:::-;26355:1962;;;;;13769:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16062:190;;;;;;;;;;-1:-1:-1;16062:190:0;;;;;:::i;:::-;;:::i;:::-;;;1085:14:1;;1078:22;1060:41;;1048:2;1033:18;16062:190:0;920:187:1;14871:99:0;;;;;;;;;;-1:-1:-1;14950:12:0;;14871:99;;;1258:25:1;;;1246:2;1231:18;14871:99:0;1112:177:1;28052:262:0;;;;;;;;;;-1:-1:-1;28052:262:0;;;;;:::i;:::-;;:::i;14722:84::-;;;;;;;;;;-1:-1:-1;14722:84:0;;14796:2;1815:36:1;;1803:2;1788:18;14722:84:0;1673:184:1;26569:39:0;;;;;;;;;;;;;;;;26393:36;;;;;;;;;;;;;;;;15033:118;;;;;;;;;;-1:-1:-1;15033:118:0;;;;;:::i;:::-;-1:-1:-1;;;;;15125:18:0;15098:7;15125:18;;;;;;;;;;;;15033:118;25444:103;;;;;;;;;;;;;:::i;26670:35::-;;;;;;;;;;-1:-1:-1;26670:35:0;;;;;;;;24769:87;;;;;;;;;;-1:-1:-1;24842:6:0;;-1:-1:-1;;;;;24842:6:0;24769:87;;;-1:-1:-1;;;;;2217:32:1;;;2199:51;;2187:2;2172:18;24769:87:0;2053:203:1;13979:95:0;;;;;;;;;;;;;:::i;26436:26::-;;;;;;;;;;;;;;;;27814:230;;;;;;;;;;-1:-1:-1;27814:230:0;;;;;:::i;:::-;;:::i;26528:34::-;;;;;;;;;;-1:-1:-1;26528:34:0;;;;-1:-1:-1;;;;;26528:34:0;;;15601:142;;;;;;;;;;-1:-1:-1;15601:142:0;;;;;:::i;:::-;-1:-1:-1;;;;;15708:18:0;;;15681:7;15708:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15601:142;26469:52;;;;;;;;;;;;;;;;25702:220;;;;;;;;;;-1:-1:-1;25702:220:0;;;;;:::i;:::-;;:::i;26617:46::-;;;;;;;;;;-1:-1:-1;26617:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;27080:726;27131:15;;;;27130:16;27122:48;;;;-1:-1:-1;;;27122:48:0;;2952:2:1;27122:48:0;;;2934:21:1;2991:2;2971:18;;;2964:30;-1:-1:-1;;;3010:18:1;;;3003:49;3069:18;;27122:48:0;;;;;;;;;27203:6;;27189:11;;:20;27181:59;;;;-1:-1:-1;;;27181:59:0;;3300:2:1;27181:59:0;;;3282:21:1;3339:2;3319:18;;;3312:30;3378:28;3358:18;;;3351:56;3424:18;;27181:59:0;3098:350:1;27181:59:0;27259:10;27273:9;27259:23;27251:83;;;;-1:-1:-1;;;27251:83:0;;3655:2:1;27251:83:0;;;3637:21:1;3694:2;3674:18;;;3667:30;3733:34;3713:18;;;3706:62;-1:-1:-1;;;3784:18:1;;;3777:45;3839:19;;27251:83:0;3453:411:1;27251:83:0;27355:14;27388:7;27373:6;;27382:2;27373:11;;;;:::i;:::-;27372:23;;;;:::i;:::-;27441:20;;27427:10;27415:23;;;;:11;:23;;;;;;27355:40;;-1:-1:-1;;27407:78:0;;;;-1:-1:-1;;;27407:78:0;;4598:2:1;27407:78:0;;;4580:21:1;4637:2;4617:18;;;4610:30;-1:-1:-1;;;4656:18:1;;;4649:49;4715:18;;27407:78:0;4396:343:1;27407:78:0;27517:9;;27504;:22;27496:56;;;;-1:-1:-1;;;27496:56:0;;4946:2:1;27496:56:0;;;4928:21:1;4985:2;4965:18;;;4958:30;-1:-1:-1;;;5004:18:1;;;4997:51;5065:18;;27496:56:0;4744:345:1;27496:56:0;27577:10;27565:23;;;;:11;:23;;;;;:33;;27592:6;;27565:23;:33;;27592:6;;27565:33;:::i;:::-;;;;;;;;27624:6;27609:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;27641:25:0;;-1:-1:-1;27647:10:0;27659:6;27641:5;:25::i;:::-;27679:11;;:31;;-1:-1:-1;;;;;27679:11:0;;;;27700:9;27679:31;;;;;:11;:31;:11;:31;27700:9;27679:11;:31;;;;;;;;;;;;;;;;;;;;;27742:6;;27727:11;;:21;27723:76;;27765:15;:22;;-1:-1:-1;;27765:22:0;27783:4;27765:22;;;27723:76;27111:695;27080:726::o;13769:91::-;13814:13;13847:5;13840:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13769:91;:::o;16062:190::-;16135:4;4854:10;16191:31;4854:10;16207:7;16216:5;16191:8;:31::i;:::-;16240:4;16233:11;;;16062:190;;;;;:::o;28052:262::-;28175:15;;28150:4;;28175:15;;28167:76;;;;-1:-1:-1;;;28167:76:0;;;;;;;:::i;:::-;28261:45;28280:6;28288:9;28299:6;28261:18;:45::i;:::-;28254:52;28052:262;-1:-1:-1;;;;28052:262:0:o;25444:103::-;24655:13;:11;:13::i;:::-;25509:30:::1;25536:1;25509:18;:30::i;:::-;25444:103::o:0;13979:95::-;14026:13;14059:7;14052:14;;;;;:::i;27814:230::-;27917:15;;27892:4;;27917:15;;27909:76;;;;-1:-1:-1;;;27909:76:0;;;;;;;:::i;:::-;28003:33;28018:9;28029:6;28003:14;:33::i;:::-;27996:40;27814:230;-1:-1:-1;;;27814:230:0:o;25702:220::-;24655:13;:11;:13::i;:::-;-1:-1:-1;;;;;25787:22:0;::::1;25783:93;;25833:31;::::0;-1:-1:-1;;;25833:31:0;;25861:1:::1;25833:31;::::0;::::1;2199:51:1::0;2172:18;;25833:31:0::1;2053:203:1::0;25783:93:0::1;25886:28;25905:8;25886:18;:28::i;19584:213::-:0;-1:-1:-1;;;;;19655:21:0;;19651:93;;19700:32;;-1:-1:-1;;;19700:32:0;;19729:1;19700:32;;;2199:51:1;2172:18;;19700:32:0;2053:203:1;19651:93:0;19754:35;19770:1;19774:7;19783:5;19754:7;:35::i;:::-;19584:213;;:::o;20889:130::-;20974:37;20983:5;20990:7;20999:5;21006:4;20974:8;:37::i;:::-;20889:130;;;:::o;16830:249::-;16917:4;4854:10;16975:37;16991:4;4854:10;17006:5;16975:15;:37::i;:::-;17023:26;17033:4;17039:2;17043:5;17023:9;:26::i;:::-;-1:-1:-1;17067:4:0;;16830:249;-1:-1:-1;;;;16830:249:0:o;24934:166::-;24842:6;;-1:-1:-1;;;;;24842:6:0;4854:10;24994:23;24990:103;;25041:40;;-1:-1:-1;;;25041:40:0;;4854:10;25041:40;;;2199:51:1;2172:18;;25041:40:0;2053:203:1;26082:191:0;26175:6;;;-1:-1:-1;;;;;26192:17:0;;;-1:-1:-1;;;;;;26192:17:0;;;;;;;26225:40;;26175:6;;;26192:17;26175:6;;26225:40;;26156:16;;26225:40;26145:128;26082:191;:::o;15356:182::-;15425:4;4854:10;15481:27;4854:10;15498:2;15502:5;15481:9;:27::i;18096:1135::-;-1:-1:-1;;;;;18186:18:0;;18182:552;;18340:5;18324:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;18182:552:0;;-1:-1:-1;18182:552:0;;-1:-1:-1;;;;;18400:15:0;;18378:19;18400:15;;;;;;;;;;;18434:19;;;18430:117;;;18481:50;;-1:-1:-1;;;18481:50:0;;-1:-1:-1;;;;;6246:32:1;;18481:50:0;;;6228:51:1;6295:18;;;6288:34;;;6338:18;;;6331:34;;;6201:18;;18481:50:0;6026:345:1;18430:117:0;-1:-1:-1;;;;;18670:15:0;;:9;:15;;;;;;;;;;18688:19;;;;18670:37;;18182:552;-1:-1:-1;;;;;18750:16:0;;18746:435;;18916:12;:21;;;;;;;18746:435;;;-1:-1:-1;;;;;19132:13:0;;:9;:13;;;;;;;;;;:22;;;;;;18746:435;19213:2;-1:-1:-1;;;;;19198:25:0;19207:4;-1:-1:-1;;;;;19198:25:0;;19217:5;19198:25;;;;1258::1;;1246:2;1231:18;;1112:177;19198:25:0;;;;;;;;18096:1135;;;:::o;21870:443::-;-1:-1:-1;;;;;21983:19:0;;21979:91;;22026:32;;-1:-1:-1;;;22026:32:0;;22055:1;22026:32;;;2199:51:1;2172:18;;22026:32:0;2053:203:1;21979:91:0;-1:-1:-1;;;;;22084:21:0;;22080:92;;22129:31;;-1:-1:-1;;;22129:31:0;;22157:1;22129:31;;;2199:51:1;2172:18;;22129:31:0;2053:203:1;22080:92:0;-1:-1:-1;;;;;22182:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;22228:78;;;;22279:7;-1:-1:-1;;;;;22263:31:0;22272:5;-1:-1:-1;;;;;22263:31:0;;22288:5;22263:31;;;;1258:25:1;;1246:2;1231:18;;1112:177;22263:31:0;;;;;;;;22228:78;21870:443;;;;:::o;22605:487::-;-1:-1:-1;;;;;15708:18:0;;;22705:24;15708:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;22772:37:0;;22768:317;;22849:5;22830:16;:24;22826:132;;;22882:60;;-1:-1:-1;;;22882:60:0;;-1:-1:-1;;;;;6246:32:1;;22882:60:0;;;6228:51:1;6295:18;;;6288:34;;;6338:18;;;6331:34;;;6201:18;;22882:60:0;6026:345:1;22826:132:0;23001:57;23010:5;23017:7;23045:5;23026:16;:24;23052:5;23001:8;:57::i;17464:308::-;-1:-1:-1;;;;;17548:18:0;;17544:88;;17590:30;;-1:-1:-1;;;17590:30:0;;17617:1;17590:30;;;2199:51:1;2172:18;;17590:30:0;2053:203:1;17544:88:0;-1:-1:-1;;;;;17646:16:0;;17642:88;;17686:32;;-1:-1:-1;;;17686:32:0;;17715:1;17686:32;;;2199:51:1;2172:18;;17686:32:0;2053:203:1;17642:88:0;17740:24;17748:4;17754:2;17758:5;17740:7;:24::i;14:418:1:-;163:2;152:9;145:21;126:4;195:6;189:13;238:6;233:2;222:9;218:18;211:34;297:6;292:2;284:6;280:15;275:2;264:9;260:18;254:50;353:1;348:2;339:6;328:9;324:22;320:31;313:42;423:2;416;412:7;407:2;399:6;395:15;391:29;380:9;376:45;372:54;364:62;;;14:418;;;;:::o;437:173::-;505:20;;-1:-1:-1;;;;;554:31:1;;544:42;;534:70;;600:1;597;590:12;534:70;437:173;;;:::o;615:300::-;683:6;691;744:2;732:9;723:7;719:23;715:32;712:52;;;760:1;757;750:12;712:52;783:29;802:9;783:29;:::i;:::-;773:39;881:2;866:18;;;;853:32;;-1:-1:-1;;;615:300:1:o;1294:374::-;1371:6;1379;1387;1440:2;1428:9;1419:7;1415:23;1411:32;1408:52;;;1456:1;1453;1446:12;1408:52;1479:29;1498:9;1479:29;:::i;:::-;1469:39;;1527:38;1561:2;1550:9;1546:18;1527:38;:::i;:::-;1294:374;;1517:48;;-1:-1:-1;;;1634:2:1;1619:18;;;;1606:32;;1294:374::o;1862:186::-;1921:6;1974:2;1962:9;1953:7;1949:23;1945:32;1942:52;;;1990:1;1987;1980:12;1942:52;2013:29;2032:9;2013:29;:::i;2485:260::-;2553:6;2561;2614:2;2602:9;2593:7;2589:23;2585:32;2582:52;;;2630:1;2627;2620:12;2582:52;2653:29;2672:9;2653:29;:::i;:::-;2643:39;;2701:38;2735:2;2724:9;2720:18;2701:38;:::i;:::-;2691:48;;2485:260;;;;;:::o;3869:127::-;3930:10;3925:3;3921:20;3918:1;3911:31;3961:4;3958:1;3951:15;3985:4;3982:1;3975:15;4001:168;4074:9;;;4105;;4122:15;;;4116:22;;4102:37;4092:71;;4143:18;;:::i;4174:217::-;4214:1;4240;4230:132;;4284:10;4279:3;4275:20;4272:1;4265:31;4319:4;4316:1;4309:15;4347:4;4344:1;4337:15;4230:132;-1:-1:-1;4376:9:1;;4174:217::o;5094:125::-;5159:9;;;5180:10;;;5177:36;;;5193:18;;:::i;5224:380::-;5303:1;5299:12;;;;5346;;;5367:61;;5421:4;5413:6;5409:17;5399:27;;5367:61;5474:2;5466:6;5463:14;5443:18;5440:38;5437:161;;5520:10;5515:3;5511:20;5508:1;5501:31;5555:4;5552:1;5545:15;5583:4;5580:1;5573:15;5437:161;;5224:380;;;:::o;5609:412::-;5811:2;5793:21;;;5850:2;5830:18;;;5823:30;5889:34;5884:2;5869:18;;5862:62;-1:-1:-1;;;5955:2:1;5940:18;;5933:46;6011:3;5996:19;;5609:412::o

Swarm Source

ipfs://d3243da975e1d9f24969d4afbd49c981689f699c36404323fc217e561d7be238

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
[ Download: CSV Export  ]
[ 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.