Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Glossary

The Miden documentation is the authority for Miden terms: Reference and Builder. The entries below state how the terms are used in this book.

TermMeaningMiden reference
AMMAutomated market maker. A contract that prices an asset pair from its reserves.
XYKThe constant-product invariant x * y = k.
BerthA pool. A single account holding two assets.
ManifestThe registry. The account that holds the accepted pool code commitments and the pool set.
CargoA token. A fungible asset held or traded by a pool.
CrewLiquidity providers. The accounts that deposit both assets and hold LP tokens.
AccountA unit of Miden state holding storage, code, and a vault.Accounts
Account componentCode installed on an account.Accounts
FaucetAn account that issues a fungible asset.Assets
NoteA Miden message carrying a script, storage, and assets to a target account.Notes
Note scriptThe code a note runs.Notes
TransactionThe execution that consumes notes and updates accounts.Transactions
MASMMiden assembly, the language the contracts compile to.MASM
LP tokenThe fungible asset a pool issues to represent a share of its reserves.
LP feeThe fee a swapper pays, in basis points of the input.Fees
Protocol shareThe registry’s share of the LP fee, in basis points of that fee.Fees
Registry shareSee protocol share.
LP fee tierOne of the allowed lp_fee_bps values the registry lists.
Protocol potThe pool’s accrued protocol fees, held in the vault until collected.
Network accountAn account serviced by the node’s transaction builder through a note-script allowlist, with no signing key.Network
Network noteA note carrying a NetworkAccountTarget attachment, so the node can route it to a network account.Notes
FEE_SPONSORSHIPThe note that carries a feature note’s consumption fee and is consumed with it.Fees
P2IDThe pay-to-id note script used for output notes.Notes
FPIForeign procedure invocation. A call from one account’s procedure into another account’s procedure.Cross-component calls
SlippageThe difference between a quoted output and the accepted minimum.
DeadlineA block timestamp after which a note reverts.
MAX_AMOUNTThe u64 cap 2^57 on every reserve, amount, and lp_supply.
MINIMUM_LIQUIDITYThe 1000 LP tokens locked permanently on the first mint.
OracleThe two cumulative price accumulators and the last update timestamp.
CollectThe operation that moves a protocol pot or a registry balance to the protocol account.