Skip to content

Commit

Permalink
fix: typos in documentation files (#1687)
Browse files Browse the repository at this point in the history
* Update index.ts

* Update index.ts
  • Loading branch information
kilavvy authored Feb 4, 2025
1 parent bd1967d commit 8f6e46d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/strategies/aks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type VotingResponse = {
total: string;
};

const MINIUM_VOTING_POWER = 0.01;
const MINIMUM_VOTING_POWER = 0.01;
const SMART_CHEF_URL =
'https://api.thegraph.com/subgraphs/name/akshaysoam8/smartchef';
const VOTING_API_URL = 'https://voting-api.pancakeswap.info/api/power';
Expand Down Expand Up @@ -88,7 +88,7 @@ export async function strategy(

return {
...accum,
[address]: total <= MINIUM_VOTING_POWER ? MINIUM_VOTING_POWER : total
[address]: total <= MINIMUM_VOTING_POWER ? MINIMUM_VOTING_POWER : total

Check failure on line 91 in src/strategies/aks/index.ts

View workflow job for this annotation

GitHub Actions / lint / Lint

Insert `⏎···········`
};
},
{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const GIVETH_SUBGRAPH_API =
const XDAI_BLOCKS_API =
'https://subgrapher.snapshot.org/subgraph/arbitrum/HTGgWawRHBKr6tDe6umPoVNkYDoUpBEsJSGtX6A7N8MG';

const CIRUCLATING_SUPPLY_API = 'https://circulating.giveth.io/token-supply';
const CIRCULATING_SUPPLY_API = 'https://circulating.giveth.io/token-supply';
// "supplyField" : "circulating",

const blockParams = {
Expand Down Expand Up @@ -77,7 +77,7 @@ export async function strategy(
);

const data = subgraphRequest(GIVETH_SUBGRAPH_API, params);
const supply = fetch(CIRUCLATING_SUPPLY_API, {
const supply = fetch(CIRCULATING_SUPPLY_API, {
method: 'GET',
headers: {
Accept: 'application/json',
Expand Down

0 comments on commit 8f6e46d

Please sign in to comment.