#saber #anchor #solana

continuation-router

Atomically routes a swap between multiple pools

8 stable releases

1.1.2 Apr 17, 2022
1.1.1 Mar 15, 2022
1.0.11 Feb 1, 2022
1.0.7 Dec 31, 2021

#17 in #saber

29 downloads per month
Used in add-decimals

AGPL-3.0

31KB
651 lines

continuation-router

Atomically routes a swap between multiple pools.

License

The Saber Periphery contracts are licensed under the Affero GPL License, Version 3.0.


lib.rs:

Atomically routes a swap between multiple pools.

To use this, create a transaction consisting of the following instructions:

  1. A [Begin] instruction
  2. Action instructions
  3. An [End] instruction

Dependencies

~20–30MB
~507K SLoC