-
Notifications
You must be signed in to change notification settings - Fork 14
feat: add support for wBnbBurnConverter #257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
53b9530 to
7521c7e
Compare
0c6d46e to
7bd6338
Compare
| // eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
| export function handleInitializationWBnbBurnConverter(block: ethereum.Block): void { | ||
| getOrCreateTokenConverter(wBnbBurnConverterAddress); | ||
| } |
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.
nit: since block is unused, you shouldn't need to define it at all.
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.
The function signature needs to match the template exactly, so the parameter needs to be declared even if unused
| return event; | ||
| }; | ||
|
|
||
| export const createCreateConvertedEvent = ( |
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.
This looks like a duplicate of the createConvertedEvent function below.
7bd6338 to
8203895
Compare
Changes