Comment on page
The simplest form of composing Stargate
StargateComposer is a wrapper contract used to add additional functionality to Stargate Composed calls. Now contracts that want to compose Stargate will need to call
swapvia the StargateComposer contract instead of the Stargate Router. The new StargateComposer adds the
msg.senderinto the payload so the destination
sgReceivecan now identify the source address that initiated the swap via the
Composing Stargate will revert on source if not using the StargateComposer.
StargateComposed deployed as a wrapper on both source and destination chains