diff --git a/src/utils/price.ts b/src/utils/price.ts index 37cc8b2..f4bbd32 100644 --- a/src/utils/price.ts +++ b/src/utils/price.ts @@ -33,7 +33,11 @@ export function fetchVaultLatestData( new Multicall3Params(strategy.id, "lpToken0ToNativePrice()", "uint256"), new Multicall3Params(strategy.id, "lpToken1ToNativePrice()", "uint256"), new Multicall3Params(strategy.id, "ouptutToNativePrice()", "uint256", true), // not all strategies have this - new Multicall3Params(CHAINLINK_NATIVE_PRICE_FEED_ADDRESS, "latestRoundData()", "(uint80,int256,uint256,uint256,uint80)"), + new Multicall3Params( + CHAINLINK_NATIVE_PRICE_FEED_ADDRESS, + "latestRoundData()", + "(uint80,int256,uint256,uint256,uint80)", + ), ] const results = multicall(signatures) diff --git a/subgraph.template.yaml b/subgraph.template.yaml index 2f964d6..c2c2e00 100644 --- a/subgraph.template.yaml +++ b/subgraph.template.yaml @@ -78,11 +78,11 @@ dataSources: handler: handleGlobalStrategyPause - kind: ethereum/contract - name: ChainlinkClock + name: ChainLinkPriceFeed network: {{network}} source: address: "{{chainlinkNativePriceFeedAddress}}" - abi: ChainlinkClock + abi: ChainLinkPriceFeed startBlock: {{vaultFactoryStartBlock}} # same as BeefyCLVaultFactory mapping: kind: ethereum/events