Mint

Mint on Exactly

Base
Base

Acts onchain

Mints an exact number of an Exactly market's floating-pool shares, paying whatever asset the market quotes for them. The market's previewMint sizes the approval, then mint pulls that much of the asset and issues exactly the shares asked for; the action returns the assets spent. Where the Auditor answers to a firewall, as Base's does, the market serves only the accounts that firewall allows, and a call from any other account reverts; no program's socket is among them, so the wallet sends the call itself. Reach for it when the share count is the target, such as matching a position to another market's share balance, and let the asset side float.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More on Exactly · 21

On other protocols · 11