We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9557ff commit 7b662c8Copy full SHA for 7b662c8
libs/common-const/src/tokens.ts
@@ -595,7 +595,12 @@ const COW_TOKEN_SYMBOL = 'COW'
595
const COW_TOKEN_NAME = 'CoW Protocol Token'
596
const COW_TOKEN_DECIMALS = 18
597
598
-function getCowTokenForChain(chain: SupportedChainId, logoURI?: string): TokenWithLogo | null {
+const DEFAULT_LOGO_URI = cowprotocolTokenLogoUrl(
599
+ COW_CONTRACT_ADDRESS[SupportedChainId.MAINNET]!.toLowerCase(),
600
+ SupportedChainId.MAINNET,
601
+)
602
+
603
+function getCowTokenForChain(chain: SupportedChainId, logoURI: string = DEFAULT_LOGO_URI): TokenWithLogo | null {
604
const address = COW_CONTRACT_ADDRESS[chain]
605
606
if (!address) return null
0 commit comments