Forkchoice Ethereum Mainnet

Address Contract Partially Verified

Address 0xf518f2EbeA5df8Ca2B5E9C7996a2A25e8010014b
Balance 0 ETH
Nonce 1
Code Size 379 bytes
Indexed Transactions 0 (1 on-chain, 0.8% indexed)
External Etherscan · Sourcify

Contract Bytecode

379 bytes
0x608080604052600436101561001357600080fd5b600090813560e01c90816330711adf1461012b575063679aefce1461003757600080fd5b346101285780600319360112610128576040516303d1689d60e11b8152670de0b6b3a764000060048201526020816024817f00000000000000000000000024ae2da0f361aa4be46b48eb19c91e02c5e4f27e73ffffffffffffffffffffffffffffffffffffffff165afa90811561011d5782916100ba575b602082604051908152f35b905060203d8111610116575b601f8101601f1916820167ffffffffffffffff811183821017610102576020918391604052810103126100fe576020915051386100af565b5080fd5b634e487b7160e01b84526041600452602484fd5b503d6100c6565b6040513d84823e3d90fd5b80fd5b9050346100fe57816003193601126100fe5760209073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000024ae2da0f361aa4be46b48eb19c91e02c5e4f27e168152f3

Verified Source Code Partial Match

Compiler: v0.8.19+commit.7dd6d404 EVM: london Optimization: Yes (512 runs)
MevEthRateProvider.sol 49 lines
/// SPDX-License-Identifier: SSPL-1.-0

/**
 * @custom:org.protocol='mevETH LST Protocol'
 * @custom:org.security='mailto:[email protected]'
 * @custom:org.vcs-commit=$GIT_COMMIT_SHA
 * @custom:org.vendor='CommodityStream, Inc'
 * @custom:org.schema-version="1.0"
 * @custom.org.encryption="manifoldfinance.com/.well-known/pgp-key.asc"
 * @custom:org.preferred-languages="en"
 */

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

pragma solidity ^0.8.19;

import "src/interfaces/IRateProvider.sol";
import "src/interfaces/IMevEth.sol";

/**
 * @title MevEth Rate Provider
 * @notice Returns the value of mevETH in terms of ETH
 */
contract MevEthRateProvider is IRateProvider {
    /// @notice The address of the mevETH contract
    IMevEth public immutable mevETH;

    /// @notice Constructs the MevETHRateProvider contract, setting the mevETH address
    constructor(IMevEth _mevETH) {
        mevETH = _mevETH;
    }

    /// @notice Returns the value of mevETH in terms of ETH
    /// @return the value of mevETH in terms of ETH
    function getRate() external view override returns (uint256) {
        return mevETH.convertToAssets(1 ether);
    }
}
IMevEth.sol 25 lines
/// SPDX-License-Identifier: SSPL-1.-0

/**
 * @custom:org.protocol='mevETH LST Protocol'
 * @custom:org.security='mailto:[email protected]'
 * @custom:org.vcs-commit=$GIT_COMMIT_SHA
 * @custom:org.vendor='CommodityStream, Inc'
 * @custom:org.schema-version="1.0"
 * @custom.org.encryption="manifoldfinance.com/.well-known/pgp-key.asc"
 * @custom:org.preferred-languages="en"
 */

pragma solidity ^0.8.19;

/// @title IMevEth
interface IMevEth {
    /**
     * convertToAssets()
     *
     * @dev Converts a given number of shares to assets.
     * @param shares The number of shares to convert.
     * @return The number of assets.
     */
    function convertToAssets(uint256 shares) external view returns (uint256);
}
IRateProvider.sol 24 lines
/// SPDX-License-Identifier: SSPL-1.-0

/**
 * @custom:org.protocol='mevETH LST Protocol'
 * @custom:org.security='mailto:[email protected]'
 * @custom:org.vcs-commit=$GIT_COMMIT_SHA
 * @custom:org.vendor='CommodityStream, Inc'
 * @custom:org.schema-version="1.0"
 * @custom.org.encryption="manifoldfinance.com/.well-known/pgp-key.asc"
 * @custom:org.preferred-languages="en"
 */

pragma solidity ^0.8.19;

/// @title IRateProvider
interface IRateProvider {
    /**
     * getRate()
     *
     * @dev Returns the current rate of a given asset.
     * @return uint256 The current rate of the asset.
     */
    function getRate() external view returns (uint256);
}

Read Contract

getRate 0x679aefce → uint256
mevETH 0x30711adf → address

Recent Transactions

This address has 1 on-chain transactions, but only 0.8% of the chain is indexed. Transactions will appear as indexing progresses. View on Etherscan →