BTB
/

mETH Protocol

Liquid Stakingwebsite
Permissionless ETH liquid staking run by Mantle. Stake ETH for mETH on Ethereum, queue an unstake request for ETH, and claim it once finalized. mETH is also bridged to Mantle as METHL2.

What you can do

stake ETH for mETHMint mETH from ETH on EthereumStaking.stake(minMETH) with ETH value; check minimumDepositAmount() first
unstake mETHOpen an unstake requestapprove mETH to Staking, then Staking.unstakeRequest(mETHAmount, minETH) or unstakeRequestWithPermit; keep the returned request ID
claim unstakeReceive ETH for a finalized requestcheck Staking.unstakeRequestInfo(id) returns finalized = true, then Staking.claimUnstakeRequest(id)
value mETHGet the ETH value of mETHStaking.mETHToETH(amount)
Unstaking is queued. The docs give a minimum wait of 12 hours, and the wait can run to 40 days or more when the Ethereum validator exit queue is long.
Unstake requests are finalized in order, so a large request can delay smaller ones behind it.
The protocol can restrict staking to an allowlist (isStakingAllowlist). Check it before sending ETH.
The exchange adjustment rate can reduce the mETH minted for a deposit. Read exchangeAdjustmentRate() and ethToMETH() before staking.

Contracts

Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).
Stakingstaking on ethereum0xe3cBd06D7dadB3F4e6557bAb7EdD924CD1489E8f
write stake(uint256)
Stake ETH (msg.value) and mint mETH to msg.sender. Argument: minimum mETH expected, reverts below it (slippage guard). Reverts below minimumDepositAmount().
write unstakeRequest(uint128,uint128)
Start an unstake: takes mETH from msg.sender (approve mETH to Staking first) and opens a request. Arguments: mETH amount and minimum ETH expected. Returns the request ID. Wait for finalization before claiming.
write unstakeRequestWithPermit(uint128,uint128,uint256,uint8,bytes32,bytes32)
Same as unstakeRequest, using an EIP-2612 permit for the mETH approval. Arguments: mETH amount, minimum ETH, permit deadline, v, r, s.
write claimUnstakeRequest(uint256)
Claim the ETH of a finalized unstake request by its ID. Reverts until the request is finalized.
read unstakeRequestInfo(uint256)
Returns (bool finalized, uint256 ETH amount) for a request ID.
read ethToMETH(uint256)
mETH minted for an ETH amount at the current rate (before any adjustment).
read mETHToETH(uint256)
ETH value of an mETH amount at the current rate.
read totalControlled()
Total ETH controlled by the protocol, in wei.
read minimumDepositAmount()
Minimum ETH per stake, in wei.
read minimumUnstakeBound()
Minimum mETH per unstake request.
read isStakingAllowlist()
True if staking is restricted to an allowlist.
read exchangeAdjustmentRate()
Exchange adjustment rate (uint16) that can lower the mETH minted per ETH. Check the mETH docs for its meaning.
METHtoken on ethereum0xd5F7838F5C461fefF7FE49ea5ebaF7728bB0ADfa
read balanceOf(address)
mETH balance of an account (18 decimals).
read totalSupply()
Total mETH in existence.
write transfer(address,uint256)
Transfer mETH.
write approve(address,uint256)
Approve a spender for mETH, for example the Staking contract before unstakeRequest.
write transferFrom(address,address,uint256)
Transfer mETH using an allowance.
write permit(address,address,uint256,uint256,uint8,bytes32,bytes32)
EIP-2612 signed approval for mETH.
UnstakeRequestsManagerother on ethereum0x38fDF7b489316e03eD8754ad339cb5c4483FDcf9
read requestInfo(uint256)
Returns (bool finalized, uint256 ETH amount) for an unstake request. Same data as Staking.unstakeRequestInfo.
read requestByID(uint256)
Full request record for an ID: requester, mETH amount, ETH amounts and cumulative checkpoints (6 fields).
read numberOfBlocksToFinalize()
Blocks that must pass before a request can be finalized. The docs give a minimum wait of 12 hours, and longer when the queue is busy.
read nextRequestId()
ID the next unstake request will receive.
read totalClaimed()
Total ETH claimed from unstake requests so far.
Oracleother on ethereum0x8735049F496727f824Cc0f2B174d826f5c408192
ReturnsAggregatorother on ethereum0x1766be66fBb0a1883d41B4cfB0a533c5249D3b82
Pauserother on ethereum0x29Ab878aEd032e2e2c86FF4A9a9B05e3276cf1f8
METHL2 (bridged mETH, Mantle)token on mantle0xcDA86A272531e8640cD7F1a92c01839911B90bb0
read balanceOf(address)
Bridged mETH balance on Mantle (18 decimals).
write transfer(address,uint256)
Transfer bridged mETH on Mantle.
write approve(address,uint256)
Approve a spender for bridged mETH on Mantle.
read l1Token()
Address of the mETH token on Ethereum that this token mirrors.
read l2Bridge()
Bridge contract that mints and burns this token.