mirror of
https://github.com/lux-amm/v3-periphery.git
synced 2026-10-30 20:55:54 +00:00
6 lines
156 B
TypeScript
6 lines
156 B
TypeScript
import { BigNumber } from 'ethers'
|
|
|
|
export function expandTo18Decimals(n: number): BigNumber {
|
|
return BigNumber.from(n).mul(BigNumber.from(10).pow(18))
|
|
}
|