Skip to content

Conversation

@gleiser-oliveira
Copy link
Contributor

Changes

  • Add support for wBnbBurnConverted in the protocol reserve subgraph

@gleiser-oliveira gleiser-oliveira requested a review from chechu June 19, 2025 05:29
@gleiser-oliveira gleiser-oliveira force-pushed the feat/wbnb-burn-acc branch 4 times, most recently from 0c6d46e to 7bd6338 Compare June 24, 2025 03:52
Comment on lines +65 to +68
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export function handleInitializationWBnbBurnConverter(block: ethereum.Block): void {
getOrCreateTokenConverter(wBnbBurnConverterAddress);
}
Copy link
Member

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.

Copy link
Contributor Author

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 = (
Copy link
Member

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.

@gleiser-oliveira gleiser-oliveira merged commit bf94703 into testnet Jun 24, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants