File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11import { call , multiCall } from "@defillama/sdk/build/abi/abi2" ;
2- import adapter from "./emissions" ;
32import abi from "./abi" ;
43import { findBlockHeightArray } from "../../utils/chainCalls" ;
54import { PromisePool } from "@supercharge/promise-pool" ;
@@ -18,7 +17,6 @@ interface ExtendedChainData extends TimeSeriesChainData {
1817}
1918
2019const ONE_ETHER = BigInt ( "1000000000000000000" ) ;
21- const WEEK = 7 * 24 * 60 * 60 ;
2220const RPL_TOKEN = "0xD33526068D116cE69F19A9ee46F0bd304F21A51f" ;
2321const ROCKET_STORAGE = "0x1d8f8f00cfa6758d7be78336684788fb0ee0fa46" ;
2422const INFLATION_SETTINGS_KEY = "0x36b7eef85823b64ca08056c771cf2b8dd4f9f4491b3adfa282c1d3dd7b847af8" ;
@@ -92,7 +90,7 @@ function calculateEmissions(
9290export async function latest ( reference : number ) : Promise < number > {
9391 let r ;
9492 try {
95- r = await fetch ( `https://api.llama.fi/emission/rocketpool ` ) . then ( ( r ) =>
93+ r = await fetch ( `https://api.llama.fi/emission/rocket-pool ` ) . then ( ( r ) =>
9694 r . json ( ) ,
9795 ) ;
9896 } catch {
@@ -220,4 +218,4 @@ export async function emission(timestamp: number, type?: "node" | "trusted" | "p
220218 return sections . filter ( ( _ , idx ) => idx % 3 === startIdx ) ;
221219 }
222220 return sections ;
223- }
221+ }
You can’t perform that action at this time.
0 commit comments