@stake-dao/reader 0.2.16 → 0.2.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stake-dao/reader",
3
3
  "description": "",
4
- "version": "0.2.16",
4
+ "version": "0.2.17",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
7
7
  "type": "git",
@@ -9,7 +9,7 @@ import { type Call, multicall } from '../../utils.js'
9
9
  import { lockedAmountCallSideChain } from '../utils/index.js'
10
10
 
11
11
  import { type MultiChainCall, multichainMulticall } from '../../utils.js'
12
- import lockersMulticallAbi from '../abis/MulticallLockers.json' with { type: 'json' }
12
+ import lockersMulticallAbi from '../abis/MulticallLockers.json' assert { type: 'json' }
13
13
  import { getCherriesLeaderBoard } from '../utils/getCherriesLeaderBoard.js'
14
14
 
15
15
  import { extractFees, feeCalls } from '../utils/callsForLockers/feeCalls.js'
@@ -2,7 +2,7 @@ import { STRAT_FEES, angleStrats, contracts } from '@stake-dao/constants'
2
2
  import { chunk, uniq } from 'lodash-es'
3
3
  import { encodeAbiParameters, formatUnits, parseAbiParameters } from 'viem'
4
4
  import { mainnet } from 'viem/chains'
5
- import multicallAngleVaultsAbi from '../../abis/MulticallAngleVaults.json' with { type: 'json' }
5
+ import multicallAngleVaultsAbi from '../../abis/MulticallAngleVaults.json' assert { type: 'json' }
6
6
  import { batchAngleStrats } from '../../bytecodes/index.js'
7
7
  import { type Price, getPricesFromLlama } from '../../prices.js'
8
8
  import { batchJsonRpc, equalTlc, multicall } from '../../utils.js'
@@ -12,7 +12,7 @@ import { getBoost } from '../utils/boost.js'
12
12
  import decodeEtherscanFactoryEvent from '../utils/decodeEtherscanFactoryEvent.js'
13
13
  import { getAprBreakdown } from '../utils/getAprBreakdown.js'
14
14
  import { OneEther, Zero, concatBytecode } from '../utils/index.js'
15
- import multicallPendleStratsAbi from './abis/MulticallPendleStratsAbi.json' with { type: 'json' }
15
+ import multicallPendleStratsAbi from './abis/MulticallPendleStratsAbi.json' assert { type: 'json' }
16
16
  import { buildPendleStrategies } from './build.js'
17
17
  import getPendleApiData from './getPendleApiData.js'
18
18
  import pendlePoints from './pendlePoints.js'
@@ -4,7 +4,7 @@ import { encodeAbiParameters, parseAbiParameters } from 'viem'
4
4
  import { contracts } from '@stake-dao/constants'
5
5
  import { fetchYearnGauges } from '../../../bytecodes/index.js'
6
6
  import { batchJsonRpc, multicall } from '../../../utils.js'
7
- import multicallYearnStratsAbi from '../../utils/abis/MulticallYearnStratsAbi.json' with { type: 'json' }
7
+ import multicallYearnStratsAbi from '../../utils/abis/MulticallYearnStratsAbi.json' assert { type: 'json' }
8
8
  import { concatBytecode } from '../../utils/index.js'
9
9
  import { computeYearnApr } from './computeYearnApr.js'
10
10
 
@@ -4,7 +4,7 @@ import { formatEther, formatUnits } from 'viem'
4
4
  import { ONE_YEAR, yearnStrats } from '@stake-dao/constants'
5
5
  import { equalTlc, multicall } from '../../../utils.js'
6
6
  import { NEW_FACTORY_EXPLORER_EVENTS } from '../../curve/endpoints.js'
7
- import multicallYearnStratsAbi from '../../utils/abis/MulticallYearnStratsAbi.json' with { type: 'json' }
7
+ import multicallYearnStratsAbi from '../../utils/abis/MulticallYearnStratsAbi.json' assert { type: 'json' }
8
8
  import { getBoost } from '../../utils/boost.js'
9
9
  import { buildYearnStrategies } from '../build.js'
10
10
  import { computeYearnApr } from './computeYearnApr.js'