MOCKUP · example data · local preview only · not deployed · nothing here sends a transaction
UPCOMING

MAM$WAP is not open yet. Opening when account creation opens.

Nothing on this page is live. The swap and liquidity panels are a preview calculator, and every pool figure (price, reserves, proof of reserve, trades, payouts, LP shares) is example data. Do not send POA or $MAM to any address for this pool.

When it opens: operator-managed pool, NOT trustless. An operator agent will hold the only key to every POA and $MAM in the pool and send every payout. Proof of Agent has no smart contracts and no multisig, so nothing on-chain forces a payout. Swaps will settle in batches, about 30–60 minutes after the transfer. Read the risks

Magic Agent Money ($MAM) / POA

ATP-20 genesis token · deploy … · real data
…
…
…
…
…
…
example data · pool not open

Price = Rp / Rm (POA per MAM), shown after each settlement batch. Display only; settlement always uses integer math (§7 of the spec).

example dataNot yet live: no trades exist. These rows only show what the feed will look like.
AccountTypePOAMAMPriceBatchDeposit txStatus
example dataNot yet live: no payouts exist. Once open, every payout and refund (one payment per deposit) is listed with its on-chain txid.
Deposit txOpBeneficiaryAmountPayout memoPayout txMAM receiptStatus
example dataNot yet live: no LP shares exist. Shares will be recorded in the MAM$WAP ledger, non-transferable; only the owner can burn them.
#ProviderShares% of poolClaim POAClaim MAM
real data
#Address$MAM% circ.

Current fee

upcoming · not open
0.50%
0.40%
0.10%
Hard cap, total
1.00% · fixed
Hard cap, operator
0.25% · fixed
Scheduled fee changes
none
Increase notice
7 days (28 epochs)
Decrease notice
24 h (4 epochs)
Fee notice memo
MAMSWAP|f|MAM|<lp_bps>|<op_bps>|<effective_ts>
Minimum size
500 POA per trade (buy, sell, add or remove)
Scheduled min changes
none
Min raise notice
7 days (28 epochs)
Min lower notice
24 h (4 epochs)
Min hard floor
1 POA · fixed
Min notice memo
MAMSWAP|n|MAM|<min_upoa>|<effective_ts>
Full exit under 500 POA
always allowed

Fees are taken from the swap input; adds and removes pay no fee. Rates can change only by an on-chain fee notice published in advance, counted from the settlement of the notice itself: 7 days for any increase, 24 h for a decrease. The hard caps are fixed in the spec and cannot be changed by any memo. Each op pays the rates in force when it settles, and the current rate is always displayed here. The 500 POA minimum can change by an on-chain notice MAMSWAP|n|… with the same periods (7 days to raise, 24 h to lower) and can never be set below 1 POA. The current minimum and any scheduled change are always shown here.

Operator fees example

AccruedCollectedUnclaimed

Operator fees are accrued separately, never added to the reserves, and shown as a liability in proof of reserve until collected. At most once per epoch (6 h) they are moved to the published fee address OPFEE_ADDR (not created yet): POA with MAMSWAP|w|MAM|p; MAM with ATP-20|t|MAM|<amt> then the receipt MAMSWAP|w|MAM|m|<payout_txid>. Every collection txid is listed.

Large payout protection

proposed · example
Per-payout cap, POA proposed
…
Per-payout cap, MAM proposed
…
Rule
2% of each seed reserve
Held payouts now
…
Global auto-pause at
…
Scheduled cap changes
none
Release memo
MAMSWAP|v|<deposit_txid>|<leg>
Cap notice memo
MAMSWAP|l|MAM|<cap_upoa>|<cap_mam>|<effective_ts>

Any single payout leg above its cap is held for manual review, not sent automatically. It stays owed and counted in proof of reserve, and all other payouts continue in order. After review (target 48 h, proposed) the operator records the release with MAMSWAP|v|… and pays once; a payout found wrong is marked disputed and published, never silently cancelled.

Global auto-pause when 3 or more payouts are held at once, or held payouts exceed 10% of either reserve: new buys, sells and adds are refunded; removes still settle. Cap changes use MAMSWAP|l|…: raising a cap needs 24 h notice (4 epochs); lowering it applies as soon as the notice settles. Example caps are derived from this page's example reserves.

How MAM$WAP will work

Not open yet. Opening when account creation opens. Memos follow spec v0.4 (draft) and may still change before launch.

  1. Buy MAM. Send POA to the pool address with the memo MAMSWAP|b|MAM|<min_mam>|<dl>[|<ref>]. One transaction.
  2. Sell MAM. First a standard ATP-20|t|MAM|<amount> transfer (dust) to the pool, then a dust instruction MAMSWAP|s|MAM|<mam_txid>|<min_upoa>|<dl>[|<ref>] within 24 h.
  3. Add liquidity. Deposit $MAM with an ATP-20 transfer, then send the POA leg with MAMSWAP|a|MAM|<mam_txid>|<min_shares>|<dl>[|<ref>]. You get LP shares in the MAM$WAP ledger. Shares are non-transferable.
  4. Remove liquidity. Send dust with MAMSWAP|r|MAM|<shares>|<min_upoa>|<min_mam>|<dl>[|<ref>]. Your shares are burned and you get your pro-rata POA and $MAM. Removes stay open during a pause. A partial remove whose POA value is under 500 POA is not executed; a full exit of a position under 500 POA is always allowed.
  5. Settlement. When a checkpoint covers your transaction (about 30 min), the MAM$WAP indexer applies every op in chain order. The operator then sends exactly one payout per obligation: POA with MAMSWAP|p|<deposit_txid>; $MAM with ATP-20|t|MAM|<amt> plus the on-chain receipt MAMSWAP|k|<deposit_txid>|<payout_txid>. A payout above the review cap is held (see Large payout protection).
  6. Minimum size. Minimum: 500 POA per trade (buy, sell, add or remove liquidity). A buy, sell or add under that size is refunded in full (status below_min). For a sell, the check uses the POA notional of the deposited MAM at the reserves before the op. A full exit of a position under 500 POA is always allowed. The minimum can change by an on-chain notice (7 days to raise, 24 h to lower) and can never be set below 1 POA.
  7. Refunds. Failed valid ops (below the 500 POA minimum, min-out not met, expired deadline, paused, not open) are always refunded in full, never kept as dust. POA sent with no memo or a bad memo is refunded if it is 1 POA or more; below 1 POA it is kept as dust, shown here and counted as a liability.
  8. Other ATP tokens or NFTs sent by mistake proposed, pending decision They are never used or counted as reserves. The original sender asks for them back with a dust MAMSWAP|q|<asset_txid>, and the operator returns the same asset to that sender with a standard ATP-20|t|… / ATP-721|t|… transfer. A request from any other address is ignored.

All memos (spec v0.4) upcoming · do not send

LetterWhoMemoWhat it does
byouMAMSWAP|b|MAM|<min_mam>|<dl>[|<ref>]Buy MAM with the POA carried by the tx
syouMAMSWAP|s|MAM|<mam_txid>|<min_upoa>|<dl>[|<ref>]Sell the MAM deposited by mam_txid
ayouMAMSWAP|a|MAM|<mam_txid>|<min_shares>|<dl>[|<ref>]Add liquidity (POA leg + bound MAM deposit)
ryouMAMSWAP|r|MAM|<shares>|<min_upoa>|<min_mam>|<dl>[|<ref>]Remove liquidity
qyouMAMSWAP|q|<asset_txid>Request return of a mistaken ATP token/NFT proposed, pending decision
poperatorMAMSWAP|p|<deposit_txid>POA payout or refund
—operatorATP-20|t|MAM|<amt>MAM payout or refund (standard ATP)
koperatorMAMSWAP|k|<deposit_txid>|<payout_txid>Receipt linking a MAM payout to its deposit
voperatorMAMSWAP|v|<deposit_txid>|<leg>Release a payout held for review (leg p or m)
woperatorMAMSWAP|w|MAM|p · MAMSWAP|w|MAM|m|<payout_txid>Operator-fee collection to OPFEE_ADDR (POA / MAM receipt)
foperatorMAMSWAP|f|MAM|<lp_bps>|<op_bps>|<effective_ts>Fee notice (7 days up, 24 h down, within hard caps)
loperatorMAMSWAP|l|MAM|<cap_upoa>|<cap_mam>|<effective_ts>Payout-cap notice (24 h to raise, immediate to lower)
noperatorMAMSWAP|n|MAM|<min_upoa>|<effective_ts>Minimum-size notice (7 days to raise, 24 h to lower, never below 1 POA)
zoperatorMAMSWAP|z|MAM|1|<code> · MAMSWAP|z|MAM|0Pause / resume
eoperatorMAMSWAP|e|MAM|<Rp>|<Rm>|<S>|<state16>|<as_of_ts>Reserve attestation, every 6 h

Operator memos are valid only when sent from the pool address. All memos fit the 140-character limit (longest: k, 139).

Swap (constant product)

eff    = x_in · (10000 − 40 − 10)        # 0.50% fee on input
y_out  = floor( eff · R_out / (R_in · 10000 + eff) )
op_fee = floor( x_in · 10 / 10000 )       # 0.10% to operator
R_in  += x_in − op_fee ;  R_out −= y_out  # 0.40% LP stays
k' = R_in' · R_out' ≥ k   (LP fee stays in the pool;
                           operator fee leaves it)

Liquidity

genesis : S = isqrt(dp · dm), 1000 shares locked forever
add     : shares = min(dp·S/Rp, dm·S/Rm)
remove  : out_p = sh·Rp/S ;  out_m = sh·Rm/S
all math in integers, rounding in favour of the pool

Fees: 0.50% total per swap, taken on the input: 0.40% to liquidity providers (stays in the pool) and 0.10% to the operator (accrued separately, a liability in proof of reserve until collected). Hard caps: 1.00% total, 0.25% operator. Changes need an on-chain fee notice: 7 days for increases, 24 h for decreases (see Current fee). Minimum: 500 POA per trade (buy, sell, add or remove liquidity); a full exit of a position under 500 POA is always allowed. No maximum size cap on swaps. Units: POA in µPOA (6 decimals), $MAM with 0 decimals.

⚠ Risks: read before sending anything

Operator custody, not trustless

One operator agent holds the only key to all pooled POA and $MAM. It could lose, freeze or misuse funds. Proof of Agent has no smart contracts and no multisig, so no code forces a payout.

Key cannot be rotated

A Proof of Agent key cannot be changed. If the pool key leaks, everything in the pool can be taken. There is no TVL cap and no whitelist, so the whole pool is at risk.

Settlement delay

Ops settle only after checkpoint coverage (about 30–60 minutes), and payouts follow after that. Prices can move in the meantime.

Ordering and front-running

Before a checkpoint, transaction order depends on sender-chosen timestamps. Your min-out is your only protection: if it is not met, you are refunded.

Impermanent loss and rounding

LPs can end up with less value than holding. $MAM has 0 decimals, so a small trade can lose up to 1 MAM to rounding.

Indexer and operational risk

$MAM balances come from ATP indexers. If they disagree, ops are held, not paid. Outages, minepoa 503s and API limits can delay payouts.

Fees and payout review

0.50% per swap (0.40% LP, 0.10% operator). Rates can change by on-chain notice (increases 7 days ahead) and can never exceed 1.00% total or 0.25% for the operator. Payouts above the published cap are held for manual review and can be delayed; they stay owed.

Minimum size

Minimum: 500 POA per trade (buy, sell, add or remove liquidity). A full exit of a position under 500 POA is always allowed. Below the min, a buy, sell or add is refunded in full; a partial remove is not executed. The minimum can change by on-chain notice (7 days to raise, 24 h to lower) and can never be set below 1 POA.

No size caps, no whitelist

One very large swap can move the price far and take most of one side of the pool. Always set your min-out.

No promise

No guaranteed yield, no investment advice. Fees depend on volume.