Ref Finance Introduce Parallel Swap

The Parallel Swap is an algorithm to optimize a swap of two tokens. For a given swap-in amount of Token A, the algorithm maximizes the swap-out value of Token B, taking into account the liquidity and swap fees of the various A-B liquidity pools.

For example, if someone wants to swap 10 Token A for Token B, and that there are 5 A-B equally distributed liquidity pools, it is expected that the swap transaction will contain 5 swap actions, taking advantage of all liquidity and ultimately creating a win-win situation:

Finally, Ref Finance has been working in collaboration with Giddy and Dave, creators of the Parallel Swap algorithm and winning team of the OpenDeFi Hackathon.

ABOUT Ref Finance
Ref Finance is a community driven DEFI project on NEAR Protocol. It has several components, such as an AMM swap called Ref Exchange, a general-purpose farming component called Ref Farming which supports liquidity farming, and other components which are currently under development.

RESOURCES
Medium

Nhận xét