Skip to content

Commit

Permalink
updated response on MNT token
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-anunciado committed Jul 21, 2023
1 parent a90c805 commit 9f8d546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tokens/mnt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const MNT_SUPPLY_ADDRESS = "https://www.mynth.ai/api/token-supply";
const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => {
const axios = getAxiosInstance(options);
const response = await axios.get(MNT_SUPPLY_ADDRESS);
const treasury = Number(response.data.current_supply) / 1e6;
const treasury = response.data.current_supply;

return {
circulating: treasury.toString(),
Expand Down

0 comments on commit 9f8d546

Please sign in to comment.