Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

AAA / BBB

One constant-product pair, x*y=k, 30 bps to the liquidity providers. Logic lives in p/moul/x/pair/v0; this realm is the instance.

Empty. The first AddLiquidity sets the price.

Approve this realm's address on the token you are selling, then call Swap.