Wednesday, October 5, 2022

Pop quiz: currency swaps

Pop quiz

On Avalanche

$DAI.e -> $UST (yes, you read that correctly).

What's the best route? Or: which route(s)(zorxen) gets you the most $UST for 100 $DAI.e?

Bonus question

Set up a system that routes stable x to stable y on Avalanche and finds the best routing, regardless of what x and y are. ('weighted path')

Consider @traderjoe_xyz @pangolindex @CurveFinance as routes.

Consider $USDC, $USDC.e, $USDt, $UDST.e, $DAI.e for x and y

Inspiration

This quiz and bonus inspiration was from my reading of O'Reilly's "Graph Algorithms" which referred to using Minimum Spanning Trees (MST) in currency markets

No comments:

Post a Comment