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.
| Term | Meaning | Miden reference |
|---|---|---|
| AMM | Automated market maker. A contract that prices an asset pair from its reserves. | |
| XYK | The constant-product invariant x * y = k. | |
| Berth | A pool. A single account holding two assets. | |
| Manifest | The registry. The account that holds the accepted pool code commitments and the pool set. | |
| Cargo | A token. A fungible asset held or traded by a pool. | |
| Crew | Liquidity providers. The accounts that deposit both assets and hold LP tokens. | |
| Account | A unit of Miden state holding storage, code, and a vault. | Accounts |
| Account component | Code installed on an account. | Accounts |
| Faucet | An account that issues a fungible asset. | Assets |
| Note | A Miden message carrying a script, storage, and assets to a target account. | Notes |
| Note script | The code a note runs. | Notes |
| Transaction | The execution that consumes notes and updates accounts. | Transactions |
| MASM | Miden assembly, the language the contracts compile to. | MASM |
| LP token | The fungible asset a pool issues to represent a share of its reserves. | |
| LP fee | The fee a swapper pays, in basis points of the input. | Fees |
| Protocol share | The registry’s share of the LP fee, in basis points of that fee. | Fees |
| Registry share | See protocol share. | |
| LP fee tier | One of the allowed lp_fee_bps values the registry lists. | |
| Protocol pot | The pool’s accrued protocol fees, held in the vault until collected. | |
| Network account | An account serviced by the node’s transaction builder through a note-script allowlist, with no signing key. | Network |
| Network note | A note carrying a NetworkAccountTarget attachment, so the node can route it to a network account. | Notes |
| FEE_SPONSORSHIP | The note that carries a feature note’s consumption fee and is consumed with it. | Fees |
| P2ID | The pay-to-id note script used for output notes. | Notes |
| FPI | Foreign procedure invocation. A call from one account’s procedure into another account’s procedure. | Cross-component calls |
| Slippage | The difference between a quoted output and the accepted minimum. | |
| Deadline | A block timestamp after which a note reverts. | |
MAX_AMOUNT | The u64 cap 2^57 on every reserve, amount, and lp_supply. | |
MINIMUM_LIQUIDITY | The 1000 LP tokens locked permanently on the first mint. | |
| Oracle | The two cumulative price accumulators and the last update timestamp. | |
| Collect | The operation that moves a protocol pot or a registry balance to the protocol account. |