Skip to content

Commit

Permalink
Merge branch 'main' into feat/add-current-supply-pactv2
Browse files Browse the repository at this point in the history
  • Loading branch information
Another-DevX authored Jun 26, 2024
2 parents 10792e0 + 428ea96 commit 6707012
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/api/src/controllers/v2/circulatingSupply.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const circulatingSupply = async (_req: Request, res: Response) => {
];
const topHoldersBalances = await Promise.all(topHolders.map(holder => pactV2.balanceOf(holder)));


const totalSupply = new BigNumber(100_000_000_000).multipliedBy(decimals);
let circulatingSupply = new BigNumber(totalSupply);
topHoldersBalances.forEach(balance => {
Expand Down

0 comments on commit 6707012

Please sign in to comment.