Skip to content
This repository was archived by the owner on Feb 21, 2026. It is now read-only.

Add decodeSwapEvent and decodeLegacySwapEvent functions#3

Open
gasperbr wants to merge 1 commit intoEkuboProtocol:mainfrom
gasperbr:feature/decodeSwapEvent
Open

Add decodeSwapEvent and decodeLegacySwapEvent functions#3
gasperbr wants to merge 1 commit intoEkuboProtocol:mainfrom
gasperbr:feature/decodeSwapEvent

Conversation

@gasperbr
Copy link
Copy Markdown
Contributor

No description provided.

Comment on lines +107 to +108
const locker = `0x${lockerChunk.toLowerCase()}` as `0x${string}`;
const poolId = `0x${poolIdChunk}` as `0x${string}`;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nitpicking but can we just do like const locker: `0x${string}` = `0x${lockerChunk.toLowerCase()}`; and avoid as for type safety?

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.

2 participants