Skip to content

Commit

Permalink
XXX support Mumbai WETH
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed Sep 27, 2023
1 parent 2dc61d0 commit e93f278
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ export function resolveToken(token: string, chainId: number): ERC20 {
throw new Error(`Token ${token} on chain ID ${chainId} unrecognised`);
}

if (symbol === "WETH" && chainId === 80001) {
_token.addresses[chainId] = "0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa";
}

return {
address: _token.addresses[chainId],
decimals: _token.decimals,
Expand Down

0 comments on commit e93f278

Please sign in to comment.