MNT Price: $0.71 (+2.26%)

Contract

0x00002004f19E42c4E2917af95e8b215aae91ca3d
 

Overview

MNT Balance

Mantle Mainnet Network LogoMantle Mainnet Network LogoMantle Mainnet Network Logo0 MNT

MNT Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint708804312024-10-25 21:19:34179 days ago1729891174IN
0x00002004...aae91ca3d
0 MNT0.019767430.026
Mint708789232024-10-25 20:29:18179 days ago1729888158IN
0x00002004...aae91ca3d
0 MNT0.025382240.026
Mint708761352024-10-25 18:56:22179 days ago1729882582IN
0x00002004...aae91ca3d
0 MNT0.023792340.024
Mint708735142024-10-25 17:29:00179 days ago1729877340IN
0x00002004...aae91ca3d
0 MNT0.02616330.026
Mint708734082024-10-25 17:25:28179 days ago1729877128IN
0x00002004...aae91ca3d
0 MNT0.026076420.026
Mint708644172024-10-25 12:25:46179 days ago1729859146IN
0x00002004...aae91ca3d
0 MNT0.026018450.026
Mint708617232024-10-25 10:55:58179 days ago1729853758IN
0x00002004...aae91ca3d
0 MNT0.025646380.026
Mint708592432024-10-25 9:33:18180 days ago1729848798IN
0x00002004...aae91ca3d
0 MNT0.018749430.024
Mint708540132024-10-25 6:38:58180 days ago1729838338IN
0x00002004...aae91ca3d
0 MNT0.025548930.026
Mint708494782024-10-25 4:07:48180 days ago1729829268IN
0x00002004...aae91ca3d
0 MNT0.035450390.026
Mint708468442024-10-25 2:40:00180 days ago1729824000IN
0x00002004...aae91ca3d
0 MNT0.025645550.026
Mint708429072024-10-25 0:28:46180 days ago1729816126IN
0x00002004...aae91ca3d
0 MNT0.025561050.026
Mint708391042024-10-24 22:22:00180 days ago1729808520IN
0x00002004...aae91ca3d
0 MNT0.027925780.028
Mint708357822024-10-24 20:31:16180 days ago1729801876IN
0x00002004...aae91ca3d
0 MNT0.034634050.026
Mint708352542024-10-24 20:13:40180 days ago1729800820IN
0x00002004...aae91ca3d
0 MNT0.020540570.026
Mint708349302024-10-24 20:02:52180 days ago1729800172IN
0x00002004...aae91ca3d
0 MNT0.026034340.026
Mint708248562024-10-24 14:27:04180 days ago1729780024IN
0x00002004...aae91ca3d
0 MNT0.0266750.026
Mint708243452024-10-24 14:10:02180 days ago1729779002IN
0x00002004...aae91ca3d
0 MNT0.026404410.026
Mint708226872024-10-24 13:14:46180 days ago1729775686IN
0x00002004...aae91ca3d
0 MNT0.020473010.026
Mint708226222024-10-24 13:12:36180 days ago1729775556IN
0x00002004...aae91ca3d
0 MNT0.020416210.026
Mint708223822024-10-24 13:04:36180 days ago1729775076IN
0x00002004...aae91ca3d
0 MNT0.026459530.026
Mint708139792024-10-24 8:24:30181 days ago1729758270IN
0x00002004...aae91ca3d
0 MNT0.020492340.026
Mint708130402024-10-24 7:53:12181 days ago1729756392IN
0x00002004...aae91ca3d
0 MNT0.020473560.026
Mint708108682024-10-24 6:40:48181 days ago1729752048IN
0x00002004...aae91ca3d
0 MNT0.020160080.026
Mint708102432024-10-24 6:19:58181 days ago1729750798IN
0x00002004...aae91ca3d
0 MNT0.020074090.026
VIEW ADVANCED FILTER

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
521643102024-02-02 3:41:44446 days ago1706845304
0x00002004...aae91ca3d
0.00002 MNT
521643102024-02-02 3:41:44446 days ago1706845304
0x00002004...aae91ca3d
0.00008 MNT
521637842024-02-02 3:38:55446 days ago1706845135
0x00002004...aae91ca3d
0.0001 MNT
521637842024-02-02 3:38:55446 days ago1706845135
0x00002004...aae91ca3d
0.0004 MNT
521637012024-02-02 3:38:25446 days ago1706845105
0x00002004...aae91ca3d
0.00004 MNT
521637012024-02-02 3:38:25446 days ago1706845105
0x00002004...aae91ca3d
0.00016 MNT
521636572024-02-02 3:38:01446 days ago1706845081
0x00002004...aae91ca3d
0.00004 MNT
521636572024-02-02 3:38:01446 days ago1706845081
0x00002004...aae91ca3d
0.00016 MNT
521636142024-02-02 3:37:46446 days ago1706845066
0x00002004...aae91ca3d
0.00002 MNT
521636142024-02-02 3:37:46446 days ago1706845066
0x00002004...aae91ca3d
0.00008 MNT
521578862024-02-02 3:03:47446 days ago1706843027
0x00002004...aae91ca3d
0.00002 MNT
521578862024-02-02 3:03:47446 days ago1706843027
0x00002004...aae91ca3d
0.00008 MNT
521578242024-02-02 3:03:27446 days ago1706843007
0x00002004...aae91ca3d
0.00002 MNT
521578242024-02-02 3:03:27446 days ago1706843007
0x00002004...aae91ca3d
0.00008 MNT
520508182024-02-01 14:49:15446 days ago1706798955
0x00002004...aae91ca3d
0.00002 MNT
520508182024-02-01 14:49:15446 days ago1706798955
0x00002004...aae91ca3d
0.00008 MNT
520502992024-02-01 14:46:38446 days ago1706798798
0x00002004...aae91ca3d
0.00002 MNT
520502992024-02-01 14:46:38446 days ago1706798798
0x00002004...aae91ca3d
0.00008 MNT
518104392024-01-31 14:40:11447 days ago1706712011
0x00002004...aae91ca3d
0.00014 MNT
518104392024-01-31 14:40:11447 days ago1706712011
0x00002004...aae91ca3d
0.00056 MNT
518092212024-01-31 14:33:36447 days ago1706711616
0x00002004...aae91ca3d
0.00002 MNT
518092212024-01-31 14:33:36447 days ago1706711616
0x00002004...aae91ca3d
0.00008 MNT
518049362024-01-31 14:09:54447 days ago1706710194
0x00002004...aae91ca3d
0.00012 MNT
518049362024-01-31 14:09:54447 days ago1706710194
0x00002004...aae91ca3d
0.00048 MNT
518048352024-01-31 14:09:24447 days ago1706710164
0x00002004...aae91ca3d
0.00012 MNT
View All Internal Transactions

Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x989b226d...e591d30FE
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
ERC1967Proxy

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at mantlescan.xyz on 2024-08-05
*/

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

// SPDX-License-Identifier: MIT

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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._
 * _Available since v4.9 for `string`, `bytes`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}


// File contracts/proxy/interfaces/IERC1967.sol

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1967.sol)

pragma solidity ^0.8.17;

/**
 * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.
 *
 * _Available since v4.8.3._
 */
interface IERC1967 {
    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);
}


// File contracts/proxy/ERC1967/ERC1967Upgrade.sol

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/ERC1967/ERC1967Upgrade.sol)

pragma solidity ^0.8.17;



/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 */
abstract contract ERC1967Upgrade is IERC1967 {
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    //bytes32(uint256(keccak256('eip1967.proxy.owner')) - 1)
    bytes32 internal constant _OWNER_SLOT = 0xa7b53796fd2d99cb1f5ae019b54f9e024446c3d12b483f733ccc62ed04eb126a;

    function _setOwner(address _owner) internal {
        StorageSlot.getAddressSlot(_OWNER_SLOT).value = _owner;
    }

    function _getOwner() internal view returns (address) {
        return StorageSlot.getAddressSlot(_OWNER_SLOT).value;
    }

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(address newImplementation, bytes memory data, bool forceCall) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(newImplementation, data);
        }
    }
}


// File contracts/proxy/Proxy.sol

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)

pragma solidity ^0.8.17;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 *
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 *
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internal call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 {
                revert(0, returndatasize())
            }
            default {
                return(0, returndatasize())
            }
        }
    }

    /**
     * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal view virtual returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     *
     * This function does not return to its internal call site, it will return directly to the external caller.
     */
    function _fallback() internal virtual {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback() external payable virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive() external payable virtual {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     *
     * If overridden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {}
}


// File contracts/proxy/ERC1967/ERC1967Proxy.sol

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (proxy/ERC1967/ERC1967Proxy.sol)

pragma solidity ^0.8.17;


/**
 * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an
 * implementation address that can be changed. This address is stored in storage in the location specified by
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the
 * implementation behind the proxy.
 */

contract ERC1967Proxy is Proxy, ERC1967Upgrade {

    constructor(address _owner) {
        _setOwner(_owner);
    }

    //just call one time
    function initProxy(address _logic, bytes memory _data) external {
        require(_getOwner() == msg.sender);
        require(ERC1967Upgrade._getImplementation() == address(0));
        _upgradeToAndCall(_logic, _data, false);
    }

    /**
     * @dev Returns the current implementation address.
     */
    function _implementation() internal view virtual override returns (address impl) {
        return ERC1967Upgrade._getImplementation();
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"initProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x6080604052600436106100225760003560e01c8063ead30dd41461003957610031565b366100315761002f610059565b005b61002f610059565b34801561004557600080fd5b5061002f6100543660046103cd565b61006b565b6100696100646100b7565b6100c6565b565b336100746100ef565b6001600160a01b03161461008757600080fd5b6000610091610122565b6001600160a01b0316146100a457600080fd5b6100b08282600061014a565b5050565b90565b60006100c1610122565b905090565b3660008037600080366000845af43d6000803e8080156100e5573d6000f35b3d6000fd5b505050565b60007fa7b53796fd2d99cb1f5ae019b54f9e024446c3d12b483f733ccc62ed04eb126a5b546001600160a01b0316919050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610113565b61015383610175565b6000825111806101605750805b156100ea5761016f83836101b5565b50505050565b61017e816101e1565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606101da838360405180606001604052806027815260200161051160279139610294565b9392505050565b6001600160a01b0381163b6102535760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080856001600160a01b0316856040516102b191906104c1565b600060405180830381855af49150503d80600081146102ec576040519150601f19603f3d011682016040523d82523d6000602084013e6102f1565b606091505b50915091506103028683838761030c565b9695505050505050565b6060831561037b578251600003610374576001600160a01b0385163b6103745760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161024a565b5081610385565b610385838361038d565b949350505050565b81511561039d5781518083602001fd5b8060405162461bcd60e51b815260040161024a91906104dd565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103e057600080fd5b82356001600160a01b03811681146103f757600080fd5b9150602083013567ffffffffffffffff8082111561041457600080fd5b818501915085601f83011261042857600080fd5b81358181111561043a5761043a6103b7565b604051601f8201601f19908116603f01168101908382118183101715610462576104626103b7565b8160405282815288602084870101111561047b57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60005b838110156104b85781810151838201526020016104a0565b50506000910152565b600082516104d381846020870161049d565b9190910192915050565b60208152600082518060208401526104fc81604085016020870161049d565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212201d629d44fc61042951a4969febaf9b45d7e66f15596cfef103f2e1033a57316c64736f6c63430008110033

Deployed Bytecode Sourcemap

21323:618:0:-:0;;;;;;;;;;;;;;;;;;;;;;;20361:11;:9;:11::i;:::-;21323:618;;20130:11;:9;:11::i;21477:236::-;;;;;;;;;;-1:-1:-1;21477:236:0;;;;;:::i;:::-;;:::i;19767:113::-;19844:28;19854:17;:15;:17::i;:::-;19844:9;:28::i;:::-;19767:113::o;21477:236::-;21575:10;21560:11;:9;:11::i;:::-;-1:-1:-1;;;;;21560:25:0;;21552:34;;;;;;21652:1;21605:35;:33;:35::i;:::-;-1:-1:-1;;;;;21605:49:0;;21597:58;;;;;;21666:39;21684:6;21692:5;21699;21666:17;:39::i;:::-;21477:236;;:::o;11792:195::-;11965:4;11792:195::o;21796:142::-;21863:12;21895:35;:33;:35::i;:::-;21888:42;;21796:142;:::o;18357:918::-;18700:14;18697:1;18694;18681:34;18918:1;18915;18899:14;18896:1;18880:14;18873:5;18860:60;18997:16;18994:1;18991;18976:38;19037:6;19106:68;;;;19225:16;19222:1;19215:27;19106:68;19142:16;19139:1;19132:27;19030:227;;;18357:918;:::o;15937:124::-;15981:7;15737:66;16008:39;:45;-1:-1:-1;;;;;16008:45:0;;15937:124;-1:-1:-1;15937:124:0:o;16144:142::-;16197:7;15560:66;16224:48;11792:195;17053:270;17162:29;17173:17;17162:10;:29::i;:::-;17220:1;17206:4;:11;:15;:28;;;;17225:9;17206:28;17202:114;;;17251:53;17280:17;17299:4;17251:28;:53::i;:::-;;17053:270;;;:::o;16757:155::-;16824:37;16843:17;16824:18;:37::i;:::-;16877:27;;-1:-1:-1;;;;;16877:27:0;;;;;;;;16757:155;:::o;7021:200::-;7104:12;7136:77;7157:6;7165:4;7136:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;7129:84;7021:200;-1:-1:-1;;;7021:200:0:o;16382:262::-;-1:-1:-1;;;;;1924:19:0;;;16456:95;;;;-1:-1:-1;;;16456:95:0;;1448:2:1;16456:95:0;;;1430:21:1;1487:2;1467:18;;;1460:30;1526:34;1506:18;;;1499:62;-1:-1:-1;;;1577:18:1;;;1570:43;1630:19;;16456:95:0;;;;;;;;;15560:66;16562:74;;-1:-1:-1;;;;;;16562:74:0;-1:-1:-1;;;;;16562:74:0;;;;;;;;;;16382:262::o;7415:332::-;7560:12;7586;7600:23;7627:6;-1:-1:-1;;;;;7627:19:0;7647:4;7627:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7585:67;;;;7670:69;7697:6;7705:7;7714:10;7726:12;7670:26;:69::i;:::-;7663:76;7415:332;-1:-1:-1;;;;;;7415:332:0:o;8043:644::-;8228:12;8257:7;8253:427;;;8285:10;:17;8306:1;8285:22;8281:290;;-1:-1:-1;;;;;1924:19:0;;;8495:60;;;;-1:-1:-1;;;8495:60:0;;2409:2:1;8495:60:0;;;2391:21:1;2448:2;2428:18;;;2421:30;2487:31;2467:18;;;2460:59;2536:18;;8495:60:0;2207:353:1;8495:60:0;-1:-1:-1;8592:10:0;8585:17;;8253:427;8635:33;8643:10;8655:12;8635:7;:33::i;:::-;8043:644;;;;;;:::o;9229:552::-;9390:17;;:21;9386:388;;9622:10;9616:17;9679:15;9666:10;9662:2;9658:19;9651:44;9386:388;9749:12;9742:20;;-1:-1:-1;;;9742:20:0;;;;;;;;:::i;14:127:1:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:1095;223:6;231;284:2;272:9;263:7;259:23;255:32;252:52;;;300:1;297;290:12;252:52;326:23;;-1:-1:-1;;;;;378:31:1;;368:42;;358:70;;424:1;421;414:12;358:70;447:5;-1:-1:-1;503:2:1;488:18;;475:32;526:18;556:14;;;553:34;;;583:1;580;573:12;553:34;621:6;610:9;606:22;596:32;;666:7;659:4;655:2;651:13;647:27;637:55;;688:1;685;678:12;637:55;724:2;711:16;746:2;742;739:10;736:36;;;752:18;;:::i;:::-;827:2;821:9;795:2;881:13;;-1:-1:-1;;877:22:1;;;901:2;873:31;869:40;857:53;;;925:18;;;945:22;;;922:46;919:72;;;971:18;;:::i;:::-;1011:10;1007:2;1000:22;1046:2;1038:6;1031:18;1086:7;1081:2;1076;1072;1068:11;1064:20;1061:33;1058:53;;;1107:1;1104;1097:12;1058:53;1163:2;1158;1154;1150:11;1145:2;1137:6;1133:15;1120:46;1208:1;1203:2;1198;1190:6;1186:15;1182:24;1175:35;1229:6;1219:16;;;;;;;146:1095;;;;;:::o;1660:250::-;1745:1;1755:113;1769:6;1766:1;1763:13;1755:113;;;1845:11;;;1839:18;1826:11;;;1819:39;1791:2;1784:10;1755:113;;;-1:-1:-1;;1902:1:1;1884:16;;1877:27;1660:250::o;1915:287::-;2044:3;2082:6;2076:13;2098:66;2157:6;2152:3;2145:4;2137:6;2133:17;2098:66;:::i;:::-;2180:16;;;;;1915:287;-1:-1:-1;;1915:287:1:o;2565:396::-;2714:2;2703:9;2696:21;2677:4;2746:6;2740:13;2789:6;2784:2;2773:9;2769:18;2762:34;2805:79;2877:6;2872:2;2861:9;2857:18;2852:2;2844:6;2840:15;2805:79;:::i;:::-;2945:2;2924:15;-1:-1:-1;;2920:29:1;2905:45;;;;2952:2;2901:54;;2565:396;-1:-1:-1;;2565:396:1:o

Swarm Source

ipfs://1d629d44fc61042951a4969febaf9b45d7e66f15596cfef103f2e1033a57316c

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.