Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"test:coverage": "jest --coverage"
},
"dependencies": {
"@aave-dao/aave-address-book": "^4.49.3",
"@aave-dao/aave-address-book": "^4.55.6",
"@aave/contract-helpers": "1.38.0",
"@aave/graphql": "0.12.0",
"@aave/math-utils": "1.38.0",
Expand Down
21 changes: 21 additions & 0 deletions src/components/transactions/Bridge/BridgeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,27 @@ const prodConfig: Config[] = [
},
],
},
{
sourceChainId: 143,
chainSelector: '8481857512324358265',
burnMintTokenPool: '0xA5AE05b71c3F170E12E7620Fdf7679721aec1EC8',
router: '0x33566fE5976AAa420F3d5C64996641Fc3858CaDB',
tokenOracle: '0x26cBccD96502D2EfDb612737bD6aECe19f65109c',
wrappedNativeOracle: '0x432AAcD32253B6683f6483fB0d3285bA0082EfDb',
feeTokens: [
{
name: 'Monad',
symbol: 'Mon',
decimals: 18,
address: constants.AddressZero, // Use zero address for network token ccip
chainId: 143,
extensions: {
isNative: true,
},
balance: '0',
},
],
},
];

const testnetConfig: Config[] = [
Expand Down
19 changes: 19 additions & 0 deletions src/ui-config/marketsConfig.tsx

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

market addition was needed to test monad->* chain ccip bridge modal, can probably done another way

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
AaveV3Mantle,
AaveV3MegaEth,
AaveV3Metis,
AaveV3Monad,
AaveV3Optimism,
AaveV3Plasma,
AaveV3Polygon,
Expand Down Expand Up @@ -109,6 +110,7 @@ export enum CustomMarket {
proto_megaeth_v3 = 'proto_megaeth_v3',
proto_mantle_v3 = 'proto_mantle_v3',
proto_xlayer_v3 = 'proto_xlayer_v3',
proto_monad_v3 = 'proto_monad_v3',
// v2
proto_mainnet = 'proto_mainnet',
proto_avalanche = 'proto_avalanche',
Expand Down Expand Up @@ -655,6 +657,23 @@ export const marketsData: {
WITHDRAW_SWITCH_ADAPTER: AaveV3BNB.WITHDRAW_SWAP_ADAPTER,
},
},
[CustomMarket.proto_monad_v3]: {
marketTitle: 'Monad',
market: CustomMarket.proto_monad_v3,
chainId: 143 as ChainId,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably add to the aave-helpers package

logo: '/icons/networks/monad.svg',
v3: true,
addresses: {
LENDING_POOL_ADDRESS_PROVIDER: AaveV3Monad.POOL_ADDRESSES_PROVIDER,
LENDING_POOL: AaveV3Monad.POOL,
WETH_GATEWAY: AaveV3Monad.WETH_GATEWAY,
WALLET_BALANCE_PROVIDER: AaveV3Monad.WALLET_BALANCE_PROVIDER,
UI_POOL_DATA_PROVIDER: AaveV3Monad.UI_POOL_DATA_PROVIDER,
UI_INCENTIVE_DATA_PROVIDER: AaveV3Monad.UI_INCENTIVE_DATA_PROVIDER,
GHO_TOKEN_ADDRESS: '0xfc421aD3C883Bf9E7C4f42dE845C4e4405799e73',
COLLECTOR: AaveV3Monad.COLLECTOR,
},
},
[CustomMarket.proto_scroll_v3]: {
marketTitle: 'Scroll',
market: CustomMarket.proto_scroll_v3,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"@gql.tada/internal" "^1.0.0"
graphql "^15.5.0 || ^16.0.0 || ^17.0.0"

"@aave-dao/aave-address-book@^4.49.3":
version "4.52.7"
resolved "https://registry.yarnpkg.com/@aave-dao/aave-address-book/-/aave-address-book-4.52.7.tgz#68420a4f174b19bde45c78ae4276f9534eba3dbb"
integrity sha512-c/jnD1ZkFOZ8M400Qq/9Zpu8z60AQNzfqyo4kEk8thtv/NU0xt9YZ9Nj22lvzhQp3AZFZJ9XQHxTVQY6A9TZkg==
"@aave-dao/aave-address-book@^4.55.6":
version "4.55.6"
resolved "https://registry.yarnpkg.com/@aave-dao/aave-address-book/-/aave-address-book-4.55.6.tgz#51588da8b744ee46c4ce1f8f6a28a4e2f58f3575"
integrity sha512-lBztyhRKKGSj1PGhV62WlchqtuOBm62CacCxCkfEsZ1pdb+nxK/JSTkl6Ger+A+slF4+zZl/uS2629B7inP3Yg==

"@aave/account@^0.2.0":
version "0.2.0"
Expand Down
Loading