Nucleo AMM

Single Swap

For this example, consider an ETH/USDC pool. Swapper wants to sell ETH on Arbitrum for USDC on Solana.

  1. User interacts with the Satellite Contract on Arbitrum to initiate a "swap" action
  2. The Application Contract on Arbitrum transfers ETH from the user to the 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 correct parameters have been specified
  5. If valid, the executors update their shared AMM state, update the pool reserves, 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 Solana
  7. The Application Contract on Solana transfers USDC to the user's address

On this page

No Headings