Nucleo AMM

Adding Liquidity

For this example, consider an ETH/USDC pool. A liquidity provider on Polygon who holds WETH and USDC wants to add liquidity to this pool.

  1. LP interacts with the Satellite Contract on Polygon to initiate an "add liquidity" action
  2. The Application Contract on Polygon transfers WETH+USDC tokens from the LP to its contract
  3. The Task Gateway receives the intent and forwards it to the Task Executors network
  4. Task Executors verify the action is valid and that the LP has supplied correct parameters and amounts of ETH and USDC
  5. If valid, the executors update their shared AMM state with the new LP position, and send back the results to the Task Gateway
  6. The Task Gateway aggregates the execution results and sends a response to the Satellite Contract on Polygon
  7. The Application Contract on Polygon mints a new LP token for the LP representing their position

On this page

No Headings