Skip to content

the universal swapper interface to 1inch, Paraswap and 0x

Notifications You must be signed in to change notification settings

deFang/MegaSwapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MegaSwapper

the universal swapper interface to 1inch, Paraswap and 0x.

Usage

  1. query tx.data with the provider api
  2. call MegaSwapper.swap(address inToken, address outToken, uint256 inAmount, bool isParaswap, address recipient, address caller, bytes calldata txdata)

Examples

  1. 1inch -> test/05.VaultRelayer.1inch.test.js
  2. Paraswap -> test/06.VaultRelayer.paraswap.test.js
  3. 0x -> test/04.VaultRelayer.0x.test.js

About

the universal swapper interface to 1inch, Paraswap and 0x

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published