Skip to main content
Records are encrypted state objects. Their ciphertexts and commitments appear on chain. An authorized holder uses view material to decrypt their contents.

PositionNFT

Mint creates the record. Increase, decrease, and collect consume it and return a replacement. Burn consumes it without replacement. PositionNFT is a Leo record, not an ARC-721 token.

SwapComplianceRecord

Single-hop swap creates this investigator-owned record. It contains owner, swap_id, token_in, token_out, the full SwapRequest, caller, signer, and blinded_address.

MultiHopSwapComplianceRecord

Multi-hop swap creates this investigator-owned record. It contains owner, swap_id, the full SwapMultiHopRequest, caller, signer, and blinded_address.

MintComplianceRecord

Dynamic token records

The AMM accepts and returns dyn record values. The selected token program defines the concrete record schema. Plain ARC-20, wrapped credits, and wrapped ARC-22 assets can therefore use different source programs and amount types at the router boundary. Use the deployment contract registry to resolve the AMM token program, underlying record program, token field ID, decimals, and record amount type for each asset.