Skip to content

Commit

Permalink
Merge pull request #39 from dhedge/feat/easy-swapper-base
Browse files Browse the repository at this point in the history
feat(Trading Widget): add EASY_SWAPPER_ADDRESS_BASE constant
  • Loading branch information
dimlbc authored Apr 2, 2024
2 parents a44f061 + bd082b5 commit 54c8cc5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/trading-widget/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhedge/trading-widget",
"version": "0.0.5",
"version": "0.0.6",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
2 changes: 2 additions & 0 deletions packages/trading-widget/src/core-kit/const/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
AAVE_LENDING_POOL_V3_ADDRESS_OPTIMISM,
AAVE_LENDING_POOL_V3_ADDRESS_POLYGON,
EASY_SWAPPER_ADDRESS_ARBITRUM,
EASY_SWAPPER_ADDRESS_BASE,
EASY_SWAPPER_ADDRESS_OPTIMISM,
EASY_SWAPPER_ADDRESS_POLYGON,
FACTORY_ADDRESS_ARBITRUM,
Expand Down Expand Up @@ -74,6 +75,7 @@ export const contractsAddressesMap: ContractsAddressesMap = {
factory: FACTORY_ADDRESS_BASE,
synthetixV3Core: SYNTHETIX_V3_CORE_ADDRESS_BASE,
flatcoinPointsModule: FLATCOIN_POINTS_MODULE_ADDRESS_BASE,
easySwapper: EASY_SWAPPER_ADDRESS_BASE,
},
}

Expand Down
2 changes: 2 additions & 0 deletions packages/trading-widget/src/core-kit/const/contracts/base.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
export const FACTORY_ADDRESS_BASE = '0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F'
export const SYNTHETIX_V3_CORE_ADDRESS_BASE =
'0x32C222A9A159782aFD7529c87FA34b96CA72C696'
export const EASY_SWAPPER_ADDRESS_BASE =
'0xE10Ed1E5354eEd0F7C9D2e16250ba8996C12db7A'

// TODO: add after deployment
export const FLATCOIN_POINTS_MODULE_ADDRESS_BASE =
Expand Down

0 comments on commit 54c8cc5

Please sign in to comment.