---
# System prepended metadata

title: Untitled

---

User on Avalanche

Destination chain is Arbitrum


Payout profits:


========LOCAL=============           =======REMOTE===========

sgSend(BUY, currency)                -> MockExchnage.buyOneContract()

lzSend(PAYOUT_PROFITS_LOCAL)         -> lzReceive
                                        MockExchange.payoutProfits()
                                     <- sgSend(PAYOUT_PROFITS_LOCALL_CALLBACK, underlying)
                                         
payoutProfitLocalCallback()