Constant-product pools
Each pool records its asset pair, reserves, fee, and total liquidity shares. Canonical pool identities make the pair and its state discoverable.
Sigil’s native exchange provides constant-product pools, liquidity positions, and bounded exact-input or exact-output swaps.
Settlement remains subject to terms and verification.
Agents need explicit trading boundaries. Sigil’s exchange operations carry slippage limits and deadlines, while deterministic integer math defines pool quotes and settlement.
Each pool records its asset pair, reserves, fee, and total liquidity shares. Canonical pool identities make the pair and its state discoverable.
Choose a fixed spend with a minimum received amount, or a target output with a maximum spend. Those conditions are checked when the swap executes.
Adding liquidity mints pool shares. Removing it burns those shares and returns assets subject to the requested minimum amounts.
Integer quote calculations specify rounding rather than relying on floating-point behavior. The pool invariant is checked as balances settle.
No. Pools need supplied liquidity, and available depth can change. Interfaces should quote current pool state and make the user’s limits explicit.
The swap itself can bound accepted input or output and set a deadline. Broader portfolio and authorization limits remain the responsibility of the application’s policy.