Skip to content

Commit

Permalink
Merge pull request #527 from paraswap/feat/BACK-1325-baseswap
Browse files Browse the repository at this point in the history
Feat/back 1325 baseswap
  • Loading branch information
mwamedacen authored Oct 13, 2023
2 parents 567722b + bf79f1f commit b9746bb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paraswap/dex-lib",
"version": "2.37.7",
"version": "2.39.0",
"main": "build/index.js",
"types": "build/index.d.ts",
"repository": "https://github.com/paraswap/paraswap-dex-lib",
Expand Down
23 changes: 23 additions & 0 deletions src/dex/uniswap-v2/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,20 @@ export const Adapters: {
},
],
},
[Network.BASE]: {
[SwapSide.SELL]: [
{
name: 'BaseAdapter01',
index: 6,
},
],
[SwapSide.BUY]: [
{
name: 'BaseBuyAdapter',
index: 4,
},
],
},
};

export const UniswapV2Config: DexConfigMap<DexParams> = {
Expand Down Expand Up @@ -696,4 +710,13 @@ export const UniswapV2Config: DexConfigMap<DexParams> = {
feeCode: 30,
},
},
BaseSwap: {
[Network.BASE]: {
factoryAddress: '0xFDa619b6d20975be80A10332cD39b9a4b0FAa8BB',
initCode:
'0xb618a2730fae167f5f8ac7bd659dd8436d571872655bcb6fd11f2158c8a64a3b',
poolGasCost: 90 * 1000,
feeCode: 25,
},
},
};

0 comments on commit b9746bb

Please sign in to comment.