-
Notifications
You must be signed in to change notification settings - Fork 132
Conversation
There was a problem hiding this 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
src/tokens/fren.ts
Outdated
|
||
const frenFetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { | ||
const blockFrost = getBlockFrostInstance(options); | ||
const total = 420_069_000_000n; |
There was a problem hiding this comment.
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
)
There was a problem hiding this comment.
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
Hey, what's wrong now? |
without quotes around token unit |
Updated, thanks for the info |
Still not working |
No description provided.