Everstrat.xyz | Docs
Get Started

First mint

How the current mint UI turns ETH input into an `AMM.enter(...)` transaction.

What The Mint UI Reads

Before a mint write becomes actionable, the frontend reads:

  • AMM paused state
  • premium price
  • user ETH balance
  • configured contract addresses

Mint Flow

Enter ETH or target EVE amount using the dual-input form.
Adjust balance with 0 / 25 / 50 / 75 / 100 presets if needed.
The frontend simulates AMM.enter(minTokensToMint) before submission.
When confirmed, the transaction is sent with value = depositEth.

Slippage Behavior

For mint, slippage protects the minimum EVE output, not the ETH deposit amount. The app computes the minimum-out floor and submits that value into enter(...).

Read more in Slippage model.

Bootstrap note

The first mint can trigger the AMM bootstrap path. At the protocol layer that is still the same user-facing action, but the indexed activity type becomes BOOTSTRAP_MINT instead of MINT.

Last updated on

On this page