diff --git a/fees/stride.ts b/fees/stride.ts index 23ddf870e5..8a0c88e180 100644 --- a/fees/stride.ts +++ b/fees/stride.ts @@ -10,13 +10,15 @@ interface DailyFeeResponse { } const chainOverrides: { [key: string]: string } = { - "terra": "terra2", + terra: "terra2", }; const fetch = (chain: string) => { return async (timestamp: number): Promise => { const overriddenChain = chainOverrides[chain] || chain; // Override if exists, else use original - const response: DailyFeeResponse = await httpGet(`https://edge.stride.zone/api/${overriddenChain}/stats/fees`); + const response: DailyFeeResponse = await httpGet( + `https://edge.stride.zone/api/${overriddenChain}/stats/fees` + ); return { timestamp: timestamp, @@ -26,7 +28,6 @@ const fetch = (chain: string) => { }; }; - const meta = { methodology: { Fees: "Fees are staking rewards earned by tokens staked with Stride. They are measured across Stride's LSD tokens' yields and converted to USD terms.", @@ -109,6 +110,18 @@ const adapter: Adapter = { start: 0, meta, }, + haqq: { + fetch: fetch("haqq"), + runAtCurrTime: true, + start: 0, + meta, + }, + band: { + fetch: fetch("band"), + runAtCurrTime: true, + start: 0, + meta, + }, }, }; diff --git a/helpers/getBlock.ts b/helpers/getBlock.ts index 1930191579..60667616d0 100644 --- a/helpers/getBlock.ts +++ b/helpers/getBlock.ts @@ -48,7 +48,8 @@ const blacklistedChains: string[] = [ "persistence", "sui", "neutron", - "terra2" + "terra2", + "dymension" ]; async function getBlock(timestamp: number, chain: Chain, chainBlocks = {} as ChainBlocks) {