Mint UI
The current frontend behavior for deposit input, risk acknowledgment, simulation, and transaction submission.
Mint UI Features
- dual-input ETH / EVE editing
- percentage slider presets
- live price-driven output calculation
- simulated write before submission
- slippage-protected minimum output
Risk acknowledgment gate
Before the first mint per wallet (per network), a dialog requires the user to explicitly accept two statements:
- They understand Everstrat is an experimental protocol in a testing phase, have read the Risk Disclosure, and accept the risk of losing their entire deposit.
- They confirm they are not a citizen or resident of the United States and are not located in, or a citizen or resident of, another jurisdiction where protocol access is restricted or prohibited by law or sanctions.
Both checkboxes must be checked before I accept — continue to mint enables.
The acknowledgment is stored in localStorage per wallet address and chain
(everstrat:risk-acknowledgment:<address>:<chainId>), versioned so that
updating the acknowledgment text invalidates prior accepts. Burn is never
gated, and switching wallets or networks requires acknowledging again.
Transaction Shape
When the connected wallet requires a Whitelist voucher, the app simulates and submits:
AMM.enterWithInvite(effectiveMinTokensToMint, inviteId, deadline, signature)The voucher is attached automatically. For a wallet that no longer requires a voucher,
it uses AMM.enter(effectiveMinTokensToMint). Both calls send value = depositEth.
Invite access and the browser's risk acknowledgment are distinct from on-chain authorization.
Last updated on