Commit 74376ba
authored
fix: fix monad testnet bugs (#11353)
<!--
Before opening a pull request, please read the [contributing
guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md)
first
-->
<!-- start pr-codex -->
---
## PR-Codex overview
This PR adds support for the `MONAD_TESTNET` chain by introducing new
token definitions and updating existing configurations to include
related tokens.
### Detailed summary
- Added `MONAD_TESTNET` to
`packages/widgets-internal/components/CurrencyLogo/utils.ts`.
- Updated token addresses for `MONAD_TESTNET` in
`packages/multicall/src/constants/contracts.ts`.
- Changed token pairs for `MONAD_TESTNET` in
`apps/web/src/config/constants/exchange.ts`.
- Updated `USDC` token definition with a new address for `MONAD_TESTNET`
in `packages/tokens/src/constants/common.ts`.
- Added `USDT` token definition for `MONAD_TESTNET` in
`packages/tokens/src/constants/common.ts`.
- Included `usdt` and `wmon` in `monadTestnetTokens` in
`packages/tokens/src/constants/monadTestnet.ts`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`
<!-- end pr-codex -->1 parent 8ebb007 commit 74376ba
File tree
5 files changed
+23
-4
lines changed- apps/web/src/config/constants
- packages
- multicall/src/constants
- tokens/src/constants
- widgets-internal/components/CurrencyLogo
5 files changed
+23
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
| 370 | + | |
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
445 | 453 | | |
446 | 454 | | |
447 | 455 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
9 | 18 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments