Skip to content

Commit

Permalink
Merge pull request #341 from rabbitholegg/mmackz/add_blast_tokens_utils
Browse files Browse the repository at this point in the history
feat(utils): add blast tokens to default token list
  • Loading branch information
mmackz authored Apr 4, 2024
2 parents ed59215 + 6e8f8e0 commit bbb9f9c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/five-dolphins-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rabbitholegg/questdk-plugin-utils": minor
---

add blast tokens to CHAIN_TO_TOKENS
8 changes: 8 additions & 0 deletions packages/utils/src/constants/contract-addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ const zkSyncEraTokenAddresses: Address[] = [
ETH_ADDRESS, // ETH
'0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4', // USDC
'0x493257fD37EDB34451f62EDf8D2a0C418852bA4C', // USDT
'0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91', // WETH
]

const blastTokenAddresses: Address[] = [
ETH_ADDRESS, // ETH
'0x4300000000000000000000000000000000000003', // USDB
'0x4300000000000000000000000000000000000004', // WETH
]

export const CHAIN_TO_TOKENS: { [chainId: number]: Address[] | undefined } = {
Expand All @@ -78,6 +85,7 @@ export const CHAIN_TO_TOKENS: { [chainId: number]: Address[] | undefined } = {
[Chains.POLYGON_POS]: polygonTokenAddresses,
[Chains.BASE]: baseTokenAddresses,
[Chains.ZK_SYNC_ERA]: zkSyncEraTokenAddresses,
[Chains.BLAST]: blastTokenAddresses,
}

// Deployer Address. Can be used for simulations
Expand Down

0 comments on commit bbb9f9c

Please sign in to comment.