/nitro-sushixswap-v2

SushiXSwap V2

Primary LanguageSolidityGNU General Public License v3.0GPL-3.0

SushiXSwapV2 Foundry

This repository contains the core smart contracts for SushiXSwapV2.

In-depth documentation is available at docs.sushi.com. [Coming Soon]

Background

SushiXSwapV2 is a cross-chain enabled protocol that utilizes general message passing through adapters to perform swaps across supported networks. Routing and swap logic is handled with the integration of Sushi's RouteProcessor contract, and additional cross-chain functionality can be implemented through payload-executors.

Setup

Install

First, initialize with:

make init

Make a copy of .env.sample to .env and for tests set the MAINNET_RPC_URL.

Test

To run tests:

make test

Deployments

Network SushiXSwapV2 StargateAdapter AxelarAdapter
Ethereum

0x804b526e5bf4349819fe2db65349d0825870f8ee

0xbF3B71decBCEFABB3210B9D8f18eC22e0556f5F0

0x5AbEdAc449A8301467c3e124B98e7151641F1e56

BSC

0x804b526e5bf4349819fe2db65349d0825870f8ee

0x454714482cA38fBBcE7fC76D96Ba1CE2028A4fF6

0x580ED43F3BBa06555785C81c2957efCCa71f7483

Avalanche

0x804b526e5bf4349819fe2db65349d0825870f8ee

0x454714482cA38fBBcE7fC76D96Ba1CE2028A4fF6

0x580ED43F3BBa06555785C81c2957efCCa71f7483

Polygon

0x804b526e5bf4349819fe2db65349d0825870f8ee

0xFF51a7C624Eb866917102707F3dA8bFb99Db8692

0xA62eC622DbA415Aa94110739B1f951B1202Cf322

Arbitrum

0x804b526e5bf4349819fe2db65349d0825870f8ee

0x2ABf469074dc0b54d793850807E6eb5Faf2625b1

0x078047150F8efa223B3d407f00E462e38f4B1b9C

Optimism

0x804b526e5bf4349819fe2db65349d0825870f8ee

0x454714482cA38fBBcE7fC76D96Ba1CE2028A4fF6

0x580ED43F3BBa06555785C81c2957efCCa71f7483

Base

0x804b526e5bf4349819fe2db65349d0825870f8ee

0xbF3B71decBCEFABB3210B9D8f18eC22e0556f5F0

0x5AbEdAc449A8301467c3e124B98e7151641F1e56

Fantom

0x804b526e5bF4349819fe2Db65349d0825870F8Ee

0x2ABf469074dc0b54d793850807E6eb5Faf2625b1

0x078047150F8efa223B3d407f00E462e38f4B1b9C

Linea

0x804b526e5bF4349819fe2Db65349d0825870F8Ee

0x454714482cA38fBBcE7fC76D96Ba1CE2028A4fF6

0x580ED43F3BBa06555785C81c2957efCCa71f7483

Kava

0xD5607d184b1D6ecbA94A07c217497FE9346010D9

0xDf1cfEc0DCF05bf647FbfbE12ea550Baa102E195

0xb620Fb60194D81547Df18F351b94236EecbE6Acf

Metis

0x804b526e5bF4349819fe2Db65349d0825870F8Ee

0xA62eC622DbA415Aa94110739B1f951B1202Cf322

License

GPL-3.0-or-later