Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Add $Fren token info #208

Merged
merged 11 commits into from
Apr 23, 2024
Merged

Add $Fren token info #208

merged 11 commits into from
Apr 23, 2024

Conversation

adakondacoin
Copy link
Contributor

No description provided.

Copy link
Contributor

@TheTapHouse TheTapHouse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also import into index.ts


const frenFetcher: SupplyFetcher = async (options = defaultFetcherOptions) => {
const blockFrost = getBlockFrostInstance(options);
const total = 420_069_000_000n;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change const total = 420_069_000_000n; -> const total = 420_069_000_000;

test fails due to different types (TypeError: Cannot mix BigInt and other types, use explicit conversions)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the help.
What do I need to add in the index.ts in the dictionary<string, fetcher>?

???????????:frenFetcher

@adakondacoin
Copy link
Contributor Author

Hey, what's wrong now?

@TheTapHouse
Copy link
Contributor

npm run format updates index.ts to
fc11a9ef431f81b837736be5f53e4da29b9469c983d07f321262ce614652454e: frenFetcher,

without quotes around token unit

@adakondacoin
Copy link
Contributor Author

Updated, thanks for the info

@adakondacoin
Copy link
Contributor Author

Still not working

@shadowkora shadowkora merged commit 22b04ab into minswap:main Apr 23, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants