infrastructure-upgrade/lib/v3-periphery/test/shared/expandTo18Decimals.ts
T-Hax 735546619e
init
Signed-off-by: T-Hax <>
2023-04-08 18:46:18 +00:00

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))
}