Synapse Adapter

Exploring the Synapse Adapter

Overview

The SynapseAdapter is a configurable mechanism that facilitates the "swap" action on both the Origin and Destination chains. In SynapseRouterV1, the Adapter only supports Synapse hosted pools. In future versions, additional Adapters will be configured to support aggregators on different chains. This will enable Any asset to Any asset bridging through the Synapse Bridge.

Function

The SynapseAdapter provides a custom wrapper around standard "swaps" from one token to another given certain parameters. The Adapter also exposes useful methods to get Quotes and the Swap Query struct. Additional methods provide views into the supported pools, tokens, and more.

Last updated