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 6e98547 commit 4208394Copy full SHA for 4208394
package.json
@@ -134,6 +134,5 @@
134
"last 1 safari version"
135
]
136
},
137
- "license": "GPL-3.0-or-later",
138
- "dependencies": {}
+ "license": "GPL-3.0-or-later"
139
}
src/utils/currencyId.ts
@@ -2,6 +2,7 @@ import { Currency } from '@alagunoff/uniswap-sdk-core'
2
3
export function currencyId(currency: Currency): string {
4
if (currency.isEther) return 'ETH'
5
+ if (currency.isPol) return 'POL'
6
if (currency.isToken) return currency.address
7
throw new Error('invalid currency')
8
0 commit comments