Skip to content

Commit f8bf6ba

Browse files
authored
Merge branch 'master' into master
2 parents dec6eb9 + f06106b commit f8bf6ba

File tree

25 files changed

+3855
-6838
lines changed

25 files changed

+3855
-6838
lines changed

adapters/api3/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const chain: any = "ethereum";
1717
let res: number;
1818

1919
export async function latest(): Promise<number> {
20-
if (!res)
20+
if (!res!)
2121
return fetch(`https://api.llama.fi/emission/api3`)
2222
.then((r) => r.json())
2323
.then((r) => JSON.parse(r.body))

adapters/balance/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export async function latest(
1414
backfill: boolean = false
1515
): Promise<number> {
1616
if (backfill) return timestampDeployed
17-
if (!res) {
17+
if (!res!) {
1818
let r;
1919
try {
2020
r = await fetch(`https://api.llama.fi/emission/${adapter}`).then((r) =>

adapters/conic-finance/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { PromisePool } from "@supercharge/promise-pool";
77
let res: number;
88

99
export async function latest(): Promise<number> {
10-
if (!res)
10+
if (!res!)
1111
return fetch(`https://api.llama.fi/emission/conic-finance`)
1212
.then((r) => r.json())
1313
.then((r) => JSON.parse(r.body))

adapters/equilibria/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const contracts: { [chain: string]: any } = {
2323
let res: number;
2424

2525
export async function latest(key: string, backfill: boolean): Promise<number> {
26-
if (!res)
26+
if (!res!)
2727
return fetch(`https://api.llama.fi/emission/${key}`)
2828
.then((r) => r.json())
2929
.then((r) => {

no-emissions/incentives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ export const protocolsIncentives:string[] = [
4646
"parent#ramses-exchange", //ramses
4747
// "parent#spark", //spark is not correct #135
4848
"parent#blackhole", //blackhole
49-
"parent#uniswap"
49+
"parent#uniswap",
5050
"parent#etherex" //etherex
5151
]

0 commit comments

Comments
 (0)