import { utils , BigNumber as BN } from "ethers" ; notice export const ratioScale = BN . from ( 10 ) . pow ( 8 ) ; export const fullScale = BN . from ( 10 ) . pow ( 18 ) ; export const DEFAULT_DECIMALS = 18 ; export const DEAD_ADDRESS = "0x0000000000000000000000000000000000000001" ; export const ZERO_ADDRESS = "0x0000000000000000000000000000000000000000" ; export const ZERO_KEY = "0x0000000000000000000000000000000000000000000000000000000000000000" ; export const MAX_UINT256 = BN . from ( 2 ) . pow ( 256 ) . sub ( 1 ) ; export const MAX_INT128 = BN . from ( 2 ) . pow ( 127 ) . sub ( 1 ) ; export const MIN_INT128 = BN . from ( 2 ) . pow ( 127 ) . mul ( - 1 ) ; export const ZERO = BN . from ( 0 ) ; export const ONE_MIN = BN . from ( 60 ) ; export const TEN_MINS = BN . from ( 60 * 10 ) ; export const ONE_HOUR = BN . from ( 60 * 60 ) ; export const ONE_DAY = BN . from ( 60 * 60 * 24 ) ; export const FIVE_DAYS = BN . from ( 60 * 60 * 24 * 5 ) ; export const TEN_DAYS = BN . from ( 60 * 60 * 24 * 10 ) ; export const ONE_WEEK = BN . from ( 60 * 60 * 24 * 7 ) ; export const ONE_YEAR = BN . from ( 60 * 60 * 24 * 365 ) ; export const KEY_SAVINGS_MANAGER = utils . keccak256 ( utils . toUtf8Bytes ( "SavingsManager" ) ) ; export const KEY_PROXY_ADMIN = utils . keccak256 ( utils . toUtf8Bytes ( "ProxyAdmin" ) ) ; export const KEY_LIQUIDATOR = utils . keccak256 ( utils . toUtf8Bytes ( "Liquidator" ) ) ;