@rabbitholegg/questdk-plugin-mux
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.20 • Public • Published

Mux Protocol Plugin

Overview

MUX Protocol is the first decentralized perpetual aggregator. It aggregates liquidity from a few popular perp platforms, such as GMX and GAINS, on top of their own native product. The dapp is mainly on Arbitrum, but also available on other networks.

Features

  • Network Support: Arbitrum One
  • Aggregation Support: Will support trades routed through the native Mux router, as well as aggregation through gmx and gains

Limitations

  • When routing through GMX, the recipient parameter is not available in the inputs. Trades routed this way will treat recipient as if it was undefined.
  • Only DAI is allowed for trades routed through GAINS, so there is no tokenIn parameter in the inputs. If the rest of the inputs match, it should be implied that they used DAI.
  • There may be other ways a V1 GMX trade can be routed. From my own experience, it uses the same aggregator contract that gmx V2 trades are routed through, and uses the same function signatures.

Sample Transactions

Relevent Documentation

Readme

Keywords

none

Package Sidebar

Install

npm i @rabbitholegg/questdk-plugin-mux

Weekly Downloads

166

Version

1.0.0-alpha.20

License

ISC

Unpacked Size

18.9 MB

Total Files

97

Last publish

Collaborators

  • quazia
  • jamierabbithole
  • rhjim