LlamaSwap / interface

Frontend for LlamaSwap
https://swap.defillama.com
85 stars 77 forks source link

Update UniDex integration #185

Open supakawaiidesu opened 1 year ago

supakawaiidesu commented 1 year ago

UniDex adapter for the aggregator which is a wrapper around the CowSwap API for mainnet and ourMetaAggregator API for other chains.

For Llamaswap, the CowSwap and UniDex API are the same, so we can plug in a similar integration but use UniDex for other chains to make trades while accessing our keeper/solver network.

The order flow is the same as for CowSwap, but the solver mechanism differs. Orders are more like RFQ + market makers, but falling back on existing aggregators llama already supports. Solvers can execute orders between chains through their own market-making, leading to better fills as more orders are placed from any integrated platform.

vercel[bot] commented 1 year ago

@supakawaiidesu is attempting to deploy a commit to the llamapay Team on Vercel.

A member of the Team first needs to authorize it.

cch1985 commented 7 months ago

wen